'use client'
import { motion } from 'framer-motion'
import { useState, useEffect } from 'react'
import { Bell, ArrowDown } from 'lucide-react'
export function CompetitorDemoVisual() {
const [phase, setPhase] = useState(0)
useEffect(() => {
const interval = setInterval(() => {
setPhase(p => (p + 1) % 2)
}, 3000)
return () => clearInterval(interval)
}, [])
return (
{/* Browser Header */}
{/* Pricing Table */}
Professional Plan
{/* Price Card */}
{/* Shine effect on change */}
{phase === 1 && (
)}
{/* Old Price */}
$99
/month
{/* New Price with animated arrow */}
{phase === 1 && (
$79
/month
)}
{/* Savings Badge */}
{phase === 1 && (
Save $240/year
)}
{/* Alert Notification */}
{
phase === 1 && (
Alert sent to your team
)
}
)
}