Skip to content

Commit 55e3646

Browse files
lazy loading
1 parent 4210f8c commit 55e3646

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/components/hero/Hero.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ const Hero = () => {
125125
alt="Infinite Scroll Feed Logo"
126126
width={192}
127127
height={192}
128+
loading="lazy"
128129
/>
129130
</div>
130131
</div>

src/components/partners/Partners.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const Partners = () => {
6565
className="w-full max-w-7xl bg-stone-100 text-stone-950 my-6 lg:my-8 overflow-hidden"
6666
ref={partnersRef}
6767
>
68-
<SectionHeader className="p-2 sm:p-3 lg:p-6">
68+
<SectionHeader className="p-3 sm:p-4 lg:p-8">
6969
Our Partners
7070
</SectionHeader>
7171
<div className="flex gap-6 lg:gap-10 pb-2 sm:pb-3 lg:pb-6 animate-scroll">
@@ -87,6 +87,7 @@ const Partners = () => {
8787
`Company ${index}`
8888
}
8989
className="object-contain h-full w-auto saturate-0"
90+
loading="lazy"
9091
/>
9192
</div>
9293
</div>

0 commit comments

Comments
 (0)