@@ -10,6 +10,8 @@ import technologyAnimation from "../src/animations/technologyAnimation/data.json
1010
1111import CallToAction from "../src/ui/CallToAction" ;
1212
13+ import { LazyLoadImage } from "react-lazy-load-image-component" ;
14+
1315const useStyles = makeStyles ( ( theme ) => ( {
1416 rowContainer : {
1517 paddingLeft : "5em" ,
@@ -74,7 +76,9 @@ export default function Revolution(props) {
7476 style = { { marginTop : "5em" } }
7577 >
7678 < Grid item lg >
77- < img
79+ < LazyLoadImage
80+ threshold = { 400 }
81+ age
7882 src = "/assets/vision.svg"
7983 alt = "Mountain through binoculars"
8084 style = { {
@@ -320,7 +324,8 @@ export default function Revolution(props) {
320324 </ Grid >
321325 </ Grid >
322326 < Grid item lg style = { { alignSelf : "center" } } >
323- < img
327+ < LazyLoadImage
328+ threshold = { 400 }
324329 src = "/assets/consultationIcon.svg"
325330 alt = "handshake"
326331 width = "100%"
@@ -386,7 +391,8 @@ export default function Revolution(props) {
386391 </ Grid >
387392 </ Grid >
388393 < Grid item lg style = { { alignSelf : "center" } } >
389- < img
394+ < LazyLoadImage
395+ threshold = { 400 }
390396 src = "/assets/mockupIcon.svg"
391397 alt = "basic website design outline"
392398 width = "100%"
@@ -453,7 +459,8 @@ export default function Revolution(props) {
453459 </ Grid >
454460 </ Grid >
455461 < Grid item lg style = { { alignSelf : "center" } } >
456- < img
462+ < LazyLoadImage
463+ threshold = { 400 }
457464 src = "/assets/reviewIcon.svg"
458465 alt = "magnifying glass"
459466 width = "100%"
@@ -510,7 +517,8 @@ export default function Revolution(props) {
510517 </ Grid >
511518 </ Grid >
512519 < Grid item lg style = { { alignSelf : "center" } } >
513- < img
520+ < LazyLoadImage
521+ threshold = { 400 }
514522 src = "/assets/designIcon.svg"
515523 alt = "paint brush leaving stroke of paint"
516524 width = "100%"
@@ -567,7 +575,8 @@ export default function Revolution(props) {
567575 </ Grid >
568576 </ Grid >
569577 < Grid item lg style = { { alignSelf : "center" } } >
570- < img
578+ < LazyLoadImage
579+ threshold = { 400 }
571580 src = "/assets/reviewIcon.svg"
572581 alt = "magnifying glass"
573582 width = "100%"
@@ -661,7 +670,8 @@ export default function Revolution(props) {
661670 </ Grid >
662671 </ Grid >
663672 < Grid item lg style = { { alignSelf : "center" } } >
664- < img
673+ < LazyLoadImage
674+ threshold = { 400 }
665675 src = "/assets/buildIcon.svg"
666676 alt = "building construction site"
667677 width = "100%"
@@ -728,7 +738,8 @@ export default function Revolution(props) {
728738 </ Grid >
729739 </ Grid >
730740 < Grid item lg style = { { alignSelf : "center" } } >
731- < img
741+ < LazyLoadImage
742+ threshold = { 400 }
732743 src = "/assets/launchIcon.svg"
733744 alt = "rocket"
734745 width = "100%"
@@ -794,7 +805,8 @@ export default function Revolution(props) {
794805 </ Grid >
795806 </ Grid >
796807 < Grid item lg style = { { alignSelf : "center" } } >
797- < img
808+ < LazyLoadImage
809+ threshold = { 400 }
798810 src = "/assets/maintainIcon.svg"
799811 alt = "wrench tightening bolts"
800812 width = "100%"
@@ -862,7 +874,8 @@ export default function Revolution(props) {
862874 </ Grid >
863875 </ Grid >
864876 < Grid item lg style = { { alignSelf : "center" } } >
865- < img
877+ < LazyLoadImage
878+ threshold = { 400 }
866879 src = "/assets/iterateIcon.svg"
867880 alt = "falling dominoes"
868881 width = "100%"
0 commit comments