Skip to content

Commit 6765d7f

Browse files
committed
add background color for better UX where the image delays loading
1 parent 71e1add commit 6765d7f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/components/HeroHeader/DesktopHero.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ export default function HeroHeader() {
1212
alt=""
1313
objectFit="cover"
1414
layout="fill"
15-
className="-z-10 fixed top-0 opacity-[0.85]"
16-
priority
15+
className="-z-10 fixed top-0 opacity-[0.85] bg-[#333333]"
1716
/>
1817
<div className="relative">
1918
<Navbar />

0 commit comments

Comments
 (0)