浏览代码

lazy load image

AykutSarac 2 年之前
父节点
当前提交
4d0386b32e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/containers/Home/index.tsx

+ 1 - 1
src/containers/Home/index.tsx

@@ -289,7 +289,7 @@ const SponsorSection = () => (
 const Footer = () => (
   <Styles.StyledFooter>
     <Styles.StyledFooterText>
-      © <img width="100" src="assets/icon.png" alt="icon" />
+      © <img width="100" src="assets/icon.png" alt="icon" loading="lazy" />
       {new Date().getFullYear()} - {pkg.version}
     </Styles.StyledFooterText>
     <Styles.StyledIconLinks>