feat: implement Account page and ThemeProvider; refactor App component and sidebar navigation

This commit is contained in:
JSC
2025-06-29 22:01:13 +02:00
parent d0f8f13c86
commit e484251787
8 changed files with 755 additions and 231 deletions

View File

@@ -1,4 +1,3 @@
import { Button } from '@/components/ui/button'
import {
Sidebar,
SidebarContent,
@@ -7,10 +6,10 @@ import {
SidebarMenu,
SidebarMenuButton,
SidebarMenuItem,
useSidebar,
} from '@/components/ui/sidebar'
import { useSidebar } from '@/components/ui/sidebar'
import { useAuth } from '@/contexts/AuthContext'
import { Activity, Home, LogOut, Settings, Users } from 'lucide-react'
import { Activity, Home, Users } from 'lucide-react'
import { Link, useLocation } from 'react-router'
import { NavUser } from './NavUser'
@@ -25,11 +24,6 @@ const navigationItems = [
href: '/activity',
icon: Activity,
},
{
title: 'Settings',
href: '/settings',
icon: Settings,
},
]
const adminNavigationItems = [