import { Component, onMount } from 'solid-js';
import { initAnalytics, trackPageView } from '../hooks/useAnalytics';
import HeroSection from '../components/HeroSection';
import FeaturesSection from '../components/FeaturesSection';
import TierComparison from '../components/TierComparison';
import Footer from '../components/Footer';

const AdsLandingPage: Component = () => {
  onMount(() => {
    initAnalytics();
    trackPageView('/ads', 'ShieldAI — Ads | AI-Powered Identity Protection');
  });

  return (
    <main>
      <HeroSection />
      <FeaturesSection />
      <TierComparison />
      <Footer />
    </main>
  );
};

export default AdsLandingPage;
