From 83834d165579fa2c5affd546202a8b5bc2b8e1fc Mon Sep 17 00:00:00 2001
From: zkldi <20380519+zkldi@users.noreply.github.com>
Date: Fri, 14 Oct 2022 19:38:39 +0100
Subject: [PATCH] feat: first rival outline
---
.../_game/_playtype/rivals/RivalsMainPage.tsx | 50 +++++++++++++++----
client/src/components/user/UGPTHeader.tsx | 2 +-
.../components/util/modal/UserSelectModal.tsx | 2 +-
3 files changed, 41 insertions(+), 13 deletions(-)
diff --git a/client/src/app/pages/dashboard/users/games/_game/_playtype/rivals/RivalsMainPage.tsx b/client/src/app/pages/dashboard/users/games/_game/_playtype/rivals/RivalsMainPage.tsx
index c805c0b5d..b16b2bed1 100644
--- a/client/src/app/pages/dashboard/users/games/_game/_playtype/rivals/RivalsMainPage.tsx
+++ b/client/src/app/pages/dashboard/users/games/_game/_playtype/rivals/RivalsMainPage.tsx
@@ -32,17 +32,25 @@ export default function RivalsMainPage({
-
-
- Rival Score Feed
+
+
+ Goals & Milestones
+
+
+
+ Compare
-
- Manage Rivals
+
+ Activity
-
+
- Pinned Charts
+ Manage Folders
+
+
+
+ Change Rivals
@@ -50,16 +58,36 @@ export default function RivalsMainPage({
+ activity
+
+
+
+
+ path="/dashboard/users/:userID/games/:game/:playtype/rivals/folders"
+ >
+ folders
+
+
+ path="/dashboard/users/:userID/games/:game/:playtype/rivals/targets"
+ >
+ goals milestones
+
+
+
+ compare
+
diff --git a/client/src/components/user/UGPTHeader.tsx b/client/src/components/user/UGPTHeader.tsx
index 145a97dfb..f17e8d29d 100644
--- a/client/src/components/user/UGPTHeader.tsx
+++ b/client/src/components/user/UGPTHeader.tsx
@@ -104,7 +104,7 @@ export function UGPTBottomNav({
Rivals
,
- Targets
+ Goals & Milestones
,
];
diff --git a/client/src/components/util/modal/UserSelectModal.tsx b/client/src/components/util/modal/UserSelectModal.tsx
index 311484f6c..c1783fddb 100644
--- a/client/src/components/util/modal/UserSelectModal.tsx
+++ b/client/src/components/util/modal/UserSelectModal.tsx
@@ -67,7 +67,7 @@ export default function UserSelectModal({
{user.username}
{excludeSet.includes(user.id) ? (
) : (