Skip to content

Commit 02213fc

Browse files
committed
feat: 오프스크린 이미지 지연을 위한 lazy loading 적용
1 parent 4dae315 commit 02213fc

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

index.html

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
<script type="text/javascript" charset="UTF-8">
2424
cookieconsent.run({"notice_banner_type":"simple","consent_type":"express","palette":"light","language":"en","page_load_consent_levels":["strictly-necessary"],"notice_banner_reject_button_hide":false,"preferences_center_close_button_hide":false,"page_refresh_confirmation_buttons":false,"website_name":"Performance Course"});
2525
</script>
26-
2726
</head>
2827

2928
<body>
@@ -51,7 +50,7 @@
5150
<li class="menu-icon">
5251
<picture>
5352
<source srcset="images/menu_icon.webp" type="image/webp">
54-
<img src="images/menu_icon.png" alt="menu icon">
53+
<img src="images/menu_icon.png" alt="menu icon" loading="lazy">
5554
</picture>
5655
</li>
5756
</ul>
@@ -63,18 +62,17 @@
6362

6463
<picture>
6564
<source srcset="images/Hero_Desktop.webp" type="image/webp">
66-
<img class="desktop" src="images/Hero_Desktop.jpg">
65+
<img class="desktop" src="images/Hero_Desktop.jpg" loading="lazy">
6766
</picture>
6867
<picture>
6968
<source srcset="images/Hero_Mobile.webp" type="image/webp">
70-
<img class="mobile" src="images/Hero_Mobile.jpg">
69+
<img class="mobile" src="images/Hero_Mobile.jpg" loading="lazy">
7170
</picture>
7271
<picture>
7372
<source srcset="images/Hero_Tablet.webp" type="image/webp">
74-
<img class="tablet" src="images/Hero_Tablet.jpg">
73+
<img class="tablet" src="images/Hero_Tablet.jpg" loading="lazy">
7574
</picture>
7675

77-
7876
<div class="hero-content">
7977
<div class="container">
8078
<h1>Discover our line of VR Headsets</h1>
@@ -100,7 +98,7 @@ <h1>Best Sellers</h1>
10098
<div class="product-picture">
10199
<picture>
102100
<source srcset="images/vr1.webp" type="image/webp">
103-
<img src="images/vr1.jpg" alt="product: Penom Case">
101+
<img src="images/vr1.jpg" alt="product: Penom Case" loading="lazy">
104102
</picture>
105103
</div>
106104
<div class="product-info">
@@ -117,7 +115,7 @@ <h3 class="price">
117115
<div class="product-picture">
118116
<picture>
119117
<source srcset="images/vr2.webp" type="image/webp">
120-
<img src="images/vr2.jpg" alt="product: Noise Cancelling Headphone">
118+
<img src="images/vr2.jpg" alt="product: Noise Cancelling Headphone" loading="lazy">
121119
</picture>
122120
</div>
123121
<div class="product-info">
@@ -134,7 +132,7 @@ <h3 class="price">
134132
<div class="product-picture">
135133
<picture>
136134
<source srcset="images/vr3.webp" type="image/webp">
137-
<img src="images/vr3.jpg" alt="product: Canon Digital SLR EOS Rebel T6">
135+
<img src="images/vr3.jpg" alt="product: Canon Digital SLR EOS Rebel T6" loading="lazy">
138136
</picture>
139137
</div>
140138
<div class="product-info">
@@ -217,9 +215,7 @@ <h3>Newsletter Signup</h3>
217215
</div>
218216
</footer>
219217

220-
221-
<a href="#" id="open_preferences_center">Update cookies preferences</a>
222-
218+
<a href="#" id="open_preferences_center">Update cookies preferences</a>
223219

224220
<script type="text/javascript" src="/js/main.js"></script>
225221
<script type="text/javascript" src="/js/products.js"></script>

0 commit comments

Comments
 (0)