diff options
| author | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-03-19 16:03:55 +0200 |
|---|---|---|
| committer | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-03-19 16:03:55 +0200 |
| commit | cdc736b4823a3dda97f2b49c04b8ef7321e7a254 (patch) | |
| tree | 7834c10be8864477343f95b034ab1d2c357aa0a7 /src/app/settings/page.tsx | |
| parent | 293df20781b8f0ae6fcbabb1a33b3d1752e494c8 (diff) | |
add settings page
Diffstat (limited to 'src/app/settings/page.tsx')
| -rw-r--r-- | src/app/settings/page.tsx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/app/settings/page.tsx b/src/app/settings/page.tsx new file mode 100644 index 0000000..7237d57 --- /dev/null +++ b/src/app/settings/page.tsx @@ -0,0 +1,21 @@ +'use client'; + +import { useState } from 'react'; +import SettingsMenu from '@/components/settings/SettingsMenu'; +import SecurityPage from '@/components/settings/SecurityPage'; +import ProfilePage from '@/components/settings/ProfilePage'; + +export default function Settings() { + const [tab, setTab] = useState('profile'); + + return ( + <div className="flex flex-row gap-[250px] w-full max-w-[1500px] h-full"> + <SettingsMenu tab={tab} setTab={setTab} /> + + <div className="flex-1"> + {tab === 'profile' && <ProfilePage />} + {tab === 'security' && <SecurityPage />} + </div> + </div> + ); +} |
