Files
clienthub/src/app/admin/catalog/page.tsx
T
simone c29fab8975 feat: pagina Catalogo redesign Quiet Luxury — griglia servizi tokenizzata + footer conteggio
- ServiceTable: contenitore bg-card/shadow-card, header uppercase muted, righe hover:bg-muted/40, footer "Visualizzazione di N servizi"
- CatalogSearch: usa il primitivo SearchInput
- page: sottotitolo sezione
- tokenizza OptionSelect ed EditableCell (accent-primary) — erano rimasti con hex hardcoded

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-12 11:37:09 +02:00

23 lines
632 B
TypeScript

import { getAllServices, getCatalogFieldOptions } from "@/lib/admin-queries";
import { CatalogSearch } from "./CatalogSearch";
import { PageHeader } from "@/components/admin/PageHeader";
export const revalidate = 0;
export default async function CatalogPage() {
const [services, options] = await Promise.all([
getAllServices(),
getCatalogFieldOptions(),
]);
return (
<div className="space-y-6">
<PageHeader
title="Catalogo Servizi"
subtitle="Configura e gestisci le singole voci di servizio offerte"
/>
<CatalogSearch services={services} options={options} />
</div>
);
}