'use client'

import { useEffect } from 'react'
import { useRouter } from 'next/navigation'

export default function HomePage() {
  const router = useRouter()

  useEffect(() => {
    // Redirect to setup page
    router.push('/setup')
  }, [router])

  return (
    <div className="flex items-center justify-center min-h-screen">
      <div className="text-center">
        <div className="animate-spin rounded-full h-12 w-12 border-b-2 border-bzzz-primary mx-auto mb-4"></div>
        <p className="text-gray-600">Redirecting to setup...</p>
      </div>
    </div>
  )
}