1
0
Fork 0

feat: bacground image eager loading and smaller resolution

This commit is contained in:
Vojtěch Mareš 2022-12-09 13:49:41 +01:00
parent 2a0ef6b30b
commit 257343f840
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
2 changed files with 6 additions and 4 deletions

View file

@ -34,8 +34,9 @@ export function PrimaryFeatures() {
className="absolute top-1/2 left-1/2 max-w-none translate-x-[-44%] translate-y-[-42%]"
src={backgroundImage}
alt=""
width={2245}
height={1636}
width={1920}
height={1400}
loading="eager"
/>
<Container className="relative">
<div className="max-w-2xl md:mx-auto md:text-center xl:max-w-none">