"use client"; import { motion } from "motion/react"; export function AudioWave() { return ( <>
{[...Array(20)].map((_, i) => ( ({ height: ["20%", "70%"], transition: { duration: 3, repeat: Infinity, type: "spring", repeatType: "reverse", stiffness: Math.random() * 100 + 10, damping: Math.random() * 5 + 10, delay: i * 0.05, }, }), }} initial="initial" animate="animate" className="w-2 bg-primary/50 rounded-full" /> ))}
{[...Array(20)].map((_, i) => ( ({ height: ["20%", "70%"], transition: { duration: 8, repeat: Infinity, type: "spring", repeatType: "reverse", stiffness: Math.random() * 100 + 10, damping: Math.random() * 5 + 10, delay: i * 0.05, }, }), }} initial="initial" animate="animate" className="w-2 bg-primary/10 rounded-full" /> ))}
); }