update contact and rgpd
This commit is contained in:
1 parent
7f6181a515
commit
fe687db91c
2 files changed
+30
-23
No files matched your search
Binary file not shown.
@@ -9,49 +9,56 @@ export default function Footer(){
|
|||||||
const scrollToTop = () => {
|
const scrollToTop = () => {
|
||||||
window.scrollTo({ top: 0, left: 0, behavior: 'smooth' });
|
window.scrollTo({ top: 0, left: 0, behavior: 'smooth' });
|
||||||
};
|
};
|
||||||
const [isContactModal, setIsContactModal] = useState(false);
|
const [isCopyrightModal, setIsCopyrightModal] = useState(false);
|
||||||
|
|
||||||
|
|
||||||
return <>
|
return <>
|
||||||
<footer className={`${styles.footer} glassCard`}>
|
<footer className={`${styles.footer} glassCard`}>
|
||||||
<div className={styles.footerContent}>
|
<div className={styles.footerContent}>
|
||||||
|
<Button
|
||||||
|
variant={"transparent"}
|
||||||
|
className={styles.link}
|
||||||
|
onClick={() => setIsCopyrightModal(true)}
|
||||||
|
>
|
||||||
|
Copyright © {currentYear}. Tous droits réservés.
|
||||||
|
</Button>
|
||||||
|
|
||||||
<div className={styles.copyright}>
|
<div className={styles.copyright}>
|
||||||
© {currentYear} Beaup'hub. Tous droits réservés.
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<nav className={styles.footerNav}>
|
<nav className={styles.footerNav}>
|
||||||
<Link to="/rgpd.pdf" target="_blank" className={styles.link}>Fiche RGPD</Link>
|
<Link to="/rgpd.pdf" className={styles.link}>
|
||||||
|
Fiche RGPD
|
||||||
|
</Link>
|
||||||
<span className={styles.separator}></span>
|
<span className={styles.separator}></span>
|
||||||
<Link to="/legalNotices" className={styles.link}>Mentions légales</Link>
|
<Link to="/legalNotices" className={styles.link}>
|
||||||
|
Mentions légales
|
||||||
|
</Link>
|
||||||
<span className={styles.separator}></span>
|
<span className={styles.separator}></span>
|
||||||
<Button
|
<Link to={"https://comite.beaupont.fr/contactez-nous"} className={styles.link}>
|
||||||
variant={"transparent"}
|
|
||||||
className={styles.link}
|
|
||||||
onClick={() => setIsContactModal(true)}
|
|
||||||
>
|
|
||||||
Contact
|
Contact
|
||||||
</Button>
|
</Link>
|
||||||
<span className={styles.separator}></span>
|
<span className={styles.separator}></span>
|
||||||
<Link to="/"
|
<Link to="/" className={styles.link} onClick={scrollToTop}>
|
||||||
className={styles.link}
|
|
||||||
onClick={scrollToTop}
|
|
||||||
>
|
|
||||||
Accueil
|
Accueil
|
||||||
</Link>
|
</Link>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
{/* TODO : mettre l'adresse email et le numéro de tel dans un fichier de configuration */}
|
{/* TODO : mettre nos noms dans un fichier de configuration */}
|
||||||
<Modal title={"Fiche de contact"} open={isContactModal} onClose={() => setIsContactModal(false)}>
|
<Modal title={"Réalisé par"} open={isCopyrightModal} onClose={() => setIsCopyrightModal(false)}>
|
||||||
<section className={styles.section}>
|
<section className={styles.section}>
|
||||||
<div className={styles.inputContainer}>
|
<div className={styles.inputContainer}>
|
||||||
<h3>Adresse email</h3>
|
<p>Quentin T'jampens</p>
|
||||||
<p>example@gmail.com</p>
|
<p>Antoine Ordonneau</p>
|
||||||
</div>
|
<p>Malo Leblond</p>
|
||||||
|
<p>
|
||||||
<div className={styles.inputContainer}>
|
Giovanni Josserand (
|
||||||
<h3>Numéro de téléphone</h3>
|
<Link to={"https://linktree.josserand.ovh/"}>linktree</Link>
|
||||||
<p>+33 6 09 78 27 19</p>
|
)
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|||||||
Reference in new issue
Block a user