import HomeClient from '../../components/HomeClient';

export async function generateStaticParams() {
    const supportedLangs = ['en', 'zh-CN', 'zh-TW', 'ko', 'ja'];
    return supportedLangs.map((lang) => ({
        lang: lang,
    }));
}

export default async function Page({ params }: { params: Promise<{ lang: string }> }) {
    const { lang } = await params;
    return <HomeClient lang={lang} />;
}
