import Header from "@/components/Header";
import Hero from "@/components/Hero";
import About from "@/components/About";
import Services from "@/components/Services";
import Gallery from "@/components/Gallery";
import InstagramFeed from "@/components/InstagramFeed";
import Contact from "@/components/Contact";
import Footer from "@/components/Footer";
import { getDictionary } from "../dictionaries";

export default async function Home({ params }: { params: Promise<{ lang: string }> }) {
  const { lang } = await params;
  const dict = await getDictionary(lang);

  return (
    <main className="min-h-screen bg-brand-white">
      <Header dict={dict} lang={lang} />
      <Hero dict={dict} />
      <About dict={dict} />
      <Services dict={dict} />
      <Gallery dict={dict} />
      <InstagramFeed dict={dict} />
      <Contact dict={dict} />
      <Footer dict={dict} />
    </main>
  );
}
