Merge branch 'features/footer' into 'dev'

Features/footer

See merge request sae-but2/2025-26/gestion-benevoles-association/Frontend!4
This commit is contained in:
JOSSERAND GIOVANNI p2405212
2025-10-24 12:34:31 +00:00
5 changed files with 58 additions and 8 deletions
+16
View File
@@ -0,0 +1,16 @@
import styles from "./Footer.module.css"
import {Link} from "react-router";
function Footer(){
return (
<footer className={`${styles.footer} ${"glassCard"}`} >
<div className={styles.footerContent}>
<Link to="" className={styles.link}>Contact</Link>
<Link to="" className={styles.link}>RGPD</Link>
<Link to="" className={styles.link}>Mentions légales</Link>
</div>
</footer>
)
}
export default Footer;
+20
View File
@@ -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;
}
+16 -5
View File
@@ -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;
+5 -1
View File
@@ -1,11 +1,15 @@
import { Outlet } from "react-router";
import Footer from "./components/Footer/Footer.jsx"
function Layout(){
return (
<div>
<Outlet />
<div className="content">
<Outlet />
<Footer />
</div>
</div>
)
}
+1 -2
View File
@@ -1,10 +1,9 @@
import styles from "./HomePage.module.css"
function HomePage(){
return (
<div>
<h1 className={styles.title}>Accueil</h1>
</div>
)
}