From fb835957583536ea3e0b2212f44cbdd6919a01ed Mon Sep 17 00:00:00 2001 From: Giovanni-Josserand Date: Tue, 13 Jan 2026 09:21:37 +0100 Subject: [PATCH] update footer --- src/components/Footer/Footer.jsx | 57 +++++++---------------- src/components/Footer/Footer.module.css | 62 ++++++++++++++++++------- 2 files changed, 64 insertions(+), 55 deletions(-) diff --git a/src/components/Footer/Footer.jsx b/src/components/Footer/Footer.jsx index 6140931..35d681f 100644 --- a/src/components/Footer/Footer.jsx +++ b/src/components/Footer/Footer.jsx @@ -1,52 +1,31 @@ import styles from "./Footer.module.css" -import {Link, NavLink} from "react-router"; -import Button from "../ui/button/button.jsx" -import {useContext} from "react"; -import {AuthContext} from "../../contexts/auth/AuthContext.js"; +import {Link} from "react-router"; function Footer(){ - const { user } = useContext(AuthContext); + const currentYear = new Date().getFullYear(); + const scrollToTop = () => { + window.scrollTo({ top: 0, left: 0, behavior: 'smooth' }); + }; return ( -