diff --git a/src/App.css b/src/App.css index 4360175..a728bbf 100644 --- a/src/App.css +++ b/src/App.css @@ -1,49 +1,3 @@ -#root { - padding: 0; - font-family: 'Roboto', sans-serif; - background-color: white; - margin: 0; -} - -.navbar { - font-family: 'Arial', sans-serif; - background-color: white; - width: 100%; - position: sticky; - top: 0; - left: 0; - z-index: 1000; - margin: 0; - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); -} - -.navbar-container { - display: flex; - justify-content: space-between; - align-items: center; - padding: 1em 0; - width: 100%; -} - -.navbar-links { - display: flex; - justify-content: space-between; - width: 100%; -} - -.navbar-logo-img img { - width: 100%; - height: auto; - max-width: 7vw; -} - -.navbar-link { - text-decoration: none; - color: black; - font-size: 1.5em; - margin: 0 1em; -} - .logo-container { display: flex; justify-content: center; /* Centrer horizontalement */ @@ -318,69 +272,6 @@ margin-left: 20em; } -.footer-container { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - padding: 2em 0; - width: 100vw; -} - -.footer { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - width: 100vw; -} - -.footer-separator { - width: 100vw; - height: 10px; - background-color: black; -} - -.footer-content-top { - display: flex; - justify-content: center; - align-items: center; - width: 100%; -} - -.footer-content-top img { - width: 100%; - height: auto; - max-width: 20vw; -} - -.social-network-small-icon { - fill: black; - color: black; -} - -.footer-nav { - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - gap: 3em; - margin: 2em 0; -} - -.footer-nav a { - text-decoration: none; - color: black; - font-size: 1.2em; -} - -.footer-credits { - background-color: black; - color: white; - width: 100%; - text-align: center; -} - .partenaires-list-container { display: flex; justify-content: center; diff --git a/src/App.tsx b/src/App.tsx index 9ea5b96..a483808 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,24 +1,31 @@ -import React from 'react'; -import './App.css'; import { BrowserRouter as Router, Route, Routes } from 'react-router-dom'; +import React from 'react'; + +import './App.css'; + +import { Navbar } from './layouts/navbar/navbar'; +import { Footer } from './layouts/footer/footer'; + import Home from './pages/Home'; import NotFound from './pages/404'; import Partenaires from './pages/Partenaires'; import Projets from './pages/Projets'; const App: React.FC = () => { - return ( - -
- - } /> - } /> - } /> - } /> - -
-
- ); + return (<> + +
+ + + } /> + } /> + } /> + } /> + + +
+