Skip to content

Commit

Permalink
feat(logo): Rename ministry
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed Jan 3, 2025
1 parent 2316d51 commit f58bb29
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion client/.env
Original file line number Diff line number Diff line change
Expand Up @@ -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<br>de l'enseignement<br>supérieur<br>et de la recherche"
VITE_MINISTER_NAME="Ministère<br>chargé<br>de l'enseignement<br>supérieur<br>et de la recherche"
VITE_VERSION=$npm_package_version
VITE_WS_HOST=wss://works-magnet.dataesr.ovh
13 changes: 8 additions & 5 deletions client/src/layout/footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -266,8 +269,8 @@ export default function MainFooter() {
</FooterTop>
<FooterBody description="Retrieve the scholarly works of your institution">
<Logo
splitCharacter="|"
text="Ministère|de l'enseignement|supérieur|et de la recherche"
splitCharacter="<br>"
text={VITE_MINISTER_NAME}
/>
<Link
className="fr-footer__content-link"
Expand Down Expand Up @@ -317,9 +320,9 @@ export default function MainFooter() {
target="_blank"
rel="noreferer noopenner"
className="fr-footer__bottom-link"
href={`https://github.com/dataesr/works-magnet/releases/tag/v${version}`}
href={`https://github.com/dataesr/works-magnet/releases/tag/v${VITE_VERSION}`}
>
{`App version v${version}`}
{`App version v${VITE_VERSION}`}
</Link>
</FooterBottom>
</Footer>
Expand Down

0 comments on commit f58bb29

Please sign in to comment.