Skip to content

Commit

Permalink
feat: desactivation bandeau bleu espace pro (#1690)
Browse files Browse the repository at this point in the history
* fix: désactivation du bandeau bleu sur l'espace pro

* Update Layout.tsx

* Update Header.tsx

---------

Co-authored-by: guilletmarion <[email protected]>
  • Loading branch information
kevbarns and guilletmarion authored Dec 5, 2024
1 parent aa4b4ef commit c64a799
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ui/components/espace_pro/AuthentificationLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function AuthentificationLayout(props) {

return (
<Container maxW="container.xl" px={4} py={4}>
<InfoBanner showInfo={true} showAlert={false} />
<InfoBanner showInfo={false} showAlert={false} />
<Flex direction="column" px={[0, 4]}>
<Flex direction={["column", "row"]} justifyContent="space-between" align={["left", "center"]} justify={["left", "center"]} mb={["4", "0"]}>
<Link href="/" aria-label="Retour à la page d'accueil">
Expand Down
2 changes: 1 addition & 1 deletion ui/components/espace_pro/Layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Header = () => {

return (
<Box>
<InfoBanner showInfo={true} />
<InfoBanner showInfo={false} />
<Container maxW="full" px={[0, 4]} py={4} borderBottom={"1px solid"} borderColor="grey.400">
<Container maxW="container.xl">
<Flex alignItems="center" px={[0, 4]}>
Expand Down
2 changes: 1 addition & 1 deletion ui/components/espace_pro/common/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import NavigationMenu from "./NavigationMenu"
const Layout = ({ children }) => {
return (
<Container maxW="full">
<InfoBanner showInfo={true} />
<InfoBanner showInfo={false} />
<Header />
<NavigationMenu />
<Box minH={"60vh"}>{children}</Box>
Expand Down

0 comments on commit c64a799

Please sign in to comment.