Skip to content

Commit 0f8a32d

Browse files
committed
Disable lazy loading for bg images (waves)
1 parent 5dfe69d commit 0f8a32d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/Molecules/WaveSection/WaveSection.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ export default function WaveSection({ children }: WaveSpacerProps) {
3030

3131
const img =
3232
colorScheme === "dark" ? (
33-
<Image src={wavesDark} alt="Background" layout="fill" objectFit="cover" />
33+
<Image priority src={wavesDark} alt="Background" layout="fill" objectFit="cover" />
3434
) : (
35-
<Image src={wavesLight} alt="Background" layout="fill" objectFit="cover" />
35+
<Image priority src={wavesLight} alt="Background" layout="fill" objectFit="cover" />
3636
);
3737

3838
return (

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy