@@ -10,6 +10,8 @@ import technologyAnimation from "../src/animations/technologyAnimation/data.json
10
10
11
11
import CallToAction from "../src/ui/CallToAction" ;
12
12
13
+ import { LazyLoadImage } from "react-lazy-load-image-component" ;
14
+
13
15
const useStyles = makeStyles ( ( theme ) => ( {
14
16
rowContainer : {
15
17
paddingLeft : "5em" ,
@@ -74,7 +76,9 @@ export default function Revolution(props) {
74
76
style = { { marginTop : "5em" } }
75
77
>
76
78
< Grid item lg >
77
- < img
79
+ < LazyLoadImage
80
+ threshold = { 400 }
81
+ age
78
82
src = "/assets/vision.svg"
79
83
alt = "Mountain through binoculars"
80
84
style = { {
@@ -320,7 +324,8 @@ export default function Revolution(props) {
320
324
</ Grid >
321
325
</ Grid >
322
326
< Grid item lg style = { { alignSelf : "center" } } >
323
- < img
327
+ < LazyLoadImage
328
+ threshold = { 400 }
324
329
src = "/assets/consultationIcon.svg"
325
330
alt = "handshake"
326
331
width = "100%"
@@ -386,7 +391,8 @@ export default function Revolution(props) {
386
391
</ Grid >
387
392
</ Grid >
388
393
< Grid item lg style = { { alignSelf : "center" } } >
389
- < img
394
+ < LazyLoadImage
395
+ threshold = { 400 }
390
396
src = "/assets/mockupIcon.svg"
391
397
alt = "basic website design outline"
392
398
width = "100%"
@@ -453,7 +459,8 @@ export default function Revolution(props) {
453
459
</ Grid >
454
460
</ Grid >
455
461
< Grid item lg style = { { alignSelf : "center" } } >
456
- < img
462
+ < LazyLoadImage
463
+ threshold = { 400 }
457
464
src = "/assets/reviewIcon.svg"
458
465
alt = "magnifying glass"
459
466
width = "100%"
@@ -510,7 +517,8 @@ export default function Revolution(props) {
510
517
</ Grid >
511
518
</ Grid >
512
519
< Grid item lg style = { { alignSelf : "center" } } >
513
- < img
520
+ < LazyLoadImage
521
+ threshold = { 400 }
514
522
src = "/assets/designIcon.svg"
515
523
alt = "paint brush leaving stroke of paint"
516
524
width = "100%"
@@ -567,7 +575,8 @@ export default function Revolution(props) {
567
575
</ Grid >
568
576
</ Grid >
569
577
< Grid item lg style = { { alignSelf : "center" } } >
570
- < img
578
+ < LazyLoadImage
579
+ threshold = { 400 }
571
580
src = "/assets/reviewIcon.svg"
572
581
alt = "magnifying glass"
573
582
width = "100%"
@@ -661,7 +670,8 @@ export default function Revolution(props) {
661
670
</ Grid >
662
671
</ Grid >
663
672
< Grid item lg style = { { alignSelf : "center" } } >
664
- < img
673
+ < LazyLoadImage
674
+ threshold = { 400 }
665
675
src = "/assets/buildIcon.svg"
666
676
alt = "building construction site"
667
677
width = "100%"
@@ -728,7 +738,8 @@ export default function Revolution(props) {
728
738
</ Grid >
729
739
</ Grid >
730
740
< Grid item lg style = { { alignSelf : "center" } } >
731
- < img
741
+ < LazyLoadImage
742
+ threshold = { 400 }
732
743
src = "/assets/launchIcon.svg"
733
744
alt = "rocket"
734
745
width = "100%"
@@ -794,7 +805,8 @@ export default function Revolution(props) {
794
805
</ Grid >
795
806
</ Grid >
796
807
< Grid item lg style = { { alignSelf : "center" } } >
797
- < img
808
+ < LazyLoadImage
809
+ threshold = { 400 }
798
810
src = "/assets/maintainIcon.svg"
799
811
alt = "wrench tightening bolts"
800
812
width = "100%"
@@ -862,7 +874,8 @@ export default function Revolution(props) {
862
874
</ Grid >
863
875
</ Grid >
864
876
< Grid item lg style = { { alignSelf : "center" } } >
865
- < img
877
+ < LazyLoadImage
878
+ threshold = { 400 }
866
879
src = "/assets/iterateIcon.svg"
867
880
alt = "falling dominoes"
868
881
width = "100%"
0 commit comments