'use client';
import * as React from 'react';
import Link from 'next/link';
import { usePathname } from 'next/navigation';
import {
ChevronRight,
MousePointer2,
Palette,
Eye,
Languages,
Layers,
ChevronLeft,
X
} from 'lucide-react';
import { cn } from '@/lib/utils/cn';
import Logo from '@/components/Logo';
import { useSidebar } from './SidebarProvider';
import { Button } from '@/components/ui/Button';
interface NavItem {
title: string;
href: string;
icon: React.ElementType | React.ReactNode;
items?: { title: string; href: string }[];
}
interface NavGroup {
label: string;
items: NavItem[];
}
const PastelIcon = (props: any) => (
);
const UnitsIcon = (props: any) => (
);
const FigletIcon = (props: any) => (
);
const navigation: NavGroup[] = [
{
label: 'Toolkit',
items: [
{
title: 'Units Converter',
href: '/units',
icon: