From 71daa949883ab54caa5ed87e7c7184add3a2724c Mon Sep 17 00:00:00 2001 From: GamerBoss101 Date: Sun, 13 Apr 2025 05:00:08 -0400 Subject: [PATCH] Moved Logout Button --- src/app/(app)/page.tsx | 10 ++-------- src/app/(app)/profile/page.tsx | 7 ++++++- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/app/(app)/page.tsx b/src/app/(app)/page.tsx index 577eff2..6db7566 100644 --- a/src/app/(app)/page.tsx +++ b/src/app/(app)/page.tsx @@ -15,13 +15,7 @@ function Mobile() {

{isAuthenticated ? `Welcome, ${session.username} !!` : ""}

- {isAuthenticated ? ( -
- -
- ) : ( + {!isAuthenticated ? (
- )} + ) : null} ); } diff --git a/src/app/(app)/profile/page.tsx b/src/app/(app)/profile/page.tsx index 98faeea..e80e7dd 100644 --- a/src/app/(app)/profile/page.tsx +++ b/src/app/(app)/profile/page.tsx @@ -44,7 +44,7 @@ function Mobile() { } return ( -
+

Hi, {username || ""}!! @@ -119,6 +119,11 @@ function Mobile() { Don't forget you have a 400mg caffeine limit and 30.5g sugar limit!

+
+ +
); }