This commit is contained in:
2026-05-06 00:10:45 +08:00
parent 2e3eb4b8f8
commit 916a4f5ffc
19 changed files with 2431 additions and 723 deletions
-2
View File
@@ -6,7 +6,6 @@ import { usePathname } from "next/navigation";
type NavItem = {
href: string;
label: string;
meta: string;
};
export function AdminNav({ items }: { items: NavItem[] }) {
@@ -24,7 +23,6 @@ export function AdminNav({ items }: { items: NavItem[] }) {
className={`nav-link ${active ? "is-active" : ""}`}
>
<span className="nav-link__label">{item.label}</span>
<span className="nav-link__meta">{item.meta}</span>
</Link>
);
})}