diff --git a/src/components/Footer/Footer.jsx b/src/components/Footer/Footer.jsx index 35d681f..10ccbb8 100644 --- a/src/components/Footer/Footer.jsx +++ b/src/components/Footer/Footer.jsx @@ -1,13 +1,17 @@ import styles from "./Footer.module.css" import {Link} from "react-router"; +import {useState} from "react"; +import Modal from "../ui/modal/modal.jsx"; +import TextInput from "../ui/input/input.jsx"; -function Footer(){ +export default function Footer(){ const currentYear = new Date().getFullYear(); const scrollToTop = () => { window.scrollTo({ top: 0, left: 0, behavior: 'smooth' }); }; + const [isContactModal, setIsContactModal] = useState(false); - return ( + return <> - ); -} -export default Footer; \ No newline at end of file + {/* TODO : mettre l'adresse email et le numéro de tel dans un fichier de configuration */} + setIsContactModal(false)}> +
+
+

Adresse email

+

example@gmail.com

+
+ +
+

Numéro de téléphone

+

+33 6 09 78 27 19

+
+
+
+ +} \ No newline at end of file diff --git a/src/components/Footer/Footer.module.css b/src/components/Footer/Footer.module.css index 8c7903e..d281cbe 100644 --- a/src/components/Footer/Footer.module.css +++ b/src/components/Footer/Footer.module.css @@ -43,6 +43,14 @@ white-space: nowrap; } +.section{ + margin-top: 2rem; + display: flex; + flex-direction: column; + gap: 2rem; +} + + @media screen and (max-width: 768px) { @@ -60,4 +68,8 @@ .link { margin: 0.5rem 1rem; } + + .separator { + display: none; + } } \ No newline at end of file