import { Link, useLocation } from 'react-router-dom' import { useAuth } from '../context/AuthContext' function FooterLink({ to, children, className = '', pathname }) { return pathname === to ? ( {children} ) : ( {children} ) } export default function Footer() { const { pathname } = useLocation() const { user } = useAuth() const isLoggedIn = !!user return ( ) }