fix: unoptimized image
Some checks are pending
Deploy / deploy (push) Waiting to run

This commit is contained in:
Benno Tielen 2026-06-24 08:56:22 +02:00
parent 1457fb4920
commit 595ebbe7e6
2 changed files with 1 additions and 2 deletions

View file

@ -42,7 +42,7 @@ export default async function BlogPage({ params }: { params: Promise<{id: string
<Container> <Container>
<div> <div>
{ typeof url === "string" && { typeof url === "string" &&
<Image className={styles.image} src={url} width={1100} height={400} alt={""} unoptimized={true} /> <Image className={styles.image} src={url} width={1100} height={400} alt={""} unoptimized={false} />
} }
</div> </div>
</Container> </Container>

View file

@ -55,7 +55,6 @@ export const Banner = ({
fill fill
priority priority
sizes="100vw" sizes="100vw"
unoptimized
className={styles.backgroundImage} className={styles.backgroundImage}
style={{ style={{
objectFit: backgroundSizeToObjectFit[backgroundSize ?? 'cover'], objectFit: backgroundSizeToObjectFit[backgroundSize ?? 'cover'],