"use client";
import React, { useState } from "react";
import Link from "next/link";
import { usePathname } from "next/navigation";
import { ShaderBackground } from "./ui/shader-background";
import { Sidebar, SidebarBody, SidebarLink } from "./ui/sidebar";
import {
Home,
Search,
History,
Settings,
Download,
Sparkles,
Menu
} from "lucide-react";
import { cn } from "@/lib/utils";
interface AppLayoutProps {
children: React.ReactNode;
showHero?: boolean;
}
export function AppLayout({ children, showHero = false }: AppLayoutProps) {
const [open, setOpen] = useState(false);
const pathname = usePathname();
const links = [
{
label: "Home",
href: "/",
icon: