Skip to content

Commit 9812214

Browse files
committed
lazy loading icons
1 parent 412cea3 commit 9812214

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/home/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const Footer = () => {
99
<div className=" dark:bg-dark-bg bg-white text-primary dark:text-white flex flex-wrap justify-around items-center border-t pt-6">
1010
<div className="flex flex-col mb-4 md:mb-0 md:w-auto ">
1111
<Link to="/" className="flex items-center space-x-2">
12-
<img src={logo} alt="Logo" className="h-8 w-auto" />
12+
<img src={logo} alt="Logo" className="h-8 w-auto" loading='lazy'/>
1313
<h1 className="text-lg font-bold font-lexend text-primary dark:text-green">
1414
PULSE
1515
</h1>

src/components/home/Header.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ const Header = () => {
5454
className="cursor-pointer mx-2 fill-[blue]"
5555
src={logo}
5656
style={{ fill: '#333' }}
57+
loading="lazy"
5758
/>
5859
) : (
5960
<img

0 commit comments

Comments
 (0)