import { ImageIcon, SearchIcon } from 'lucide-react' import Link from 'next/link' import { ARCHIVE_PHOTO_ALBUM_PATH, type ArchivePhotoAlbumActiveFilter, } from '@/lib/archivePhotoPublicCatalog' import { ARCHIVE_PHOTO_PRIMARY_BUTTON } from './archivePhotoClasses' /** * C233 — the two honest empty states (artefato: cena 04): * (A) the album has no approved photo yet — the page exists and explains it, * never a 404 and never a fake sample; (B) the combination returned nothing — * the query and the filters in force, with the one way out. */ export const ArchivePhotoEmptyState = () => (

O álbum ainda está sendo preparado

Ainda não há fotos aprovadas para publicação. Quando houver registros disponíveis, eles aparecerão aqui.

) export const ArchivePhotoNoResults = ({ activeFilters, }: { activeFilters: readonly ArchivePhotoAlbumActiveFilter[] }) => { // C244 — the pessoa facet only names curated public figures recognized by the // facial layer: the empty state explains that origin instead of promising // "all photos of a name". const hasPersonFilter = activeFilters.some((filter) => filter.facet === 'pessoa') return (

Nada encontrado com esses filtros

{hasPersonFilter ? 'O filtro Pessoa pública considera apenas figuras reconhecidas com curadoria no acervo — nunca terceiros. Tente outra pessoa ou volte a ver todas as fotos aprovadas do álbum.' : 'Tente outro termo ou volte a ver todas as fotos aprovadas do álbum.'}

{activeFilters.length > 0 ? (
{activeFilters.map((filter) => ( {filter.facet === 'q' ? `Busca: “${filter.value}”` : filter.value} ))}
) : null} Limpar filtros
) }