﻿import CareersHero from '@/components/careers/CareersHero'
import WhyWorkWithUsSection from '@/components/careers/WhyWorkWithUsSection'
import BuiltOnStrongValuesSection from '@/components/careers/BuiltOnStrongValuesSection'
import EmployeeDemographicsSection from '@/components/careers/EmployeeDemographicsSection'
import ApplicationProcessSection from '@/components/careers/ApplicationProcessSection'
import ExploreJobsSection from '@/components/careers/ExploreJobsSection'
import { getCareersData } from '@/lib/api/careers'
import { resolveAssetUrls } from '@/lib/asset-url'

export default async function Careers() {
  const data = resolveAssetUrls(await getCareersData())

  return (
    <div className="min-h-screen bg-white">
      <CareersHero data={data.hero} />
      <WhyWorkWithUsSection data={data.whyWorkUs} />
      <BuiltOnStrongValuesSection data={data.strongValues} />
      <EmployeeDemographicsSection data={data.demographics} />
      <ApplicationProcessSection data={data.applicationProcess} />
      <ExploreJobsSection data={data.exploreJobs} />
    </div>
  )
}
