From 77db425b0e94f278f84f6b061211a9ff5e0abbf2 Mon Sep 17 00:00:00 2001 From: Eric Date: Sun, 13 Nov 2022 17:13:53 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20add=20-=20am=C3=A9lioration=20de?= =?UTF-8?q?=20la=20page=20principale=20et=20du=20component=20Content?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Content.tsx | 78 +++++++++ components/Footer.tsx | 9 +- components/Layout.tsx | 4 +- components/NavBar.tsx | 21 ++- package-lock.json | 15 ++ package.json | 1 + pages/api/auth/[...nextauth].ts | 17 ++ pages/index.tsx | 104 ++++-------- pages/login.tsx | 221 ++++++++++++++++++++++++ public/images/footer_background.png | Bin 0 -> 81613 bytes public/images/footer_image.png | Bin 0 -> 678001 bytes public/images/jeuconcours.png | Bin 93980 -> 33280 bytes styles/Content.module.css | 252 ++++++++++++++++++++++++++++ styles/Footer.module.css | 5 + styles/Index.module.css | 136 +-------------- styles/NavBar.module.css | 2 +- styles/globals.css | 23 ++- 17 files changed, 654 insertions(+), 234 deletions(-) create mode 100644 components/Content.tsx create mode 100644 pages/login.tsx create mode 100644 public/images/footer_background.png create mode 100644 public/images/footer_image.png create mode 100644 styles/Content.module.css create mode 100644 styles/Footer.module.css diff --git a/components/Content.tsx b/components/Content.tsx new file mode 100644 index 0000000..58732f9 --- /dev/null +++ b/components/Content.tsx @@ -0,0 +1,78 @@ +import React from "react"; + + +import Image from 'next/image'; + + +import style from '../styles/Content.module.css'; + + +import Link from "next/link"; + + +import feuilleGauche from '../public/images/feuilleGauche.png' +import feuilleDroite from '../public/images/feuilleBasDroite.png' +import cadeau from '../public/images/cadeau.png' +import jeuConcours from '../public/images/jeuconcours.png' +import footerGrass from '../public/images/footer_image.png' + + +type Props = { + children?: React.ReactNode; +}; + +const Content = ({ children }: Props) => { + return ( + <> +
+
+ thetiptop feuille Gauche +
+
+ thetiptop feuille Droite +
+
+ thetiptop jeu Concours +
+
+ thetiptop cadeau +
+
+
+ {children} +
+
+
+ thetiptop feuille Gauche +
+
+ + ); +}; + +export default Content; diff --git a/components/Footer.tsx b/components/Footer.tsx index 957078c..7dd569c 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -2,12 +2,13 @@ import Image from 'next/image' import logo from '../public/images/logo.png'; import logoInstagram from '../public/images/logo instagram.png'; import logoLinkedin from '../public/images/logo linkedin.png'; +import style from '../styles/Footer.module.css' import Link from 'next/link'; const Footer = () => { return ( -