From 298a5831020a1ceb52be5643afe7164011aeeb65 Mon Sep 17 00:00:00 2001
From: Monstar <31903668+Monstarrrr@users.noreply.github.com>
Date: Sun, 22 Dec 2024 08:12:56 +0100
Subject: [PATCH] minor update
---
frontend/app/(routes)/profile/page.tsx | 111 ++++++++++++++-----------
frontend/app/layout.tsx | 17 +++-
frontend/store/slices/user.ts | 2 +-
3 files changed, 80 insertions(+), 50 deletions(-)
diff --git a/frontend/app/(routes)/profile/page.tsx b/frontend/app/(routes)/profile/page.tsx
index b474c0a..71267d3 100644
--- a/frontend/app/(routes)/profile/page.tsx
+++ b/frontend/app/(routes)/profile/page.tsx
@@ -178,51 +178,19 @@ export default function Profile() {
- Email:
+ Joined on:
+ |
+
+ (coming soon...)
+ |
+
+
+
+ Success:
+ |
+
+ Prototype tester (Joined during the v0.1 of Rebutify)
|
- {isEditingEmail ? (
-
-
- |
- ) : (
-
- {user.email}
-
- {editEmailSuccess}
- |
- )}
@@ -230,6 +198,55 @@ export default function Profile() {
Settings
+
+ Change email
+
+
+
+ {isEditingEmail ? (
+ <>
+
+ >
+ ) : (
+ <>
+ {user.email}
+
+ {editEmailSuccess}
+ >
+ )}
+
Change password
@@ -294,9 +311,9 @@ export default function Profile() {
styles={
!deleteAccSuccess
? {
- background: 'red',
- color: 'black',
- }
+ background: 'red',
+ color: 'black',
+ }
: {}
}
/>
diff --git a/frontend/app/layout.tsx b/frontend/app/layout.tsx
index 9b2f84e..62f07c1 100644
--- a/frontend/app/layout.tsx
+++ b/frontend/app/layout.tsx
@@ -61,7 +61,7 @@ export default function RootLayout({ children }: PropsType) {
padding: '12px 0',
}}
>
-
Rebutify, {new Date().getFullYear()}.
+
+
Privacy
-
+
+
+ Prototype (v0.1.0)
+
+