aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-28 03:24:26 +0900
committernsfisis <nsfisis@gmail.com>2024-07-28 03:24:26 +0900
commit90741e8336b4ffba090bf08c3b899992860e2d98 (patch)
tree1e1d296fe1c4f87fa5a12cd303282d6328c0a770 /frontend
parent5d970eeaf179f425c2c1577aad149a07056e2430 (diff)
downloadiosdc-japan-2024-albatross-90741e8336b4ffba090bf08c3b899992860e2d98.tar.gz
iosdc-japan-2024-albatross-90741e8336b4ffba090bf08c3b899992860e2d98.tar.zst
iosdc-japan-2024-albatross-90741e8336b4ffba090bf08c3b899992860e2d98.zip
feat(frontend): remove "team" section from dashboard
Diffstat (limited to 'frontend')
-rw-r--r--frontend/app/routes/dashboard.tsx13
1 files changed, 2 insertions, 11 deletions
diff --git a/frontend/app/routes/dashboard.tsx b/frontend/app/routes/dashboard.tsx
index 907a031..407dda6 100644
--- a/frontend/app/routes/dashboard.tsx
+++ b/frontend/app/routes/dashboard.tsx
@@ -12,8 +12,8 @@ export default function Dashboard() {
const user = useLoaderData<typeof loader>()!;
return (
- <div className="min-h-screen bg-gray-100 p-8">
- <div className="bg-white p-6 rounded shadow-md max-w-4xl mx-auto">
+ <div className="min-h-screen p-8">
+ <div className="p-6 rounded shadow-md max-w-4xl mx-auto">
<h1 className="text-3xl font-bold mb-4">
{user.username}{" "}
{user.isAdmin && <span className="text-red-500 text-lg">admin</span>}
@@ -24,15 +24,6 @@ export default function Dashboard() {
<li>Name: {user.displayName}</li>
</ul>
</div>
- <h2 className="text-2xl font-semibold mb-2">Team</h2>
- <div className="mb-6">
- <ul className="list-disc list-inside">
- <li>Name: {user.displayName}</li>
- <li>
- Members: {user.displayName} ({user.username})
- </li>
- </ul>
- </div>
<h2 className="text-2xl font-semibold mb-2">Game</h2>
<div>
<ul className="list-disc list-inside">