add custom image model, fetch alt text

This commit is contained in:
2024-05-15 04:42:42 +02:00
parent 5540040ea2
commit 71b0a87180
26 changed files with 358 additions and 132 deletions

View File

@ -48,7 +48,7 @@ export default async function Page({ params }: { params: { slug: string } }) {
{venue.featuredImage && (
<Image
src={venue.featuredImage.url}
alt=""
alt={venue.featuredImage.alt}
width={venue.featuredImage.width}
height={venue.featuredImage.height}
sizes="100vw"