From de87050292d2206a7023a14d84f90a12e00aa6ad Mon Sep 17 00:00:00 2001 From: jerem Date: Wed, 26 Jun 2024 15:59:07 +0200 Subject: [PATCH] all maps for France --- .../atlas/components/atlas-map/index.tsx | 177 +++++++++--------- 1 file changed, 88 insertions(+), 89 deletions(-) diff --git a/client/src/pages/atlas/components/atlas-map/index.tsx b/client/src/pages/atlas/components/atlas-map/index.tsx index 464991d5..201e7b03 100644 --- a/client/src/pages/atlas/components/atlas-map/index.tsx +++ b/client/src/pages/atlas/components/atlas-map/index.tsx @@ -89,101 +89,100 @@ export default function AtlasMap() { } }); - // France case - if (geoId === "PAYS_100") { - return ( -
- - -
+ switch (selectedTab) { + case "general": + // France case + if (geoId === "PAYS_100") { + return ( +
+ + +
+ +
+ +
+ + +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ + + + + + +
+ ); + } else { + return ( + + -
- -
- - -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
- - - - - - -
- ); - } - - switch (selectedTab) { - case "general": - return ( - - - - - - - - - ); - + + + + + + ); + } case "effectifs-par-filiere": return (