import { AnimatedSection } from "@/components/shared/AnimatedSection";
import { Hero } from "@/components/home/Hero";
import { BuildingNow } from "@/components/home/BuildingNow";
import { LatestWriting } from "@/components/home/LatestWriting";
import { SignalCTA } from "@/components/home/SignalCTA";

export default function HomePage({ params }: { params: { locale: string } }) {
  return (
    <>
      <Hero />
      <AnimatedSection>
        <BuildingNow />
      </AnimatedSection>
      <AnimatedSection delay={0.1}>
        <LatestWriting locale={params.locale} />
      </AnimatedSection>
      <AnimatedSection delay={0.2}>
        <SignalCTA />
      </AnimatedSection>
    </>
  );
}
