feat: implement login auth for all

also show the username underneath the logo
This commit is contained in:
2025-03-06 13:29:10 +01:00
parent 99e80c8077
commit 8b092fed51
9 changed files with 252 additions and 108 deletions

View File

@@ -1,20 +1,22 @@
import { useLocation } from "react-router";
import { Link } from "react-router";
export default function Footer() {
const location = useLocation();
return (
<footer>
<footer className={location.pathname === "/network" ? "fixed-footer" : ""}>
<div className="navbar">
<a href="/">
<Link to="/">
<span>Form</span>
</a>
</Link>
<span>|</span>
<a href="/network">
<Link to="/network">
<span>Trainer Analysis</span>
</a>
</Link>
<span>|</span>
<a href="/mvp">
<Link to="/mvp">
<span>MVP</span>
</a>
</Link>
</div>
<p className="grey extra-margin">
something not working?