Hide image filenames on listing detail page

This commit is contained in:
Tero Halla-aho 2025-12-07 00:15:14 +02:00
parent 23ab2b6e50
commit 53bd324fa6

View file

@ -163,9 +163,6 @@ export default async function ListingPage({ params }: ListingPageProps) {
<a href={img.url || ''} target="_blank" rel="noreferrer" style={{ display: 'block', cursor: 'zoom-in' }}>
<img src={img.url || ''} alt={img.altText ?? title} style={{ width: '100%', height: '200px', objectFit: 'cover' }} />
</a>
{img.altText ? (
<figcaption style={{ padding: '10px 12px', fontSize: 14, color: '#cbd5e1' }}>{img.altText}</figcaption>
) : null}
</figure>
))}
</div>