diff --git a/src/components/Footer/Footer.jsx b/src/components/Footer/Footer.jsx new file mode 100644 index 0000000..804d6ac --- /dev/null +++ b/src/components/Footer/Footer.jsx @@ -0,0 +1,16 @@ +import styles from "./Footer.module.css" +import {Link} from "react-router"; + +function Footer(){ + return ( + + ) +} + +export default Footer; \ No newline at end of file diff --git a/src/components/Footer/Footer.module.css b/src/components/Footer/Footer.module.css new file mode 100644 index 0000000..8088bfd --- /dev/null +++ b/src/components/Footer/Footer.module.css @@ -0,0 +1,20 @@ +.footer{ + width: 100%; + display: flex; + align-items: center; + height: fit-content; + padding: 2rem; +} + +.footerContent { + display: flex; + width: 100%; + justify-content: center; + gap: 2rem; +} + +.link { + color: black; + width: fit-content; + text-align: center; +} \ No newline at end of file diff --git a/src/index.css b/src/index.css index 4211e1f..413d12d 100644 --- a/src/index.css +++ b/src/index.css @@ -1,9 +1,11 @@ * { - margin: 0; - padding: 0; - width:100%; - box-sizing: border-box; + margin: 0; + padding: 0; + width: 100%; + box-sizing: border-box; + overflow-x: hidden; } + :root { font-family: system-ui, Avenir, Helvetica, Arial, sans-serif; line-height: 1.5; @@ -18,6 +20,15 @@ -moz-osx-font-smoothing: grayscale; } + + +.content { + padding: 1.5rem; +} + + + + a { font-weight: 500; color: #646cff; @@ -41,7 +52,7 @@ body { width: 100%; padding: 10px 20px 10px 20px; height: 360px; - background: rgba(255, 255, 255, 0.5); + background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); border-radius: 20px; diff --git a/src/layout.jsx b/src/layout.jsx index c281387..082488d 100644 --- a/src/layout.jsx +++ b/src/layout.jsx @@ -1,11 +1,15 @@ import { Outlet } from "react-router"; +import Footer from "./components/Footer/Footer.jsx" function Layout(){ return (
- +
+ +
) } diff --git a/src/pages/Home/HomePage.jsx b/src/pages/Home/HomePage.jsx index 465bc9d..fc12601 100644 --- a/src/pages/Home/HomePage.jsx +++ b/src/pages/Home/HomePage.jsx @@ -1,10 +1,9 @@ -import styles from "./HomePage.module.css" + function HomePage(){ return (
-

Accueil

) }