import { contentPieceCatalogFacets, type ContentPiecePublicItem } from '@/lib/contentPieceCatalog' import { toContentPieceHomeItem } from '@/lib/contentPieceHomeSelection' import { ContentPieceHomeBoard } from './ContentPieceHomeBoard' /** * S39 — the home section advertising the Central de Conteúdos (artefato: cenas * 01–06). The page resolves the cached listing once and only renders this when * something is published (fail-closed, same kill switch as the footer link); * the lean projection keeps the search haystack out of the static HTML. * * S42 — the explore row's facets are derived here, before the projection, from * the same catalogue owner the catalogue page uses (the lean item keeps only * what the card renders). */ export const ContentPieceHomeSection = ({ items, }: { items: readonly ContentPiecePublicItem[] }) => { const facets = contentPieceCatalogFacets(items) return (
) }