import Navigation from '@/components/Navigation'
import CloudRevealSection from '@/components/sections/CloudRevealSection'
import AboutSection from '@/components/sections/AboutSection'
import AmenitiesSection from '@/components/sections/AmenitiesSection'
import LocationSection from '@/components/sections/LocationSection'
import UnitsSection from '@/components/sections/UnitsSection'
import GallerySection from '@/components/sections/GallerySection'
import ContactSection from '@/components/sections/ContactSection'
import Footer from '@/components/Footer'

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

  return (
    <main>
      <Navigation locale={locale} />
      <CloudRevealSection />
      <AboutSection />
      <AmenitiesSection />
      <LocationSection />
      <UnitsSection />
      <GallerySection />
      <ContactSection />
      <Footer locale={locale} />
    </main>
  )
}
