diff --git a/.gitignore b/.gitignore
index cf64b79..e34cae7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
server/request.rest
+server/data/parse.php
+server/data/badges_backup.json
\ No newline at end of file
diff --git a/client/public/assets/img/badges/amiens_blason.svg b/client/public/assets/img/badges/amiens_blason.svg
new file mode 100644
index 0000000..6471dab
--- /dev/null
+++ b/client/public/assets/img/badges/amiens_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/angers_blason.png b/client/public/assets/img/badges/angers_blason.png
deleted file mode 100644
index 5f18c07..0000000
Binary files a/client/public/assets/img/badges/angers_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/angouleme_blason.png b/client/public/assets/img/badges/angouleme_blason.png
deleted file mode 100644
index 081f9ca..0000000
Binary files a/client/public/assets/img/badges/angouleme_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/aquitaine_cover.png b/client/public/assets/img/badges/aquitaine_cover.png
deleted file mode 100644
index 0c0763d..0000000
Binary files a/client/public/assets/img/badges/aquitaine_cover.png and /dev/null differ
diff --git a/client/public/assets/img/badges/ara_cover.svg b/client/public/assets/img/badges/ara_cover.svg
new file mode 100644
index 0000000..44b3496
--- /dev/null
+++ b/client/public/assets/img/badges/ara_cover.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/arles_blason.png b/client/public/assets/img/badges/arles_blason.png
deleted file mode 100644
index 702ca79..0000000
Binary files a/client/public/assets/img/badges/arles_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/auch_blason.png b/client/public/assets/img/badges/auch_blason.png
deleted file mode 100644
index 1177d02..0000000
Binary files a/client/public/assets/img/badges/auch_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/avignon_blason.png b/client/public/assets/img/badges/avignon_blason.png
deleted file mode 100644
index 9767ddb..0000000
Binary files a/client/public/assets/img/badges/avignon_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/bastia_blason.svg b/client/public/assets/img/badges/bastia_blason.svg
new file mode 100644
index 0000000..82e14d7
--- /dev/null
+++ b/client/public/assets/img/badges/bastia_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/beauvais_blason.svg b/client/public/assets/img/badges/beauvais_blason.svg
new file mode 100644
index 0000000..cf33f25
--- /dev/null
+++ b/client/public/assets/img/badges/beauvais_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/blois_blason.svg b/client/public/assets/img/badges/blois_blason.svg
new file mode 100644
index 0000000..5a1d27c
--- /dev/null
+++ b/client/public/assets/img/badges/blois_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/bordeaux_blason.png b/client/public/assets/img/badges/bordeaux_blason.png
deleted file mode 100644
index daa90d5..0000000
Binary files a/client/public/assets/img/badges/bordeaux_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/brest_blason.svg b/client/public/assets/img/badges/brest_blason.svg
new file mode 100644
index 0000000..c802994
--- /dev/null
+++ b/client/public/assets/img/badges/brest_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/bretagne_cover.svg b/client/public/assets/img/badges/bretagne_cover.svg
new file mode 100644
index 0000000..2035599
--- /dev/null
+++ b/client/public/assets/img/badges/bretagne_cover.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/caen_blason.png b/client/public/assets/img/badges/caen_blason.png
deleted file mode 100644
index 583a5a4..0000000
Binary files a/client/public/assets/img/badges/caen_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/carcassonne_blason.png b/client/public/assets/img/badges/carcassonne_blason.png
deleted file mode 100644
index 3952f7c..0000000
Binary files a/client/public/assets/img/badges/carcassonne_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/cayenne_blason.png b/client/public/assets/img/badges/cayenne_blason.png
deleted file mode 100644
index 2a05388..0000000
Binary files a/client/public/assets/img/badges/cayenne_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/centre_val_de_loire_cover.svg b/client/public/assets/img/badges/centre_val_de_loire_cover.svg
new file mode 100644
index 0000000..e6061b9
--- /dev/null
+++ b/client/public/assets/img/badges/centre_val_de_loire_cover.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/chamonix_blason.svg b/client/public/assets/img/badges/chamonix_blason.svg
new file mode 100644
index 0000000..4291bab
--- /dev/null
+++ b/client/public/assets/img/badges/chamonix_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/chartres_blason.svg b/client/public/assets/img/badges/chartres_blason.svg
new file mode 100644
index 0000000..4e8defd
--- /dev/null
+++ b/client/public/assets/img/badges/chartres_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/chateauroux_blason.svg b/client/public/assets/img/badges/chateauroux_blason.svg
new file mode 100644
index 0000000..1748092
--- /dev/null
+++ b/client/public/assets/img/badges/chateauroux_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/corse_blason.svg b/client/public/assets/img/badges/corse_blason.svg
new file mode 100644
index 0000000..452b83d
--- /dev/null
+++ b/client/public/assets/img/badges/corse_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/corse_cover.svg b/client/public/assets/img/badges/corse_cover.svg
new file mode 100644
index 0000000..cf8a513
--- /dev/null
+++ b/client/public/assets/img/badges/corse_cover.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/creteil_blason.png b/client/public/assets/img/badges/creteil_blason.png
deleted file mode 100644
index d8c72a1..0000000
Binary files a/client/public/assets/img/badges/creteil_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/evry_blason.png b/client/public/assets/img/badges/evry_blason.png
deleted file mode 100644
index 5da434a..0000000
Binary files a/client/public/assets/img/badges/evry_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/grand_est_cover.svg b/client/public/assets/img/badges/grand_est_cover.svg
new file mode 100644
index 0000000..cee84e0
--- /dev/null
+++ b/client/public/assets/img/badges/grand_est_cover.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/guyane_blason.png b/client/public/assets/img/badges/guyane_blason.png
deleted file mode 100644
index f0deec3..0000000
Binary files a/client/public/assets/img/badges/guyane_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/hauts_de_france_cover.svg b/client/public/assets/img/badges/hauts_de_france_cover.svg
new file mode 100644
index 0000000..394174f
--- /dev/null
+++ b/client/public/assets/img/badges/hauts_de_france_cover.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/ile_de_france_cover.png b/client/public/assets/img/badges/ile_de_france_cover.png
deleted file mode 100644
index e869a1e..0000000
Binary files a/client/public/assets/img/badges/ile_de_france_cover.png and /dev/null differ
diff --git a/client/public/assets/img/badges/la_baule_blason.png b/client/public/assets/img/badges/la_baule_blason.png
deleted file mode 100644
index e2fc3f6..0000000
Binary files a/client/public/assets/img/badges/la_baule_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/la_courneuve_blason.png b/client/public/assets/img/badges/la_courneuve_blason.png
deleted file mode 100644
index 3535d60..0000000
Binary files a/client/public/assets/img/badges/la_courneuve_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/laval_blason.png b/client/public/assets/img/badges/laval_blason.png
deleted file mode 100644
index 7868dad..0000000
Binary files a/client/public/assets/img/badges/laval_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/le_havre_blason.png b/client/public/assets/img/badges/le_havre_blason.png
deleted file mode 100644
index 1c5f959..0000000
Binary files a/client/public/assets/img/badges/le_havre_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/lens_blason.svg b/client/public/assets/img/badges/lens_blason.svg
new file mode 100644
index 0000000..65ce5f7
--- /dev/null
+++ b/client/public/assets/img/badges/lens_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/lille_blason.svg b/client/public/assets/img/badges/lille_blason.svg
new file mode 100644
index 0000000..ab6e51f
--- /dev/null
+++ b/client/public/assets/img/badges/lille_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/manosque_blason.png b/client/public/assets/img/badges/manosque_blason.png
deleted file mode 100644
index e1bf159..0000000
Binary files a/client/public/assets/img/badges/manosque_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/marseille_blason.png b/client/public/assets/img/badges/marseille_blason.png
deleted file mode 100644
index 8f83617..0000000
Binary files a/client/public/assets/img/badges/marseille_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/martinique_blason.png b/client/public/assets/img/badges/martinique_blason.png
deleted file mode 100644
index cc1db99..0000000
Binary files a/client/public/assets/img/badges/martinique_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/meaux_blason.png b/client/public/assets/img/badges/meaux_blason.png
deleted file mode 100644
index c531d24..0000000
Binary files a/client/public/assets/img/badges/meaux_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/metz_blason.svg b/client/public/assets/img/badges/metz_blason.svg
new file mode 100644
index 0000000..40cb619
--- /dev/null
+++ b/client/public/assets/img/badges/metz_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/mont_st_michel_blason.png b/client/public/assets/img/badges/mont_st_michel_blason.png
deleted file mode 100644
index c7f262e..0000000
Binary files a/client/public/assets/img/badges/mont_st_michel_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/montpellier_blason.png b/client/public/assets/img/badges/montpellier_blason.png
deleted file mode 100644
index 29cff8b..0000000
Binary files a/client/public/assets/img/badges/montpellier_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/nanterre_blason.png b/client/public/assets/img/badges/nanterre_blason.png
deleted file mode 100644
index a027384..0000000
Binary files a/client/public/assets/img/badges/nanterre_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/nice_blason.png b/client/public/assets/img/badges/nice_blason.png
deleted file mode 100644
index 8b5b4b0..0000000
Binary files a/client/public/assets/img/badges/nice_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/niort_blason.png b/client/public/assets/img/badges/niort_blason.png
deleted file mode 100644
index af7416e..0000000
Binary files a/client/public/assets/img/badges/niort_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/normandie_cover.png b/client/public/assets/img/badges/normandie_cover.png
deleted file mode 100644
index afbf548..0000000
Binary files a/client/public/assets/img/badges/normandie_cover.png and /dev/null differ
diff --git a/client/public/assets/img/badges/occitanie_cover.png b/client/public/assets/img/badges/occitanie_cover.png
deleted file mode 100644
index 67d8909..0000000
Binary files a/client/public/assets/img/badges/occitanie_cover.png and /dev/null differ
diff --git a/client/public/assets/img/badges/orleans_blason.svg b/client/public/assets/img/badges/orleans_blason.svg
new file mode 100644
index 0000000..a782cdf
--- /dev/null
+++ b/client/public/assets/img/badges/orleans_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/outre_mer_cover.png b/client/public/assets/img/badges/outre_mer_cover.png
deleted file mode 100644
index dc7a582..0000000
Binary files a/client/public/assets/img/badges/outre_mer_cover.png and /dev/null differ
diff --git a/client/public/assets/img/badges/paca_cover.png b/client/public/assets/img/badges/paca_cover.png
deleted file mode 100644
index 656b96c..0000000
Binary files a/client/public/assets/img/badges/paca_cover.png and /dev/null differ
diff --git a/client/public/assets/img/badges/paris_blason.png b/client/public/assets/img/badges/paris_blason.png
deleted file mode 100644
index a3ae4fa..0000000
Binary files a/client/public/assets/img/badges/paris_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/pau_blason.png b/client/public/assets/img/badges/pau_blason.png
deleted file mode 100644
index cafd54a..0000000
Binary files a/client/public/assets/img/badges/pau_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/pays_de_la_loire_cover.png b/client/public/assets/img/badges/pays_de_la_loire_cover.png
deleted file mode 100644
index 8aa7ab2..0000000
Binary files a/client/public/assets/img/badges/pays_de_la_loire_cover.png and /dev/null differ
diff --git a/client/public/assets/img/badges/perigueux_blason.png b/client/public/assets/img/badges/perigueux_blason.png
deleted file mode 100644
index c90d52c..0000000
Binary files a/client/public/assets/img/badges/perigueux_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/perpignan_blason.png b/client/public/assets/img/badges/perpignan_blason.png
deleted file mode 100644
index 086a0aa..0000000
Binary files a/client/public/assets/img/badges/perpignan_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/poitiers_blason.png b/client/public/assets/img/badges/poitiers_blason.png
deleted file mode 100644
index 1a4cd1d..0000000
Binary files a/client/public/assets/img/badges/poitiers_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/polynesie_blason.png b/client/public/assets/img/badges/polynesie_blason.png
deleted file mode 100644
index c15f211..0000000
Binary files a/client/public/assets/img/badges/polynesie_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/reims_blason.svg b/client/public/assets/img/badges/reims_blason.svg
new file mode 100644
index 0000000..84ad313
--- /dev/null
+++ b/client/public/assets/img/badges/reims_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/rennes_blason.svg b/client/public/assets/img/badges/rennes_blason.svg
new file mode 100644
index 0000000..c4224a7
--- /dev/null
+++ b/client/public/assets/img/badges/rennes_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/reunion_blason.png b/client/public/assets/img/badges/reunion_blason.png
deleted file mode 100644
index b22837f..0000000
Binary files a/client/public/assets/img/badges/reunion_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/sables_olonne_blason.png b/client/public/assets/img/badges/sables_olonne_blason.png
deleted file mode 100644
index d0a6f57..0000000
Binary files a/client/public/assets/img/badges/sables_olonne_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/soisy_blason.png b/client/public/assets/img/badges/soisy_blason.png
deleted file mode 100644
index bcd1b93..0000000
Binary files a/client/public/assets/img/badges/soisy_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/st_denis_blason.png b/client/public/assets/img/badges/st_denis_blason.png
deleted file mode 100644
index cd92b73..0000000
Binary files a/client/public/assets/img/badges/st_denis_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/st_dizier_blason.svg b/client/public/assets/img/badges/st_dizier_blason.svg
new file mode 100644
index 0000000..e78541a
--- /dev/null
+++ b/client/public/assets/img/badges/st_dizier_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/st_etienne_blason.svg b/client/public/assets/img/badges/st_etienne_blason.svg
new file mode 100644
index 0000000..eb56351
--- /dev/null
+++ b/client/public/assets/img/badges/st_etienne_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/st_quentin_blason.svg b/client/public/assets/img/badges/st_quentin_blason.svg
new file mode 100644
index 0000000..3205eb6
--- /dev/null
+++ b/client/public/assets/img/badges/st_quentin_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/strasbourg_blason.svg b/client/public/assets/img/badges/strasbourg_blason.svg
new file mode 100644
index 0000000..138959d
--- /dev/null
+++ b/client/public/assets/img/badges/strasbourg_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/tarbes_blason.png b/client/public/assets/img/badges/tarbes_blason.png
deleted file mode 100644
index 3eab114..0000000
Binary files a/client/public/assets/img/badges/tarbes_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/toulon_blason.png b/client/public/assets/img/badges/toulon_blason.png
deleted file mode 100644
index 8f4572b..0000000
Binary files a/client/public/assets/img/badges/toulon_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/toulouse_blason.png b/client/public/assets/img/badges/toulouse_blason.png
deleted file mode 100644
index c0a428b..0000000
Binary files a/client/public/assets/img/badges/toulouse_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/troyes_blason.svg b/client/public/assets/img/badges/troyes_blason.svg
new file mode 100644
index 0000000..4e7d83b
--- /dev/null
+++ b/client/public/assets/img/badges/troyes_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/valence_blason.svg b/client/public/assets/img/badges/valence_blason.svg
new file mode 100644
index 0000000..0a7930a
--- /dev/null
+++ b/client/public/assets/img/badges/valence_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/vannes_blason.svg b/client/public/assets/img/badges/vannes_blason.svg
new file mode 100644
index 0000000..6352368
--- /dev/null
+++ b/client/public/assets/img/badges/vannes_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/verdun_blason.svg b/client/public/assets/img/badges/verdun_blason.svg
new file mode 100644
index 0000000..be992c1
--- /dev/null
+++ b/client/public/assets/img/badges/verdun_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/public/assets/img/badges/versailles_blason.png b/client/public/assets/img/badges/versailles_blason.png
deleted file mode 100644
index f85f8f6..0000000
Binary files a/client/public/assets/img/badges/versailles_blason.png and /dev/null differ
diff --git a/client/public/assets/img/badges/vichy_blason.svg b/client/public/assets/img/badges/vichy_blason.svg
new file mode 100644
index 0000000..ba52125
--- /dev/null
+++ b/client/public/assets/img/badges/vichy_blason.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/src/assets/styles/main.css b/client/src/assets/styles/main.css
index c04d2fc..dfd0220 100644
--- a/client/src/assets/styles/main.css
+++ b/client/src/assets/styles/main.css
@@ -95,14 +95,14 @@ main .leaflet-popup {
border-radius: 8px !important;
}
-.badge-display {
+.badge-cover {
transition: 1s cubic-bezier(.62,-0.02,0,1.08);
transform: rotateY(0deg);
transform-style: preserve-3d;
user-select: none;
}
-.badge-display img.side-cover {
+.badge-cover img.side-cover {
transform: rotateY(0deg) translateZ(-1px);
}
diff --git a/client/src/components/map/Map.tsx b/client/src/components/map/Map.tsx
index d315a41..6417662 100644
--- a/client/src/components/map/Map.tsx
+++ b/client/src/components/map/Map.tsx
@@ -67,15 +67,15 @@ const Map = ({
return (
- { currentStep ? (