refactor: migrate to flat-file i18n structure and fix relative imports

This commit is contained in:
dyzulk
2026-01-09 09:29:19 +07:00
parent 44d578f033
commit 545eb3648b
53 changed files with 17 additions and 27 deletions

View File

@@ -1,10 +1,15 @@
{
"en": {
"index": {
"title": "Home",
"type": "page",
"display": "hidden"
},
"id": {
"type": "page",
"display": "hidden"
"guide": {
"title": "User Guide",
"type": "page"
},
"developer": {
"title": "Developer API",
"type": "page"
}
}

View File

@@ -1,15 +0,0 @@
{
"index": {
"title": "Home",
"type": "page",
"display": "hidden"
},
"guide": {
"title": "User Guide",
"type": "page"
},
"developer": {
"title": "Developer API",
"type": "page"
}
}

View File

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

View File

@@ -55,7 +55,7 @@ Pilih distribusi Anda untuk mendapatkan perintah instalasi yang dioptimalkan:
---
import { DynamicInstallationGuide } from '../../../../components/DynamicInstallationGuide'
import { DynamicInstallationGuide } from '../../../components/DynamicInstallationGuide'
## Instalasi Sertifikat Individu

View File

@@ -53,7 +53,7 @@ Select your distribution to get the optimized installation command:
---
import { DynamicInstallationGuide } from '../../../../components/DynamicInstallationGuide'
import { DynamicInstallationGuide } from '../../../components/DynamicInstallationGuide'
## Individual Certificate Installation

View File

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

3
pages/index.id.mdx Normal file
View File

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

3
pages/index.mdx Normal file
View File

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