Skip to content

Commit

Permalink
remove lazy on header
Browse files Browse the repository at this point in the history
  • Loading branch information
radames committed Jun 23, 2021
1 parent 5218028 commit ed475c2
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions components_local/FeatureHeaderCenter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,29 @@
<picture>
<source
type="image/webp"
:data-srcset="`compressed/${headerData.featureImage}@0.5x.webp 110w,
:srcset="`compressed/${headerData.featureImage}@0.5x.webp 110w,
compressed/${headerData.featureImage}@0.25x.webp 552w,
compressed/${headerData.featureImage}@0.75x.webp 1651w,
compressed/${headerData.featureImage}.webp 2200w
`"
/>
<source
type="image/jpeg"
:data-srcset="`compressed/${headerData.featureImage}@0.5x.jpg 110w,
:srcset="`compressed/${headerData.featureImage}@0.5x.jpg 110w,
compressed/${headerData.featureImage}@0.25x.jpg 552w,
compressed/${headerData.featureImage}@0.75x.jpg 1651w,
compressed/${headerData.featureImage}.jpg 2200w
`"
/>

<img
loading="lazy"
class="w-100 db lazyload img-fluid"
:data-srcset="`compressed/${headerData.featureImage}@0.5x.jpg 110w,
class="w-100 db img-fluid"
:srcset="`compressed/${headerData.featureImage}@0.5x.jpg 110w,
compressed/${headerData.featureImage}@0.25x.jpg 552w,
compressed/${headerData.featureImage}@0.75x.jpg 1651w,
compressed/${headerData.featureImage}.jpg 2200w
`"
:data-src="`compressed/${headerData.featureImage}@0.75x.jpg`"
:src="`compressed/${headerData.featureImage}@0.75x.jpg`"
alt="A man gets visualized by a machine, Header image"
/>
</picture>
Expand Down

0 comments on commit ed475c2

Please sign in to comment.