fix: modification visuel du frontend au niveau du formulaire de contact pour qu'il s'armonise avec le css global.

fix : update du backend avec ajout de la suppression d'un projet.
This commit is contained in:
toine 2025-10-04 11:03:24 +02:00
parent 542e00482b
commit fec74d9f83

View file

@ -0,0 +1,20 @@
"use client";
import { useEffect, useState } from "react";
export default function Footer() {
const [isTop, setIsTop] = useState(true);
useEffect(() => {
const onScroll = () => setIsTop(window.scrollY <= 0);
onScroll();
window.addEventListener("scroll", onScroll, { passive: true });
return () => window.removeEventListener("scroll", onScroll);
}, []);
return (
<footer className={isTop ? "sticky-footer" : "sticky-footer is-visible"}>
<p>© 2025 - Toine</p>
</footer>
);
}