Skip to content

Commit

Permalink
implement lazy loading for images on landscape page
Browse files Browse the repository at this point in the history
Signed-off-by: Oyelola Victoria <[email protected]>
  • Loading branch information
VriaA committed Sep 10, 2024
1 parent ab68a98 commit f57b2e4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/sections/Landscape/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,21 +119,22 @@ const LandscapeGrid = () => {
<div className="Legend">
<span>Legend:</span>
<div className="Landscape">
<img alt="Full" src={passingMark} />
<img alt="Full" src={passingMark} loading="lazy" />
Fully Compatible
</div>
<div>
<img alt="Half" src={halfMark} />
<img alt="Half" src={halfMark} loading="lazy" />
Partially Compatible
</div>
<div>
<img alt="None" src={failingMark} />
<img alt="None" src={failingMark} loading="lazy" />
Incompatible
</div>
</div>
<div className="AboutLandscape">
<img src={landscape}
alt="Service Mesh Landscape"
loading="lazy"
/>
<div>
<p>The Layer5 Service Mesh Landscape is a community-curated collection of service mesh projects.
Expand Down

0 comments on commit f57b2e4

Please sign in to comment.