From 5a2bc118405ff40c5e3666b9c457f24be93131cd Mon Sep 17 00:00:00 2001 From: shay Date: Sun, 19 Apr 2026 21:51:30 -0400 Subject: [PATCH] feat(ui): enhance AuthButton styling and position for better UX. --- generator/frontend/src/App.tsx | 2 +- .../frontend/src/components/AuthButton.tsx | 25 +++++++++++++++---- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/generator/frontend/src/App.tsx b/generator/frontend/src/App.tsx index 72f01ec..0abaaff 100644 --- a/generator/frontend/src/App.tsx +++ b/generator/frontend/src/App.tsx @@ -204,7 +204,7 @@ export default function App() { return (
-
+
{step === 'search' && ( diff --git a/generator/frontend/src/components/AuthButton.tsx b/generator/frontend/src/components/AuthButton.tsx index be2fa91..a9a4ac5 100644 --- a/generator/frontend/src/components/AuthButton.tsx +++ b/generator/frontend/src/components/AuthButton.tsx @@ -4,16 +4,31 @@ import { signInUrl, signOut } from '../lib/auth' export function AuthButton({ me, onChange }: { me: Me; onChange: (m: Me) => void }) { if (!me.login) { return ( - + + Sign in with GitHub ) } return ( -
- {me.avatar_url && } - {me.login} -