Skip to content

Commit

Permalink
Loading fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MeridjaNassim committed Apr 21, 2020
1 parent 33b1fd6 commit 9fe165f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions src/components/Mains/MainHome.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default function MainHome() {
rel="noopener noreferrer"
target="_blank"
>
<img src={wtm} alt="wtm-algiers"></img>
<img src={wtm} alt="wtm-algiers" loading="lazy"></img>
</a>
</div>
<div className="partner">
Expand All @@ -121,7 +121,7 @@ export default function MainHome() {
rel="noopener noreferrer"
target="_blank"
>
<img src={gdg} alt="gdg-algiers"></img>
<img src={gdg} alt="gdg-algiers" loading="lazy"></img>
</a>
</div>
</Partners>
Expand Down Expand Up @@ -149,6 +149,7 @@ export default function MainHome() {
src={incubator}
alt="enp incubator by djezzy"
width="50%"
loading="lazy"
></img>
</a>
</div>
Expand All @@ -158,7 +159,7 @@ export default function MainHome() {
rel="noopener noreferrer"
target="_blank"
>
<img src={sai} alt="school of ai"></img>
<img src={sai} alt="school of ai" loading="lazy"></img>
</a>
</div>
</Partners>
Expand All @@ -178,7 +179,7 @@ export default function MainHome() {
rel="noopener noreferrer"
target="_blank"
>
<img src={github} alt="github education"></img>
<img src={github} alt="github education" loading="lazy"></img>
</a>
</div>
<div className="partner">
Expand All @@ -187,7 +188,7 @@ export default function MainHome() {
rel="noopener noreferrer"
target="_blank"
>
<img src={techno} alt="techno" width="70%"></img>
<img src={techno} alt="techno" width="70%" loading="lazy"></img>
</a>
</div>
<div className="partner">
Expand All @@ -196,7 +197,7 @@ export default function MainHome() {
rel="noopener noreferrer"
target="_blank"
>
<img src={soc} alt="cgea"></img>
<img src={soc} alt="cgea" loading="lazy"></img>
</a>
</div>
</Partners>
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import theme from "../../constants/theme.json"
const Header = () => (
<StyledHeader>
<Link to="/">
<StyledLogo src={logo}></StyledLogo>{" "}
<StyledLogo src={logo} alt="logo"></StyledLogo>{" "}
</Link>
<h1
style={{
Expand Down

0 comments on commit 9fe165f

Please sign in to comment.