better-auth/apps/web/app/(marketing)/[locale]/(home)/page.tsx

26 lines
655 B
TypeScript
Raw Normal View History

2025-10-29 13:43:43 +05:00
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 />
</>
);
}