"use client"; import { motion, useReducedMotion } from "framer-motion"; const rainDrops = Array.from({ length: 12 }, (_, index) => ({ left: `${(index * 43 + 7) % 101}%`, delay: (index % 9) * 0.18, duration: 1.1 + (index % 4) * 0.18, })); export function WeatherEffects({ precipitation10m, thunderstorm = false }: { precipitation10m?: number | null; thunderstorm?: boolean }) { const reduceMotion = useReducedMotion(); const isRaining = (precipitation10m ?? 0) > 0; return (
); }