Skip to content

Commit

Permalink
Add extra link to footer nav
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucieo committed Mar 1, 2024
1 parent 540c053 commit 5ac788d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"x-generation-date": "03/01/2024 1:43:19 PM"
"x-generation-date": "03/01/2024 5:58:22 PM"
},
"x-strapi-config": {
"path": "/documentation",
Expand Down
7 changes: 7 additions & 0 deletions web/components/FooterMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,17 @@ const FooterMenu = () => {
<Box>
<MenuItem href="/" text={t('nav.home')} />
<MenuItem href={ROUTE_PROJECT} text={t('nav.project')} />
{currentCampaign?.article_link && (
<MenuItem
href={ROUTE_PLACES}
text={t('nav.campaign', { title: currentCampaign?.title })}
/>
)}
<MenuItem href={ROUTE_PLACES} text={t('nav.places')} />
<MenuItem href={ROUTE_ACTU} text={t('nav.news')} />
<MenuItem href={ROUTE_FAQ} text={t('nav.faq')} />
<MenuItem href={ROUTE_CONTACT} text={t('nav.contact')} />
<MenuItem href={ROUTE_CONTACT} text={t('nav.contact')} />
</Box>
{!loading && !session && (
<Box pl={14}>
Expand Down

0 comments on commit 5ac788d

Please sign in to comment.