import React from "react"; import { Link } from "gatsby"; import { useConfigStore } from "../hooks/store"; import { Tooltip } from "antd"; import { Blocks, Settings, MessagesSquare } from "lucide-react"; import Icon from "./icons"; const navigation = [ // { name: "Build", href: "/build", icon: Blocks }, { name: "Playground", href: "/", icon: MessagesSquare }, ]; const classNames = (...classes: (string | undefined | boolean)[]) => { return classes.filter(Boolean).join(" "); }; type SidebarProps = { link: string; meta?: { title: string; description: string; }; isMobile: boolean; }; const Sidebar = ({ link, meta, isMobile }: SidebarProps) => { const { sidebar } = useConfigStore(); const { isExpanded } = sidebar; // Always show full sidebar in mobile view const showFull = isMobile || isExpanded; return (