add lazy loading

This commit is contained in:
Salam-vsem
2025-05-19 01:36:05 +03:00
parent ce1aafa810
commit 1fa7da7606

View File

@@ -16,7 +16,7 @@ const repeatedTexts =
repeatedTexts.map((text) => ( repeatedTexts.map((text) => (
<> <>
<h2>{text}</h2> <h2>{text}</h2>
<Image src={wideCrossIconSrc} alt="cross-icon" loading="eager" /> <Image src={wideCrossIconSrc} alt="cross-icon" loading="lazy" />
</> </>
)) ))
} }