import Link from 'next/link' import { buildArchivePhotoAlbumHref, type ArchivePhotoPublicItem, } from '@/lib/archivePhotoPublicCatalog' import { PUBLIC_FOCUS, PUBLIC_PATHS } from '@/lib/publicSite' import { cn } from '@/lib/utils' const PHOTO_LINK = cn('group block overflow-hidden rounded-[9px] lg:rounded-[10px]', PUBLIC_FOCUS) const PHOTO_IMAGE = 'photo-tone h-full w-full object-cover transition-transform duration-500 ease-out group-hover:scale-[1.025] motion-reduce:transition-none motion-reduce:group-hover:scale-100' const AlbumPhoto = ({ item, className }: { item: ArchivePhotoPublicItem; className: string }) => ( {/* eslint-disable-next-line @next/next/no-img-element -- private proxy path with on-demand headers */} {item.alt} ) const EmptyAlbum = () => (

O álbum está sendo preparado

Novos registros do trabalho na Bahia serão publicados em breve.

) /** * S47 — "Perto da Bahia" (design scene 01/02): two approved album photos plus * the red quote tile, all linking into the album's overlay (`?foto=`). The * section reads the same approved list as the album, so it can never show a * photo the album would not; with no approved photo it renders the approved * empty state instead of disappearing. */ export const CampaignPhotoSection = ({ items }: { items: ArchivePhotoPublicItem[] }) => { const [first, second] = items return (

Perto da Bahia

O mandato em fotos

Ver o álbum
{first ? (
{second ? ( ) : null}

Trabalho presente, memória viva.

) : ( )}
) }