import { CategoriesManager } from "@/components/admin/categories/categories-manager"
import { TicketFormTemplatesManager } from "@/components/admin/fields/ticket-form-templates-manager"
import { AppShell } from "@/components/app-shell"
import { SiteHeader } from "@/components/site-header"

export const dynamic = "force-dynamic"

export default function AdminFieldsPage() {
  return (
    <AppShell
      header={
        <SiteHeader
          title="Categorias e formulários"
          lead="Administre categorias, subcategorias e templates utilizados para classificar tickets."
        />
      }
    >
      <div className="mx-auto w-full max-w-6xl space-y-8 px-6 lg:px-8">
        <CategoriesManager />
        <TicketFormTemplatesManager />
      </div>
    </AppShell>
  )
}
