feat: add soundboard and admin sounds management pages with routing

This commit is contained in:
JSC
2025-07-03 21:26:01 +02:00
parent 05627c55c5
commit 0583ae2bb8
4 changed files with 632 additions and 1 deletions

View File

@@ -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() {