'use client' import { useEffect, useState } from 'react' import posthog from 'posthog-js' import { Button } from '@/components/ui/button' import { motion, AnimatePresence } from 'framer-motion' import Link from 'next/link' import { Cookie } from 'lucide-react' export function CookieBanner() { const [show, setShow] = useState(false) useEffect(() => { const optedIn = posthog.has_opted_in_capturing() const optedOut = posthog.has_opted_out_capturing() if (!optedIn && !optedOut) { setShow(true) } }, []) const handleAccept = () => { posthog.opt_in_capturing() setShow(false) } const handleDecline = () => { posthog.opt_out_capturing() setShow(false) } return ( {show && (

We value your privacy

We use cookies to enhance your browsing experience and analyze our traffic. By clicking "Accept", you consent to our use of cookies. Read our Privacy Policy.

)}
) }