From f58bb295b02d8f0884119e88c13c7dfeeccf11f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anne=20L=27H=C3=B4te?= Date: Fri, 3 Jan 2025 12:23:06 +0100 Subject: [PATCH] feat(logo): Rename ministry --- client/.env | 2 +- client/src/layout/footer.jsx | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/client/.env b/client/.env index b90c710..80ee41c 100644 --- a/client/.env +++ b/client/.env @@ -5,6 +5,6 @@ VITE_APP_TAG_LIMIT=3 VITE_GIT_REPOSITORY_URL=https://github.com/dataesr/works-magnet VITE_HEADER_TAG= VITE_HEADER_TAG_COLOR=new -VITE_MINISTER_NAME="Ministère
de l'enseignement
supérieur
et de la recherche" +VITE_MINISTER_NAME="Ministère
chargé
de l'enseignement
supérieur
et de la recherche" VITE_VERSION=$npm_package_version VITE_WS_HOST=wss://works-magnet.dataesr.ovh diff --git a/client/src/layout/footer.jsx b/client/src/layout/footer.jsx index 712d367..c2789ac 100644 --- a/client/src/layout/footer.jsx +++ b/client/src/layout/footer.jsx @@ -8,7 +8,10 @@ import { FooterTop, } from '../components/footer/index'; -const version = import.meta.env.VITE_VERSION; +const { + VITE_MINISTER_NAME, + VITE_VERSION, +} = import.meta.env; export default function MainFooter() { return ( @@ -266,8 +269,8 @@ export default function MainFooter() { - {`App version v${version}`} + {`App version v${VITE_VERSION}`}