diff --git a/src/app/settings/page.tsx b/src/app/settings/page.tsx index d475683..43269eb 100644 --- a/src/app/settings/page.tsx +++ b/src/app/settings/page.tsx @@ -1,5 +1,6 @@ "use client"; +import { useState } from "react"; import Link from "next/link"; import { useRouter } from "next/navigation"; import { useTheme } from "../ThemeProvider"; @@ -7,6 +8,7 @@ import { useTheme } from "../ThemeProvider"; export default function SettingsPage() { const router = useRouter(); const { theme, mode, setMode } = useTheme(); + const [themeOpen, setThemeOpen] = useState(false); const themeOptions = [ { value: "light", label: "Light" }, @@ -18,50 +20,74 @@ export default function SettingsPage() { return (
- +

Settings

- {/* Theme Mode */} -
-
Theme
-
- {themeOptions.map((opt) => ( - - ))} + {/* Notifications */} + +
+ 🔔 +
Notifications
+ + + + {/* Profile */} + +
+ 👤 +
Profile
+
+ + + + {/* Family */} + +
+ 👨‍👩‍👧 +
Family
+
+ + + + {/* Theme - Collapsible */} +
+ + + {themeOpen && ( +
+
+ {themeOptions.map((opt) => ( + + ))} +
+
+ )}
- {/* Links */} - -
Profile
-
- - - -
Notifications
-
- - - -
Family Members
-
- - -
+ {/* App Version */} +
App Version
Tia v1.0.0