import { setRequestLocale } from "next-intl/server";
import AboutHeroSection from "@/components/AboutHeroSection";
import ParentCompanySection from "@/components/ParentCompanySection";
import TeamSection from "@/components/TeamSection";
import MilestonesSection from "@/components/MilestonesSection";
import RecruitSection from "@/components/RecruitSection";

export default async function AboutPage({
  params,
}: {
  params: Promise<{ locale: string }>;
}) {
  const { locale } = await params;
  setRequestLocale(locale);

  return (
    <main>
      <AboutHeroSection />
      <ParentCompanySection />
      <TeamSection />
      <MilestonesSection />
      <RecruitSection />
    </main>
  );
}
