diff --git a/ui/src/main/resources/static/assets/js/pixel.js b/ui/src/main/resources/static/assets/js/pixel.js index b9df905f9..ede1a4359 100644 --- a/ui/src/main/resources/static/assets/js/pixel.js +++ b/ui/src/main/resources/static/assets/js/pixel.js @@ -36,6 +36,7 @@ d.addEventListener("DOMContentLoaded", function (event) { setTimeout(function () { preloader.classList.add('show'); + $( "#body").trigger( "tplLoaded"); }, 1500); } @@ -476,4 +477,4 @@ d.addEventListener("DOMContentLoaded", function (event) { }).mount(); } -}); \ No newline at end of file +}); diff --git a/ui/src/main/resources/templates/inc/product-compensation.html b/ui/src/main/resources/templates/inc/product-compensation.html index 47108c0ee..ef95cd9ff 100644 --- a/ui/src/main/resources/templates/inc/product-compensation.html +++ b/ui/src/main/resources/templates/inc/product-compensation.html @@ -5,8 +5,8 @@
-

- +

+

diff --git a/ui/src/main/resources/templates/index.html b/ui/src/main/resources/templates/index.html index 3ae70649d..f0ee875f9 100644 --- a/ui/src/main/resources/templates/index.html +++ b/ui/src/main/resources/templates/index.html @@ -80,8 +80,8 @@
- - + +
@@ -205,7 +205,7 @@

Data responsable

-
+
@@ -213,7 +213,7 @@

Data responsable

class="icon icon-shape icon-lg bg-white shadow-lg border-light rounded-circle mb-4">
-

150€

+

1

Montant du coup de pouce à date de Nudger pour la planète

@@ -221,8 +221,8 @@

150€

class="icon icon-shape icon-lg bg-white shadow-lg border-light rounded-circle mb-4">
-

15M+ Offres commerciales

-

Un des comparateurs les plus fournis

+

+

Nombre d'offres commerciales. Un des comparateurs les plus fournis de la place.

Open-source et Open-data + + + + + + + + @@ -232,6 +232,32 @@ }); } + +// Countup on reversement + +// CountUp + +var options = { + duration: 3, +  useEasing : false, +  useGrouping : false, +  separator : ',', +  decimal : '.', + decimalPlaces: 2, +  prefix : '', +  suffix : '' +}; + + +var reversment = new countUp.CountUp("countup-reversment", $("#countup-reversment").attr("data-max"), options); +setTimeout(reversment.start(), 5000); + + + + + + + } );