feat: add soundboard and admin sounds management pages with routing
This commit is contained in:
@@ -9,7 +9,7 @@ import {
|
||||
useSidebar,
|
||||
} from '@/components/ui/sidebar'
|
||||
import { useAuth } from '@/hooks/use-auth'
|
||||
import { Activity, Home, Users } from 'lucide-react'
|
||||
import { Activity, Home, Users, Volume2, Settings } from 'lucide-react'
|
||||
import { Link, useLocation } from 'react-router'
|
||||
import { NavUser } from './NavUser'
|
||||
|
||||
@@ -19,6 +19,11 @@ const navigationItems = [
|
||||
href: '/dashboard',
|
||||
icon: Home,
|
||||
},
|
||||
{
|
||||
title: 'Soundboard',
|
||||
href: '/soundboard',
|
||||
icon: Volume2,
|
||||
},
|
||||
{
|
||||
title: 'Activity',
|
||||
href: '/activity',
|
||||
@@ -32,6 +37,11 @@ const adminNavigationItems = [
|
||||
href: '/admin/users',
|
||||
icon: Users,
|
||||
},
|
||||
{
|
||||
title: 'Sounds',
|
||||
href: '/admin/sounds',
|
||||
icon: Settings,
|
||||
},
|
||||
]
|
||||
|
||||
export function AppSidebar() {
|
||||
|
||||
Reference in New Issue
Block a user