"use client" import Link from "next/link" import { usePathname } from "next/navigation" import { Home, MessageCircle, User } from "lucide-react" import { useState } from "react" import { QRCodeModal } from "./modules/marketing/qr-code-modal" export function BottomNav() { const pathname = usePathname() const [showQRModal, setShowQRModal] = useState(false) if (pathname.startsWith("/documentation")) { return null } const navItems = [ { href: "/", icon: Home, label: "首页" }, { action: () => setShowQRModal(true), icon: MessageCircle, label: "派对群" }, { href: "/my", icon: User, label: "我的" }, ] return ( <> setShowQRModal(false)} /> ) }