Add a blur image for the hero loading

This commit is contained in:
Jackson Harper 2023-10-25 13:35:06 +08:00
parent 0a2bb2d172
commit 5bb0786f56
2 changed files with 15 additions and 11 deletions

View file

@ -187,6 +187,7 @@ export function LandingSectionsContainer(
height: 'auto',
}}
priority
blurDataURL="/static/images/landing/landing-00-hero-blurred.png"
/>
</Box>
@ -209,17 +210,20 @@ export function LandingSectionsContainer(
)
})}
<VStack alignment="center" css={{
width: "100vw",
backgroundColor: "#fff",
paddingBottom: "40px",
marginTop: "40px",
borderTop: "1px solid var(--colors-omnivoreYellow)",
borderBottom: "1px solid var(--colors-omnivoreYellow)",
"@md": {
marginTop: 0,
}
}}>
<VStack
alignment="center"
css={{
width: '100vw',
backgroundColor: '#fff',
paddingBottom: '40px',
marginTop: '40px',
borderTop: '1px solid var(--colors-omnivoreYellow)',
borderBottom: '1px solid var(--colors-omnivoreYellow)',
'@md': {
marginTop: 0,
},
}}
>
{props.lang == 'en' && (
<Box
as="p"

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB