From 8224592c0e071f1c6ee774ae61f01968cf53194e Mon Sep 17 00:00:00 2001 From: C <38694948+CedricBeausseron@users.noreply.github.com> Date: Wed, 16 Nov 2022 14:42:56 +0100 Subject: [PATCH 1/4] fix - style des pages, notamment index --- components/Footer.tsx | 106 +++++------ components/Layout.tsx | 8 +- components/NavBar.tsx | 2 +- pages/index.tsx | 133 +++++++------- pages/mentions-legales.tsx | 339 ++++++++++++++++++------------------ styles/Connexion.module.css | 5 - styles/Footer.module.css | 11 +- styles/Index.module.css | 121 ++++++------- styles/NavBar.module.css | 10 +- styles/globals.css | 21 ++- 10 files changed, 375 insertions(+), 381 deletions(-) diff --git a/components/Footer.tsx b/components/Footer.tsx index f4c0616..f87694f 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -9,64 +9,66 @@ import Link from 'next/link'; const Footer = () => { return ( ); } diff --git a/components/Layout.tsx b/components/Layout.tsx index 03ab31c..df8ace6 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -1,19 +1,13 @@ import React, { ReactNode } from "react"; import NavBar from "./NavBar"; import Footer from "./Footer"; -import Content from "./Content"; type Props = { children?: React.ReactNode; }; - -const layoutStyle = { - height: "100vh" -} - const Layout = ({ children }: Props) => -
+
{children}