From 0e1e2dc5e72ce8dd34026441f21d47fe134efdca 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 ae3527e9..70ba3b36 100644 --- a/client/.env +++ b/client/.env @@ -6,6 +6,6 @@ VITE_DESCRIPTION="Retrieve the scholarly works of your institution" 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 \ No newline at end of file diff --git a/client/src/layout/footer.jsx b/client/src/layout/footer.jsx index b5a140eb..9501742e 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 ( @@ -247,8 +250,8 @@ export default function MainFooter() { - {`App version v${version}`} + {`App version v${VITE_VERSION}`}