This commit is contained in:
parent
1457fb4920
commit
595ebbe7e6
2 changed files with 1 additions and 2 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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'],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue