欢迎页面支持多语言

This commit is contained in:
xintaofei
2026-03-07 12:17:57 +08:00
parent aeecc4769c
commit 6c48be023c
15 changed files with 685 additions and 72 deletions

View File

@@ -1,14 +1,19 @@
"use client"
import { MessageCircleCode } from "lucide-react"
import { useTranslations } from "next-intl"
export function SoftwareInfo() {
const t = useTranslations("WelcomePage")
return (
<div className="w-full flex gap-4 px-6 py-8">
<MessageCircleCode className="size-12" />
<div className="flex flex-col">
<span className="text-base">Codeg</span>
<span className="text-sm text-muted-foreground">version 0.0.1</span>
<span className="text-sm text-muted-foreground">
{t("softwareVersion", { version: "0.0.1" })}
</span>
</div>
</div>
)