"use client"

import { CategoryTable } from "./category-table"
import { SiteHeader } from "../site-header"

export default function Page() {
    return (
        <>
            <SiteHeader breadcrumbs={[{ label: "Home", href: "/" }, { label: "Categories", href: "/admin/categories" }]} />
            <div className="flex flex-1 flex-col">
                <div className="@container/main flex flex-1 flex-col gap-2">
                    <div className="flex flex-col gap-4 py-4 md:gap-6 md:py-6">
                        <h1 className="text-2xl font-bold px-6">分类管理</h1>
                        <CategoryTable />
                    </div>
                </div>
            </div>
        </>
    )
}