'use client'; import React, { useEffect, useState } from 'react'; import { motion } from 'framer-motion'; export const TileGrid = () => { const [mounted, setMounted] = useState(false); useEffect(() => { setMounted(true); }, []); if (!mounted) return null; return (
{/* The lighting tiles (actual squares) */}
{[...Array(144)].map((_, i) => ( 0.92 ? 0.4 : 0, 0], }} transition={{ duration: 3 + Math.random() * 4, repeat: Infinity, delay: Math.random() * 10, ease: "easeInOut" }} className="w-full h-full bg-accent/20 border border-accent/5" /> ))}
); };