import Link from "next/link"; import { ModeToggle } from "@/components/docs/theme-toggle"; import docuConfig from "@/docu.json"; import * as LucideIcons from "lucide-react"; // Import all icons export function Footer() { const { footer } = docuConfig; const { meta } = docuConfig; return ( ); } export function FooterButtons() { const { footer } = docuConfig; return ( <> {footer.social?.map((item) => { const IconComponent = (LucideIcons[item.iconName as keyof typeof LucideIcons] ?? LucideIcons["Globe"]) as unknown as React.FC<{ className?: string }>; return ( ); })} ); }