"use client"
import Link from "next/link"
import { usePathname } from "next/navigation"
import { Home, User, Handshake } from "lucide-react"
import { useState } from "react"
import { MatchModal } from "@/components/match-modal"
export function BottomNav() {
const pathname = usePathname()
const [showMatch, setShowMatch] = useState(false)
// 在管理后台不显示底部导航
if (pathname.startsWith("/admin")) {
return null
}
return (
<>
{/* iOS风格底部导航 - 只有3个按钮,匹配在当前页面弹窗 */}
{/* 匹配弹窗 */}
setShowMatch(false)} />
>
)
}