diff --git a/app/admin/[character]/[page]/page.tsx b/app/admin/[character]/[page]/page.tsx
index 3653b0b..f7d90f2 100644
--- a/app/admin/[character]/[page]/page.tsx
+++ b/app/admin/[character]/[page]/page.tsx
@@ -1,3 +1,4 @@
+import { Localized } from "@/components/i18n/text";
import Link from "next/link";
import Image from "next/image";
import { ArrowLeftIcon } from "lucide-react";
@@ -65,7 +66,7 @@ export default async function StructuredEditorPage({
-
+
diff --git a/app/admin/[character]/page.tsx b/app/admin/[character]/page.tsx
index f42b8aa..7777ff4 100644
--- a/app/admin/[character]/page.tsx
+++ b/app/admin/[character]/page.tsx
@@ -1,3 +1,4 @@
+import { Localized, Text } from "@/components/i18n/text";
import Image from "next/image";
import Link from "next/link";
import { ArrowLeftIcon, ArrowUpRightIcon } from "lucide-react";
@@ -40,14 +41,14 @@ export default async function GuideOverviewPage({ params }: { params: Promise<{
- } nativeButton={false} aria-label="กลับ Dashboard">
+ } nativeButton={false} aria-label="กลับ Dashboard">
-
+
-
เลือกส่วนที่ต้องการแก้ไข
+
{guide.name}
diff --git a/app/admin/create/page.tsx b/app/admin/create/page.tsx
index 82f834b..f5b2447 100644
--- a/app/admin/create/page.tsx
+++ b/app/admin/create/page.tsx
@@ -1,3 +1,4 @@
+import { Localized, Text } from "@/components/i18n/text";
import Link from "next/link";
import { ArrowLeftIcon } from "lucide-react";
import { redirect } from "next/navigation";
@@ -19,8 +20,8 @@ export default async function CreateGuidePage() {
guide.characterKey)} />
diff --git a/app/admin/generate/image/page.tsx b/app/admin/generate/image/page.tsx
index cfabbcd..1350084 100644
--- a/app/admin/generate/image/page.tsx
+++ b/app/admin/generate/image/page.tsx
@@ -1,3 +1,4 @@
+import { Text } from "@/components/i18n/text";
import { redirect } from "next/navigation";
import { connection } from "next/server";
@@ -29,13 +30,11 @@ export default async function OverviewImagePage() {
({
diff --git a/app/admin/glossary/page.tsx b/app/admin/glossary/page.tsx
index 0c75055..d73ab05 100644
--- a/app/admin/glossary/page.tsx
+++ b/app/admin/glossary/page.tsx
@@ -1,3 +1,4 @@
+import { Text } from "@/components/i18n/text";
import { redirect } from "next/navigation";
import { connection } from "next/server";
@@ -20,8 +21,8 @@ export default async function GlossaryPage() {
- Search shortcuts
- Glossary Manager
+
+
diff --git a/app/admin/register/page.tsx b/app/admin/register/page.tsx
index 6966998..5dd9766 100644
--- a/app/admin/register/page.tsx
+++ b/app/admin/register/page.tsx
@@ -1,3 +1,4 @@
+import { Text } from "@/components/i18n/text";
import { asc } from "drizzle-orm";
import { redirect } from "next/navigation";
import { connection } from "next/server";
@@ -28,11 +29,10 @@ export default async function RegisterPage() {
diff --git a/app/layout.tsx b/app/layout.tsx
index 5f9006f..ba60593 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -1,6 +1,7 @@
import type { Metadata } from "next";
import { Anuphan, Geist_Mono } from "next/font/google";
+import { LocaleProvider } from "@/components/i18n/locale-provider";
import { DeploymentUpdateNotifier } from "@/components/deployment-update-notifier";
import { PageProgress } from "@/components/page-progress";
import { Toaster } from "@/components/ui/sonner";
@@ -38,6 +39,7 @@ export default function RootLayout({ children }: LayoutProps<"/">) {
className={`dark ${anuphan.variable} ${geistMono.variable} h-full antialiased`}
>
+
{children}
@@ -47,6 +49,7 @@ export default function RootLayout({ children }: LayoutProps<"/">) {
position="bottom-right"
toastOptions={{ className: anuphan.className }}
/>
+