Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix page active de 3 pages #939

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pages/actus/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const ActualitePage = () => {
const content = lines.slice(1).join('\n');

return (
<SimplePage currentPage="/ressources" title={title}>
<SimplePage currentPage="/actus" title={title}>
<Box className="fr-container fr-mb-n2w fr-mb-md-n4w">
<Breadcrumb
currentPageLabel={title}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,11 @@ const PotentielCreationReseauPage: React.FC<PotentielCreationReseauPageProps> =
};

return (
<SimplePage title="Potentiel de création de réseau" mode="public-fullscreen">
<SimplePage
title="Potentiel de création de réseau"
mode="public-fullscreen"
currentPage="/collectivites-et-exploitants/potentiel-creation-reseau"
>
<Newsletter onSignUp={getMoreInfo} withCheckbox>
<div className="fr-container fr-mt-2w">
<div className="fr-grid-row">
Expand Down
4 changes: 2 additions & 2 deletions src/pages/reseaux/[network].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const PageReseau = ({ network }: { network: Network }) => {
}

return (
<SimplePage currentPage="/carte" mode="public-fullscreen">
<SimplePage currentPage="/reseaux" mode="public-fullscreen">
<Slice>
<Breadcrumb
currentPageLabel={network['Identifiant reseau']}
Expand Down Expand Up @@ -59,7 +59,7 @@ export const getStaticProps: GetStaticProps<{
return {
redirect: {
permanent: false,
destination: '/carte',
destination: '/reseaux',
},
};
};
Expand Down
Loading