diff --git a/front/pages/index.tsx b/front/pages/index.tsx index 2ee8901a3ce5..26abd1360850 100644 --- a/front/pages/index.tsx +++ b/front/pages/index.tsx @@ -36,6 +36,8 @@ import { const defaultFlexClasses = "flex flex-col gap-4"; +import { Transition } from "@headlessui/react"; + import { SignInDropDownButton, SignUpDropDownButton, @@ -90,6 +92,9 @@ export default function Home({ const scrollRef3 = useRef(null); const scrollRef4 = useRef(null); + const [showCookieBanner, setShowCookieBanner] = useState(true); + const [hasAcceptedCookies, setHasAcceptedCookies] = useState(false); + useEffect(() => { if (logoRef.current) { const logoPosition = logoRef.current.offsetTop; @@ -752,21 +757,34 @@ export default function Home({