From 1fe9dc9c9c4b064eb59f15a7ed2d6aa371e98094 Mon Sep 17 00:00:00 2001 From: Ryderjj89 Date: Sun, 14 Sep 2025 11:39:43 -0400 Subject: [PATCH] Fix critical UX issues: make verse stars always visible and clickable, fix mobile login button visibility --- frontend/src/App.tsx | 10 ++++++---- frontend/src/components/BibleReader.tsx | 16 ++++++++-------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 4636e5eb..87990f69 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -372,17 +372,18 @@ function App() { {/* Authentication Button */} {authAvailable && ( -
+
{user ? (
- + {user.name || user.email}
) : ( @@ -390,7 +391,8 @@ function App() { onClick={handleLogin} className="text-sm px-3 py-1 bg-blue-600 text-white rounded hover:bg-blue-700 transition-colors" > - Login + Login + 👤 )}
diff --git a/frontend/src/components/BibleReader.tsx b/frontend/src/components/BibleReader.tsx index 87b72651..5cd1248d 100644 --- a/frontend/src/components/BibleReader.tsx +++ b/frontend/src/components/BibleReader.tsx @@ -220,16 +220,20 @@ const BibleReader: React.FC = ({ book, chapter, onBack, format const verseText = verseMatch[2]; verses.push( -
+
+
+ {verseNumber} + {verseText} +
{/* Star button - only show for authenticated users */} {user && ( )} -
- {verseNumber} - {verseText} -
); } else if (line.startsWith('#')) { @@ -330,7 +330,7 @@ const BibleReader: React.FC = ({ book, chapter, onBack, format {user && (

- Hover over verses to see ★ and add them to your favorites + Click the ★ next to verses to add them to your favorites

)}