fix(i18n): revert strict structure, implement dynamic index, and duplicate ID meta

This commit is contained in:
dyzulk
2026-01-09 10:38:04 +07:00
parent 742af04cb1
commit 5bfe46d8ae
27 changed files with 16 additions and 4 deletions

View File

@@ -1,3 +0,0 @@
import { LandingPage } from '../components/LandingPage'
<LandingPage />

View File

@@ -1,5 +1,11 @@
import { useRouter } from 'next/router'
import { LandingPage } from '../components/LandingPage'
<LandingPage locale="id" />
export const Index = () => {
const { locale } = useRouter()
return <LandingPage locale={locale} />
}
<Index />
# DEBUG_ID_FILE_RENDERED

9
pages/index.mdx Normal file
View File

@@ -0,0 +1,9 @@
import { useRouter } from 'next/router'
import { LandingPage } from '../components/LandingPage'
export const Index = () => {
const { locale } = useRouter()
return <LandingPage locale={locale} />
}
<Index />