'use client' import { ExternalLink, Home as HomeIcon, Trophy } from 'lucide-react' import Link from 'next/link' import { usePathname } from 'next/navigation' import { FavoritesLink } from '@/components/ui/favorites-link' import { categories } from '@/lib/categories' import { getRoute } from '@/lib/routes' import { tools } from '@/lib/tools' interface AppSidebarProps { currentCategory?: string featuredCount?: number } /** * Application sidebar component with navigation links and categories * @param currentCategory - Currently selected category slug * @param featuredCount - Number of featured items to display * @returns JSX sidebar navigation component */ export function AppSidebar({ currentCategory, featuredCount = 0 }: AppSidebarProps) { const pathname = usePathname() const isHomePage = pathname === '/' return (