"use client"; import Image from "next/image"; import { usePathname } from "next/navigation"; import { useState } from "react"; import { Button } from "@/components/ui/button"; import { Menu } from "lucide-react"; const links = [ { icon: "/home-icon.png", label: "Home", path: "/" }, { icon: "/design-icon.png", label: "Design St.", path: "/design" } ]; export default function Sidebar() { const pathname = usePathname(); const [isMenuOpen, setIsMenuOpen] = useState(false); return (
{/* Mobile Menu */}
{/* Mobile Navigation Links: show only first two, centered */}
{links.slice(0, 2).map((link) => ( ))}
{/* Desktop Menu */}
{/* Desktop Navigation Links */} {links.map((link) => (
))}
); }