import { getFeatureGridBanners, getFeaturedBanner } from "@/lib/starter-data";
import { BenefitsSection } from "@/components/sections/home/benefits-section";
import { FeaturedProductsSection } from "@/components/sections/home/featured-products-section";
import { HomeBlogHighlightsSection } from "@/components/sections/home/home-blog-highlights-section";
import { HomeFeatureGridSection } from "@/components/sections/home/home-feature-grid-section";
import { HomeHeroSection } from "@/components/sections/home/home-hero-section";
import { HomeLogoSliderSection } from "@/components/sections/home/home-logo-slider-section";
import { HomePrimaryBannerSection } from "@/components/sections/home/home-primary-banner-section";
import { LatestCategoriesSection } from "@/components/sections/home/latest-categories-section";
import { NewsletterSection } from "@/components/sections/home/newsletter-section";

export default async function HomePage() {
  const featuredBanner = await getFeaturedBanner();
  const featureGridBanners = await getFeatureGridBanners();

  return (
    <div className="pb-0">
      <HomeHeroSection />
      <HomePrimaryBannerSection banner={featuredBanner} />
      <FeaturedProductsSection />
      <LatestCategoriesSection />
      <HomeFeatureGridSection banners={featureGridBanners} />
      <HomeLogoSliderSection />
      <HomeBlogHighlightsSection />
      <NewsletterSection />
      <BenefitsSection />
    </div>
  );
}
