Skip to content

Commit c0a4e73

Browse files
committed
Add lazyloazing to resource cards
1 parent 1b3a140 commit c0a4e73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/theme/Resources/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function Resources() {
3939
<div className="col col--4">
4040
<article className="article">
4141
<div className="article-wrapper">
42-
<img src={useBaseUrl('/img/redis-stars-podcast.jpg')} className="thumb" alt="Redis Stars Podcast" />
42+
<img src={useBaseUrl('/img/redis-stars-podcast.jpg')} className="thumb" loading="lazy" alt="Redis Stars Podcast" />
4343
<div className="article-body">
4444
<span className="type">Podcast</span>
4545
<h3 className="title">How Redis delivers 15M+ MyTeam11 users with over 25,000 ops per second</h3>
@@ -51,7 +51,7 @@ function Resources() {
5151
<div className="col col--4">
5252
<article className="article">
5353
<div className="article-wrapper">
54-
<img src={useBaseUrl('/img/redis-sample-app-architecture-diagram.jpg')} className="thumb" alt="Redis Enterprise Cloud sample app architecture diagram" />
54+
<img src={useBaseUrl('/img/redis-sample-app-architecture-diagram.jpg')} className="thumb" loading="lazy" alt="Redis Enterprise Cloud sample app architecture diagram" />
5555
<div className="article-body">
5656
<span className="type">Blog</span>
5757
<h3 className="title">Serverless development with AWS Lambda and Redis Enterprise Cloud</h3>
@@ -63,7 +63,7 @@ function Resources() {
6363
<div className="col col--4">
6464
<article className="article">
6565
<div className="article-wrapper">
66-
<img src={useBaseUrl('/img/redis-client-in-python-sample.jpg')} className="thumb" alt="Terminal screenshot of Python code" />
66+
<img src={useBaseUrl('/img/redis-client-in-python-sample.jpg')} className="thumb" loading="lazy" alt="Terminal screenshot of Python code" />
6767
<div className="article-body">
6868
<span className="type">Video</span>
6969
<h3 className="title">How to write a Redis client in Python, from scratch</h3>

0 commit comments

Comments
 (0)