From bb714e6fa240e9be18a5fe413df80ca5a2042e2a Mon Sep 17 00:00:00 2001 From: Matthias Puchstein Date: Thu, 17 Jul 2025 02:45:12 +0200 Subject: [PATCH] refined `ProfilePage` UI by improving spacing, aligning component structure, and reintroducing project information card for enriched profile context and presentation Signed-off-by: Matthias Puchstein --- src/pages/ProfilePage.tsx | 135 +++++++++++++++++++++++++------------- 1 file changed, 91 insertions(+), 44 deletions(-) diff --git a/src/pages/ProfilePage.tsx b/src/pages/ProfilePage.tsx index e239273..15ec990 100644 --- a/src/pages/ProfilePage.tsx +++ b/src/pages/ProfilePage.tsx @@ -13,57 +13,60 @@ const ProfilePage: React.FC = () => { return (
+ {/* Profile Card */}
- {/* Profile Picture */} + {/* Profile Picture */}
- {profileUser -
- - {/* User Information */} -
-

{profileUser ? profileUser.name : defaultName}

-

{profileUser ? profileUser.email : defaultEmail}

- -
-
-

{profileUser ? profileUser.dreamCount : defaultDreamCount}

-

Dreams

+ {profileUser
-
-

{profileUser ? profileUser.streakDays : defaultStreakDays}

-

Days Streak

-
-
+ {/* User Information */} +
+

{profileUser ? profileUser.name : defaultName}

+

{profileUser ? profileUser.email : defaultEmail}

+ +
+
+

{profileUser ? profileUser.dreamCount : defaultDreamCount}

+

Dreams

+
+
+

{profileUser ? profileUser.streakDays : defaultStreakDays}

+

Days Streak

+
+
+
+ + {/* Account Settings (moved back into profile card) */}

Account Settings

{ opacity: '0.9', boxShadow: 'inset 0 0 5px rgba(166, 77, 255, 0.5)' }}> - -
+ +
Privacy -
+ +
+
+
+ + + {/* Project Information Card */} +
+

Project Information

+
+
+

Gitea Link:

+ + https://gitea.puchstein.bayern/mpuchstein/REMind + +
+
+

Gruppenmitglieder:

+

Kim Anhäuser, Matthias Puchstein, Anya Zell

+
+
+

Modul:

+

Einführung in die Text und Medienanalyse bei Prof. Dr. Rettiner und Dr. phil. + Ripoll

+
+
+

Genutzte AI:

+

Perplexity, Junie, Veo, Imgen, Suno

+
-
- ); }; -export default ProfilePage; +export default ProfilePage; \ No newline at end of file