From 93591cbd75b8ce376c8ef8d70c7975bc1021de20 Mon Sep 17 00:00:00 2001 From: martin-mfg <2026226+martin-mfg@users.noreply.github.com> Date: Mon, 17 Nov 2025 11:11:49 +0100 Subject: [PATCH] step 1: adjust preview layout --- .../frontend/src/pages/Home/stages/Login.js | 55 ++++++++----------- 1 file changed, 22 insertions(+), 33 deletions(-) diff --git a/frontend/frontend/src/pages/Home/stages/Login.js b/frontend/frontend/src/pages/Home/stages/Login.js index 7008b2a4..19a6576e 100644 --- a/frontend/frontend/src/pages/Home/stages/Login.js +++ b/frontend/frontend/src/pages/Home/stages/Login.js @@ -28,41 +28,24 @@ const LoginStage = ({ setCurrItem }) => { // Card data const cards = [ { - title: 'GitHub Stats Card', - description: 'your overall GitHub statistics', - imageSrc: '?username=anuraghazra', - demoCustomization: '&include_all_commits=true', - cardType: 'stats', - }, - { - title: 'Top Languages Card', - description: 'your most frequently used languages', - imageSrc: '/top-langs?username=anuraghazra', - demoCustomization: '&langs_count=4', - cardType: 'top-langs', - }, - { - title: 'GitHub Extra Pin', - description: - 'pin more than 6 repositories in your profile using a GitHub profile readme', imageSrc: '/pin?repo=anuraghazra/github-readme-stats', demoCustomization: '', - cardType: 'pin', }, { - title: 'GitHub Gist Pin', - description: - 'pin gists in your GitHub profile using a GitHub profile readme', - imageSrc: '/gist?id=bbfce31e0217a3689c8d961a356cb10d', - demoCustomization: '', - cardType: 'gist', + imageSrc: '/top-langs?username=anuraghazra', + demoCustomization: '&langs_count=4', + }, + { + imageSrc: '?username=anuraghazra', + demoCustomization: '&include_all_commits=true', }, { - title: 'WakaTime Stats Card', - description: 'your coding activity from WakaTime', imageSrc: '/wakatime?username=ffflabs', demoCustomization: '&langs_count=6&card_width=450', - cardType: 'wakatime', + }, + { + imageSrc: '/gist?id=bbfce31e0217a3689c8d961a356cb10d', + demoCustomization: '', }, ]; @@ -248,22 +231,28 @@ const LoginStage = ({ setCurrItem }) => { // className="absolute" style={{ left: `${x}%`, - top: `${y}%`, + // top: `${y}%`, position: 'relative', + zoom: '0.5', + marginBottom: '1%', // transform: 'translate(-50%, -50%)', // width: '280px', }} > + {/*