25 lines
655 B
TypeScript
25 lines
655 B
TypeScript
import { FaqSection } from "@marketing/home/components/FaqSection";
|
|
import { Features } from "@marketing/home/components/Features";
|
|
import { Hero } from "@marketing/home/components/Hero";
|
|
import { Newsletter } from "@marketing/home/components/Newsletter";
|
|
import { PricingSection } from "@marketing/home/components/PricingSection";
|
|
import { setRequestLocale } from "next-intl/server";
|
|
|
|
export default async function Home({
|
|
params,
|
|
}: {
|
|
params: Promise<{ locale: string }>;
|
|
}) {
|
|
const { locale } = await params;
|
|
setRequestLocale(locale);
|
|
|
|
return (
|
|
<>
|
|
<Hero />
|
|
<Features />
|
|
<PricingSection />
|
|
<FaqSection />
|
|
<Newsletter />
|
|
</>
|
|
);
|
|
}
|