Skip to content

Commit

Permalink
feat: remove banner for opmc
Browse files Browse the repository at this point in the history
  • Loading branch information
pom421 committed Oct 19, 2023
1 parent 4e881c4 commit 2f690c3
Showing 1 changed file with 6 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -1,36 +1,14 @@
import Breadcrumb from "@codegouvfr/react-dsfr/Breadcrumb";
import { config } from "@common/config";
import { CenteredContainer, Container } from "@design-system";
import { fr } from "@codegouvfr/react-dsfr";
import { Box, CenteredContainer } from "@design-system";
import { type PropsWithChildren } from "react";

import { AlertExistingDeclaration } from "../declaration/AlertExistingDeclaration";

const DEFAULT_TITLE = "Déclaration d'index Egapro";
const DEFAULT_TITLE = "Déclaration des objectifs de progression";

const DeclarationLayout = ({ children }: PropsWithChildren) => {
return (
<>
<Container>
<Breadcrumb
currentPageLabel="Déclaration d'index"
homeLinkProps={{
href: "/",
}}
segments={[
{
linkProps: {
href: `${config.base_declaration_url}/commencer`,
},
label: "Index",
},
]}
/>
</Container>
<CenteredContainer>
<AlertExistingDeclaration />
{children}
</CenteredContainer>
</>
<Box className={fr.cx("fr-mt-8w")}>
<CenteredContainer>{children}</CenteredContainer>
</Box>
);
};

Expand Down

0 comments on commit 2f690c3

Please sign in to comment.