From 54e16cb05dfa25761e4fb3413cd05c3b04f4b83d Mon Sep 17 00:00:00 2001 From: Medenos Date: Tue, 27 Sep 2022 22:04:22 -0400 Subject: [PATCH] ajout d'une belle navbar/topbar --- .../src/components/Navbar.js | 25 ------------- .../src/components/Topbar.js | 37 +++++++++++++++++++ .../grosses-mitaines-ui/src/pages/Layout.js | 4 +- .../src/stylesheets/site.css | 9 ++++- 4 files changed, 47 insertions(+), 28 deletions(-) delete mode 100644 GrossesMitaines/grosses-mitaines-ui/src/components/Navbar.js create mode 100644 GrossesMitaines/grosses-mitaines-ui/src/components/Topbar.js diff --git a/GrossesMitaines/grosses-mitaines-ui/src/components/Navbar.js b/GrossesMitaines/grosses-mitaines-ui/src/components/Navbar.js deleted file mode 100644 index bb369ec..0000000 --- a/GrossesMitaines/grosses-mitaines-ui/src/components/Navbar.js +++ /dev/null @@ -1,25 +0,0 @@ -import React from "react"; -import { 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/components/Topbar.js b/GrossesMitaines/grosses-mitaines-ui/src/components/Topbar.js new file mode 100644 index 0000000..41e8411 --- /dev/null +++ b/GrossesMitaines/grosses-mitaines-ui/src/components/Topbar.js @@ -0,0 +1,37 @@ +import React from "react"; +import { Link } from "react-router-dom"; +import Container from 'react-bootstrap/Container'; +import Nav from 'react-bootstrap/Nav'; +import Navbar from 'react-bootstrap/Navbar'; +import NavDropdown from 'react-bootstrap/NavDropdown'; + +const Topbar = () => { + return ( + + + + + + + + + + + + ); +} + +export default Topbar; \ 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 index 4bdd0f4..0cf96cf 100644 --- a/GrossesMitaines/grosses-mitaines-ui/src/pages/Layout.js +++ b/GrossesMitaines/grosses-mitaines-ui/src/pages/Layout.js @@ -1,12 +1,12 @@ import React from "react"; import { Outlet } from "react-router-dom"; -import Navbar from "../components/Navbar"; +import Topbar from "../components/Topbar"; import Footer from "../components/Footer"; const Layout = () => { return ( <> - +