Skip to content

Commit 481c16a

Browse files
authored
lazy load thumbnails (#1857)
1 parent b1d0037 commit 481c16a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/typegpu-docs/src/components/ExampleCard.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export function ExampleCard({ example }: { example: Example }) {
2020
src={example.thumbnails.large}
2121
alt={example.metadata.title}
2222
className='h-full w-full object-cover'
23+
loading='lazy'
2324
/>
2425
</picture>
2526
)

0 commit comments

Comments
 (0)