'use client'; import { usePathname, useRouter } from 'next/navigation'; const NAV_ITEMS = [ { label: 'ไธŽๆˆ‘็›ธๅ…ณ', path: '/workspace', icon: '๐Ÿ“‹' }, { label: 'ไบงๅ“', path: '/products', icon: '๐Ÿ“ฆ' }, { label: '้กน็›ฎ', path: '/projects', icon: '๐Ÿ“' }, { label: '็‰ˆๆœฌ', path: '/versions', icon: '๐Ÿท๏ธ' }, ]; const ADMIN_ITEMS = [ { label: 'ๆˆๅ‘˜็ฎก็†', path: '/admin/members', icon: '๐Ÿ‘ฅ' }, ]; export function Sidebar() { const pathname = usePathname(); const router = useRouter(); const isActive = (path: string) => pathname.startsWith(path); return ( ); }