Skip to content

Commit

Permalink
Merge pull request #151 from AtelierdeParis/fix-campaign-menu-link
Browse files Browse the repository at this point in the history
Fix issue with link in menu
  • Loading branch information
baptadn authored Jan 27, 2025
2 parents e7e71a1 + a0179a4 commit fbc72a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/components/Navigation/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const Header = ({ colorMode }: Props) => {
<NavButton href={ROUTE_PROJECT} text={t('nav.project')} />
{currentCampaign && currentCampaign?.article_link && (
<NavButton
href={currentCampaign?.article_link}
href={`/${currentCampaign?.article_link.replace(/^\//, '')}`}
text={t('nav.campaign', { title: currentCampaign?.title })}
/>
)}
Expand Down

0 comments on commit fbc72a0

Please sign in to comment.