You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
632 B
25 lines
632 B
import React, { ReactNode } from "react";
|
|
import NavBar from "./NavBar";
|
|
import Footer from "./Footer";
|
|
|
|
import CookieConsent from "react-cookie-consent";
|
|
|
|
type Props = {
|
|
children?: React.ReactNode;
|
|
};
|
|
|
|
const Layout = ({ children }: Props) =>
|
|
<div className="layout-container">
|
|
<NavBar />
|
|
{children}
|
|
<CookieConsent
|
|
buttonText="Je comprends"
|
|
style={{ zIndex: "100000", justifyContent:"center" }}
|
|
buttonStyle={{color:"white",background:"#76AE0D"}}>
|
|
Ce site web utilise des cookies pour améliorer l'expérience de l'utilisateur.</CookieConsent>
|
|
<Footer />
|
|
</div>
|
|
|
|
export default Layout;
|
|
|