From cdc736b4823a3dda97f2b49c04b8ef7321e7a254 Mon Sep 17 00:00:00 2001 From: l3wdfut4pwr Date: Thu, 19 Mar 2026 16:03:55 +0200 Subject: add settings page --- src/components/settings/ProfilePage.tsx | 84 ++++++++++++++++++++++++++++++++ src/components/settings/SecurityPage.tsx | 60 +++++++++++++++++++++++ src/components/settings/SettingsMenu.tsx | 43 ++++++++++++++++ 3 files changed, 187 insertions(+) create mode 100644 src/components/settings/ProfilePage.tsx create mode 100644 src/components/settings/SecurityPage.tsx create mode 100644 src/components/settings/SettingsMenu.tsx (limited to 'src/components/settings') diff --git a/src/components/settings/ProfilePage.tsx b/src/components/settings/ProfilePage.tsx new file mode 100644 index 0000000..60ff41f --- /dev/null +++ b/src/components/settings/ProfilePage.tsx @@ -0,0 +1,84 @@ +import { InputField } from '@/components/ui/inputfield'; +import { Input } from '@/components/ui/input'; +import { Button } from '@/components/ui'; +import { Separator } from '@/components/ui'; + +const gradients = [ + 'linear-gradient(89.91deg, #8784C9 0%, #464199 99.92%)', + 'linear-gradient(284.32deg, #FFAFBD 20.33%, #DAE2F8 79.67%)', + 'linear-gradient(267.9deg, #473B7B 0%, #30D2BE 100%)', + 'linear-gradient(88.87deg, #C33764 0%, #1D2671 100%)', + 'linear-gradient(267.9deg, #134E5E 0%, #71B280 100%)', + 'linear-gradient(87.9deg, #423AA2 0%, #100626 100%)', + 'linear-gradient(87.9deg, #EDF3F6 0%, #D9EAF4 100%)', + 'linear-gradient(284.32deg, #212121 20.33%, #454545 79.67%)', + 'linear-gradient(88.87deg, #610000 0%, #190A05 100%)', + 'linear-gradient(87.9deg, #FFC500 0%, #C21500 100%)', + 'linear-gradient(270deg, #6A11CB 0%, #69A1FF 100%)', + 'linear-gradient(267.9deg, #182848 0%, #4B6CB7 100%)', +]; + +export default function ProfilePage() { + return ( +
+
+

НИКНЕЙМ

+ + +
+ +
+

+ ОБО МНЕ +

+
+ +

+ 250 +

+
+ +
+ +
+

+ АВАТАР +

+
+ + +
+
+ +
+

+ ТЕМА БАННЕРА +

+ +
+ {gradients.map((gradient, index) => ( +
+ ))} +
+
+ + +
+
+ +
+

+ БАННЕР +

+
+ + +
+
+
+ ); +} diff --git a/src/components/settings/SecurityPage.tsx b/src/components/settings/SecurityPage.tsx new file mode 100644 index 0000000..9d158dd --- /dev/null +++ b/src/components/settings/SecurityPage.tsx @@ -0,0 +1,60 @@ +import { InputField } from '@/components/ui/inputfield'; +import { Button } from '@/components/ui'; +import { Separator } from '@/components/ui'; +export default function SecurityPage() { + return ( + <> +
+
+
+

+ ЗАДАТЬ ПАРОЛЬ +

+
+ + + +
+ +
+ +
+

+ СМЕНА ПОЧТЫ +

+
+ + +
+ +
+ + +
+
+ + ); +} diff --git a/src/components/settings/SettingsMenu.tsx b/src/components/settings/SettingsMenu.tsx new file mode 100644 index 0000000..e5e1cf5 --- /dev/null +++ b/src/components/settings/SettingsMenu.tsx @@ -0,0 +1,43 @@ +'use client'; + +import { Button } from '@/components/ui'; + +export default function SettingsMenu({ + tab, + setTab, +}: { + tab: string; + setTab: (tab: string) => void; +}) { + return ( +
+ + + + + + + +
+ ); +} -- cgit v1.3-3-g829e