From 718c489042bc166f40d5eca39f01ee2ed7f7cccd Mon Sep 17 00:00:00 2001 From: Nicholas Pease Date: Thu, 4 Apr 2024 21:56:23 +0000 Subject: [PATCH] Profile Page Mobile Ready --- frontend-next/src/app/user/[stub]/page.js | 10 +++++----- frontend-next/src/components/app/header.js | 3 ++- .../src/components/app/notifications/notifications.js | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/frontend-next/src/app/user/[stub]/page.js b/frontend-next/src/app/user/[stub]/page.js index b7f0d46..e21263c 100644 --- a/frontend-next/src/app/user/[stub]/page.js +++ b/frontend-next/src/app/user/[stub]/page.js @@ -91,14 +91,14 @@ function UserProfile({ params }) { return (
{isAuthenticated && ( -
+
{/* Left Side of Page */} -
+
{/* Header */}
{/* Main Page Section */} -
-
+
+
{!isEditing && (
-
+
{userRoomsArray}
diff --git a/frontend-next/src/components/app/header.js b/frontend-next/src/components/app/header.js index 49f7d2d..e5005df 100644 --- a/frontend-next/src/components/app/header.js +++ b/frontend-next/src/components/app/header.js @@ -86,7 +86,8 @@ export function Header({mainTab,chatRoomObj,user,}) {
- + +
diff --git a/frontend-next/src/components/app/notifications/notifications.js b/frontend-next/src/components/app/notifications/notifications.js index 08bfcaf..b6dc474 100644 --- a/frontend-next/src/components/app/notifications/notifications.js +++ b/frontend-next/src/components/app/notifications/notifications.js @@ -86,7 +86,7 @@ export function NotificationPanel({user}) {
- +
{isNotifications && notificationsMap} {!isNotifications &&