"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { motion } from "framer-motion"; import { Video, Image, Music, Sparkles, LayoutDashboard, CreditCard, Settings, } from "lucide-react"; import { cn } from "@/lib/utils"; const sidebarNavItems = [ { title: "Dashboard", items: [ { name: "Overview", href: "/dashboard", icon: LayoutDashboard }, ], }, { title: "Tools", items: [ { name: "Video to Frames", href: "/tools/video-frames", icon: Video }, { name: "Image Compression", href: "/tools/image-compress", icon: Image }, { name: "Audio Compression", href: "/tools/audio-compress", icon: Music }, ], }, { title: "AI Tools", items: [ { name: "AI Image", href: "/tools/ai-image", icon: Sparkles }, { name: "AI Audio", href: "/tools/ai-audio", icon: Sparkles }, ], }, { title: "Account", items: [ { name: "Pricing", href: "/pricing", icon: CreditCard }, { name: "Settings", href: "/settings", icon: Settings }, ], }, ]; interface SidebarProps { className?: string; } export function Sidebar({ className }: SidebarProps) { const pathname = usePathname(); return ( ); }