added TOS and Privacy content

This commit is contained in:
KS Jannette
2026-05-12 18:17:02 -04:00
parent cb476c38d7
commit c387798be7
8 changed files with 340 additions and 17 deletions

View File

@@ -0,0 +1,41 @@
import { Link } from "react-router-dom";
import { useAuth } from "../contexts/AuthContext";
import "./Footer.css";
export default function Footer() {
const { currentUser } = useAuth();
if (!currentUser) return null;
return (
<footer className="footer">
<div className="footer__inner">
<span className="footer__copyright">© 2026 sjDev.co</span>
<Link
to="/terms"
target="_blank"
rel="noopener noreferrer"
className="footer__link"
>
Terms
</Link>
<Link
to="/privacy"
target="_blank"
rel="noopener noreferrer"
className="footer__link"
>
Privacy
</Link>
<a
href="mailto:support@koinp.ing"
target="_blank"
rel="noopener noreferrer"
className="footer__link"
>
Contact Support
</a>
</div>
</footer>
);
}