From 007f7d2492b959434cbcfef297b98cd35f3b1d73 Mon Sep 17 00:00:00 2001
From: Pierre Jarriges <pierre.jarriges@tutanota.com>
Date: Wed, 27 Jul 2022 16:49:57 +0200
Subject: [PATCH] reorganize menu

---
 public/assets/translations/en.json        |  2 +-
 public/assets/translations/fr.json        |  2 +-
 website/src/homepage.js                   | 12 ++++++------
 website/src/template/components/navbar.js |  8 ++++----
 4 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/public/assets/translations/en.json b/public/assets/translations/en.json
index 6613463..e961f27 100644
--- a/public/assets/translations/en.json
+++ b/public/assets/translations/en.json
@@ -2,7 +2,7 @@
     "Simplicité": "Simplicity",
     "Légèreté": "Lightness",
     "Écologie": "Ecology",
-    "kuadrado-home-description": "Based in Vernoux en Vivarais in the Ardèche, Kuadrado Software is a micro-enterprise created in 2021 by Pierre Jarriges.<br />Kuadrado Software develops IT projects with a focus on maximum quality and minimalism.<br /><br />Video game&ensp;|&ensp;Web&ensp;|&ensp;Software&ensp;|&ensp;Research projects&ensp;|&ensp;Digital pedagogy<br /><br />All projects are based on a free and open-source approach.",
+    "kuadrado-home-description": "Based in Vernoux en Vivarais in the Ardèche, Kuadrado Software is a micro-enterprise created in 2021.<br />Kuadrado Software develops IT projects with a focus on maximum quality and minimalism.<br /><br />Video game&ensp;|&ensp;Web&ensp;|&ensp;Software&ensp;|&ensp;Research projects&ensp;|&ensp;Digital pedagogy<br /><br />All projects are based on a free and open-source approach.",
     "Site en construction ...": "Website in construction...",
     "Sur les réseaux": "On the networks",
     "kuadrado-footer-copyleft": "All images on this website were made by me and may be reused for personal usage.",
diff --git a/public/assets/translations/fr.json b/public/assets/translations/fr.json
index 3cd3fb7..a2b977a 100644
--- a/public/assets/translations/fr.json
+++ b/public/assets/translations/fr.json
@@ -1,5 +1,5 @@
 {
-    "kuadrado-home-description": "Basée en Ardèche à Vernoux en Vivarais, Kuadrado Software est une micro-entreprise créée en 2021 par Pierre Jarriges.<br />Kuadrado Software développe des projets informatique dans une démarche d'exigence de qualité maximum et de minimalisme.<br /><br />Jeu vidéo&nbsp&nbsp|&nbsp&nbspWeb&nbsp&nbsp|&nbsp&nbspLogiciel&nbsp&nbsp|&nbsp&nbspprojets de recherche&nbsp&nbsp|&nbsp&nbspPédagogie numérique<br /><br />Tous les projets sont basés sur une approche libre et open-source.",
+    "kuadrado-home-description": "Basée en Ardèche à Vernoux en Vivarais, Kuadrado Software est une micro-entreprise créée en 2021.<br />Kuadrado Software développe des projets informatique dans une démarche d'exigence de qualité maximum et de minimalisme.<br /><br />Jeu vidéo&nbsp&nbsp|&nbsp&nbspWeb&nbsp&nbsp|&nbsp&nbspLogiciel&nbsp&nbsp|&nbsp&nbspprojets de recherche&nbsp&nbsp|&nbsp&nbspPédagogie numérique<br /><br />Tous les projets sont basés sur une approche libre et open-source.",
     "kuadrado-footer-copyleft": "Toutes les images du site ont été réalisées par mes soins et peuvent être réutilisées pour un usage personnel.",
     "games-description": "Créations vidéoludiques, jeux web et jeux PC, projets en cours.",
     "education-description": "S'approprier la technologie par le partage de connaissances.",
diff --git a/website/src/homepage.js b/website/src/homepage.js
index 93353fb..f647094 100644
--- a/website/src/homepage.js
+++ b/website/src/homepage.js
@@ -64,12 +64,6 @@ class HomePage extends WebPage {
                             description:
                                 t("games-description"),
                         },
-                        {
-                            title: t("Pédagogie"),
-                            img: images_url + "/brain.svg",
-                            href: "/education/",
-                            description: t("education-description"),
-                        },
                         {
                             title: "Software",
                             img: images_url + "/meca_proc.svg",
@@ -82,6 +76,12 @@ class HomePage extends WebPage {
                             href: "/service/",
                             description: t("service-description"),
                         },
+                        {
+                            title: t("Pédagogie"),
+                            img: images_url + "/brain.svg",
+                            href: "/education/",
+                            description: t("education-description"),
+                        },
                     ].map(cardProps => new ThemeCard(cardProps).render()),
                 },
             ],
diff --git a/website/src/template/components/navbar.js b/website/src/template/components/navbar.js
index e3fffd9..8a0e6c9 100644
--- a/website/src/template/components/navbar.js
+++ b/website/src/template/components/navbar.js
@@ -4,13 +4,13 @@ const { images_url } = require("../../../constants");
 
 const NAV_MENU_ITEMS = [
     { url: "/games/", text: "Jeux" },
+
+    { url: "/software-development/", text: "Software" },
+    { url: "/service/", text: "Service" },
     {
         url: "/education/",
         text: "Pédagogie",
-    },
-    { url: "/software-development/", text: "Software" },
-    { url: "/service/", text: "Service" }
-
+    }
 ];
 
 class NavBar {
-- 
GitLab