"use client" import * as React from "react" import { Button } from "@/components/ui/button" import { motion, AnimatePresence } from "framer-motion" const CookieConsent = () => { const [isVisible, setIsVisible] = React.useState(false) React.useEffect(() => { const consent = localStorage.getItem("cookie-consent") if (!consent) { setTimeout(() => setIsVisible(true), 2000) } }, []) const handleAccept = () => { localStorage.setItem("cookie-consent", "true") setIsVisible(false) } return ( {isVisible && (

Sütik használata 🍪

Weboldalunk sütiket használ a jobb felhasználói élmény érdekében. Az "Elfogadom" gombra kattintva hozzájárul ezek használatához.

)}
) } export default CookieConsent