From 5a1842a7ae5cb7afdc3f5f771d95b15e38192c23 Mon Sep 17 00:00:00 2001 From: zramsay Date: Tue, 11 Mar 2025 12:29:16 -0400 Subject: [PATCH] fix views --- src/app/page.tsx | 10 ---------- src/components/AuthButton.tsx | 8 ++++---- src/components/Navigation.tsx | 31 ++++++++++++++++++++++--------- 3 files changed, 26 insertions(+), 23 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 3526723..3524a6d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -84,16 +84,6 @@ const Page: React.FC = (): React.ReactElement => { Document sightings of {APP_CONFIG.description} in {APP_CONFIG.location}

- {!isAuthenticated && status !== 'loading' && ( -
- - Sign in to get started - -
- )} {/* Render content based on authentication status */} diff --git a/src/components/AuthButton.tsx b/src/components/AuthButton.tsx index 0616079..af98417 100644 --- a/src/components/AuthButton.tsx +++ b/src/components/AuthButton.tsx @@ -26,16 +26,16 @@ const AuthButton = () => { if (session?.user) { return ( -
+
{session.user.image && ( {session.user.name )} -
- +
+ {session.user.name}