feat: implement Account page and ThemeProvider; refactor App component and sidebar navigation
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user