From b14ebac2f1cc6150cde285e66b3c9d564dbd00c7 Mon Sep 17 00:00:00 2001 From: Medenos Date: Tue, 27 Sep 2022 15:52:15 -0400 Subject: [PATCH] ajout de tout le folder --- .../src/components/Footer.js | 13 ++++++++++ .../src/components/Navbar.js | 25 +++++++++++++++++++ .../grosses-mitaines-ui/src/pages/AboutUs.js | 18 +++++++++++++ .../src/pages/ContactUs.js | 17 +++++++++++++ .../grosses-mitaines-ui/src/pages/Home.js | 17 +++++++++++++ .../grosses-mitaines-ui/src/pages/Layout.js | 16 ++++++++++++ .../grosses-mitaines-ui/src/pages/Privacy.js | 17 +++++++++++++ 7 files changed, 123 insertions(+) create mode 100644 GrossesMitaines/grosses-mitaines-ui/src/components/Footer.js create mode 100644 GrossesMitaines/grosses-mitaines-ui/src/components/Navbar.js create mode 100644 GrossesMitaines/grosses-mitaines-ui/src/pages/AboutUs.js create mode 100644 GrossesMitaines/grosses-mitaines-ui/src/pages/ContactUs.js create mode 100644 GrossesMitaines/grosses-mitaines-ui/src/pages/Home.js create mode 100644 GrossesMitaines/grosses-mitaines-ui/src/pages/Layout.js create mode 100644 GrossesMitaines/grosses-mitaines-ui/src/pages/Privacy.js diff --git a/GrossesMitaines/grosses-mitaines-ui/src/components/Footer.js b/GrossesMitaines/grosses-mitaines-ui/src/components/Footer.js new file mode 100644 index 0000000..921f180 --- /dev/null +++ b/GrossesMitaines/grosses-mitaines-ui/src/components/Footer.js @@ -0,0 +1,13 @@ +import React from "react"; + +const Footer = () => { + + return ( + <> +
+ footer + + ); +} + +export default Footer; \ No newline at end of file diff --git a/GrossesMitaines/grosses-mitaines-ui/src/components/Navbar.js b/GrossesMitaines/grosses-mitaines-ui/src/components/Navbar.js new file mode 100644 index 0000000..f0fa4ad --- /dev/null +++ b/GrossesMitaines/grosses-mitaines-ui/src/components/Navbar.js @@ -0,0 +1,25 @@ +import React from "react"; +import { BrowserRouter, Route, Link } from "react-router-dom"; + +const Navbar = () => { + return ( + + ); +} + +export default Navbar; \ No newline at end of file diff --git a/GrossesMitaines/grosses-mitaines-ui/src/pages/AboutUs.js b/GrossesMitaines/grosses-mitaines-ui/src/pages/AboutUs.js new file mode 100644 index 0000000..36ecc04 --- /dev/null +++ b/GrossesMitaines/grosses-mitaines-ui/src/pages/AboutUs.js @@ -0,0 +1,18 @@ +import React from "react"; +import { useEffect } from "react"; + +const AbtouUs = () => { + + useEffect(() => { + document.title = 'À propos de nous'; + }); + + return ( + <> + À propos de nous + + + ); +} + +export default AbtouUs; \ No newline at end of file diff --git a/GrossesMitaines/grosses-mitaines-ui/src/pages/ContactUs.js b/GrossesMitaines/grosses-mitaines-ui/src/pages/ContactUs.js new file mode 100644 index 0000000..272816c --- /dev/null +++ b/GrossesMitaines/grosses-mitaines-ui/src/pages/ContactUs.js @@ -0,0 +1,17 @@ +import React from "react"; +import { useEffect } from "react"; + +const ContactUs = () => { + + useEffect(() => { + document.title = 'Nous contacter'; + }); + + return ( + <> + Nous contacter + + ); +} + +export default ContactUs; \ No newline at end of file diff --git a/GrossesMitaines/grosses-mitaines-ui/src/pages/Home.js b/GrossesMitaines/grosses-mitaines-ui/src/pages/Home.js new file mode 100644 index 0000000..a57bde0 --- /dev/null +++ b/GrossesMitaines/grosses-mitaines-ui/src/pages/Home.js @@ -0,0 +1,17 @@ +import React from "react"; +import { useEffect } from "react"; + +const Home = () => { + + useEffect(() => { + document.title = 'Maison'; + }); + + return ( + <> + Maison + + ); +} + +export default Home; \ No newline at end of file diff --git a/GrossesMitaines/grosses-mitaines-ui/src/pages/Layout.js b/GrossesMitaines/grosses-mitaines-ui/src/pages/Layout.js new file mode 100644 index 0000000..71738a4 --- /dev/null +++ b/GrossesMitaines/grosses-mitaines-ui/src/pages/Layout.js @@ -0,0 +1,16 @@ +import React from "react"; +import {Outlet} from "react-router-dom"; +import Navbar from "../components/Navbar"; +import Footer from "../components/Footer"; + +const Layout = () => { + return ( + <> + + +