|
@@ -6,9 +6,37 @@ import { Main } from '@/components/layout/main'
|
|
|
import { ProfileDropdown } from '@/components/profile-dropdown'
|
|
import { ProfileDropdown } from '@/components/profile-dropdown'
|
|
|
import { Search } from '@/components/search'
|
|
import { Search } from '@/components/search'
|
|
|
import { ThemeSwitch } from '@/components/theme-switch'
|
|
import { ThemeSwitch } from '@/components/theme-switch'
|
|
|
-import SidebarNav from './components/sidebar-nav'
|
|
|
|
|
|
|
+import { SidebarNav } from './components/sidebar-nav'
|
|
|
|
|
|
|
|
-export default function Settings() {
|
|
|
|
|
|
|
+const sidebarNavItems = [
|
|
|
|
|
+ {
|
|
|
|
|
+ title: 'Profile',
|
|
|
|
|
+ href: '/settings',
|
|
|
|
|
+ icon: <UserCog size={18} />,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: 'Account',
|
|
|
|
|
+ href: '/settings/account',
|
|
|
|
|
+ icon: <Wrench size={18} />,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: 'Appearance',
|
|
|
|
|
+ href: '/settings/appearance',
|
|
|
|
|
+ icon: <Palette size={18} />,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: 'Notifications',
|
|
|
|
|
+ href: '/settings/notifications',
|
|
|
|
|
+ icon: <Bell size={18} />,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: 'Display',
|
|
|
|
|
+ href: '/settings/display',
|
|
|
|
|
+ icon: <Monitor size={18} />,
|
|
|
|
|
+ },
|
|
|
|
|
+]
|
|
|
|
|
+
|
|
|
|
|
+export function Settings() {
|
|
|
return (
|
|
return (
|
|
|
<>
|
|
<>
|
|
|
{/* ===== Top Heading ===== */}
|
|
{/* ===== Top Heading ===== */}
|
|
@@ -42,31 +70,3 @@ export default function Settings() {
|
|
|
</>
|
|
</>
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-const sidebarNavItems = [
|
|
|
|
|
- {
|
|
|
|
|
- title: 'Profile',
|
|
|
|
|
- href: '/settings',
|
|
|
|
|
- icon: <UserCog size={18} />,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: 'Account',
|
|
|
|
|
- href: '/settings/account',
|
|
|
|
|
- icon: <Wrench size={18} />,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: 'Appearance',
|
|
|
|
|
- href: '/settings/appearance',
|
|
|
|
|
- icon: <Palette size={18} />,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: 'Notifications',
|
|
|
|
|
- href: '/settings/notifications',
|
|
|
|
|
- icon: <Bell size={18} />,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: 'Display',
|
|
|
|
|
- href: '/settings/display',
|
|
|
|
|
- icon: <Monitor size={18} />,
|
|
|
|
|
- },
|
|
|
|
|
-]
|
|
|