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 ( -