'use client';

import { useRouter } from 'next/navigation';
import Header from './components/Header';
import Hero from './components/Hero';
import Features from './components/Features';

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

  const handleGetStarted = () => {
    router.push('/register');
  };

  return (
    <div className="min-h-screen bg-white">
      <Header />
      <Hero onGetStarted={handleGetStarted} />
      <Features />
    </div>
  );
}
