From 2dfbc281852e7d9f442c84ca8d58391df7259292 Mon Sep 17 00:00:00 2001 From: martin-mfg <2026226+martin-mfg@users.noreply.github.com> Date: Fri, 14 Nov 2025 17:38:18 +0100 Subject: [PATCH] step 1: adapt layout and labels --- frontend/frontend/src/pages/Home/Home.js | 12 -------- .../frontend/src/pages/Home/stages/Login.js | 30 +++++++++---------- 2 files changed, 15 insertions(+), 27 deletions(-) diff --git a/frontend/frontend/src/pages/Home/Home.js b/frontend/frontend/src/pages/Home/Home.js index a71bfc5a..ee2e3c03 100644 --- a/frontend/frontend/src/pages/Home/Home.js +++ b/frontend/frontend/src/pages/Home/Home.js @@ -227,18 +227,6 @@ const HomeScreen = () => { ); } - if (!isAuthenticated) { - return ( -
-
-

- Please sign in to access this page -

-
-
- ); - } - return (
diff --git a/frontend/frontend/src/pages/Home/stages/Login.js b/frontend/frontend/src/pages/Home/stages/Login.js index 4d4782f8..d33991a0 100644 --- a/frontend/frontend/src/pages/Home/stages/Login.js +++ b/frontend/frontend/src/pages/Home/stages/Login.js @@ -57,14 +57,14 @@ const LoginStage = ({ setCurrItem }) => {

{privateAccess ? 'You have granted access to both public and private repositories.' - : 'You have granted access to public repositories only.'} + : 'You have granted access to public repositories.'}

{/* Access Level Management Buttons */}
{privateAccess ? ( -
+
@@ -74,13 +74,13 @@ const LoginStage = ({ setCurrItem }) => { -

+

Switch to public access if you prefer not to share private repository data.

) : ( -
+
-

+

Upgrade to include contributions from your private repositories for more complete stats.

@@ -97,15 +97,15 @@ const LoginStage = ({ setCurrItem }) => {
{/* Logout Button */} -
+
-

- Sign out from your GitHub account. +

+ Log out from your GitHub account.

@@ -121,7 +121,7 @@ const LoginStage = ({ setCurrItem }) => {

-
+
-

+

Generate stats based on your public repositories.

-
+
-

+

Includes contributions in your private repositories for more complete and accurate stats.

-
+
-

+

Try out Github Trends with data from an example user/repository.