"use client"; import { clsx } from "clsx"; import Link from "next/link"; import { usePathname } from "next/navigation"; import React from "react"; import { cn } from "@/lib/utils"; export const siteUrlList = [ { name: "Home", header: "👋 Overview", url: "/", }, { name: "Service", header: "🎛️ Service", url: "/service", }, ]; export default function Nav() { const nowPath = usePathname(); return (
{siteUrlList.map((site, index) => (
{index !== 0 && (

/

)} {site.name}
))}
); }