From 028ea11c18ca8c960b8c6ae8594148b54962a0c7 Mon Sep 17 00:00:00 2001 From: AINDUSTRIES Date: Thu, 30 Jul 2026 00:55:44 +0200 Subject: [PATCH] Revamped settings ui --- app/components/settings.tsx | 86 ++++++++++++++++++++++++++++--------- 1 file changed, 65 insertions(+), 21 deletions(-) diff --git a/app/components/settings.tsx b/app/components/settings.tsx index e338d04..e72f86d 100644 --- a/app/components/settings.tsx +++ b/app/components/settings.tsx @@ -1,4 +1,15 @@ -import { Modal, Button, InputGroup, Input, TextField } from "@heroui/react"; +import { + Modal, + Button, + InputGroup, + Input, + TextField, + Form, + Fieldset, + Description, + Label, + Typography, +} from "@heroui/react"; import type { Dispatch, SetStateAction } from "react"; import { useAuth } from "~/hooks/auth"; @@ -9,43 +20,76 @@ export function Settings({ show: boolean; setShow: Dispatch>; }) { - const {user, loading, login, logout} = useAuth(); + const { user, loading, login, logout } = useAuth(); return (
{ setShow(false); return true; }} > - + { setShow(false); }} /> - - Account settings - - - Username - - +
+
+ + Account settings. + + + Update your profile information + either manually or from Steam.{" "} +
+ Change several settings concerning + some functionnalities of the app. +
+ + + + + + + + + + The URL must be a valid + image url. + + + + +
+ +
+ + +
+
+
- - - -