refactor: support i18n

This commit is contained in:
mlogclub
2026-05-25 12:06:15 +08:00
parent 309ac1fe9e
commit 988f55c80d
179 changed files with 10968 additions and 3763 deletions
+8 -2
View File
@@ -1,6 +1,12 @@
"use client"
import { CheckCircle2Icon } from "lucide-react"
import { useI18n } from "@/i18n/provider"
export default function Page() {
const t = useI18n()
return (
<main className="flex min-h-svh items-center justify-center bg-muted px-6 text-foreground">
<section className="grid max-w-sm justify-items-center gap-4 text-center">
@@ -8,9 +14,9 @@ export default function Page() {
<CheckCircle2Icon className="size-7" />
</div>
<div className="grid gap-2">
<h1 className="text-lg font-semibold text-foreground"></h1>
<h1 className="text-lg font-semibold text-foreground">{t("kefu.closedTitle")}</h1>
<p className="text-sm leading-6 text-muted-foreground">
使
{t("kefu.closedDescription")}
</p>
</div>
</section>