feat: add translate for zh-Hans

This commit is contained in:
JiPai
2024-09-05 20:19:28 +08:00
parent d3108ebf65
commit fe032d3d0f
12 changed files with 521 additions and 295 deletions

View File

@@ -1,6 +1,6 @@
import Link from "next/link";
import { Footer } from "./Footer";
import { Header } from "./Header";
import Link from 'next/link'
import { Footer } from './Footer'
import { Header } from './Header'
export function SlimLayout({ children }: { children: React.ReactNode }) {
return (
@@ -8,14 +8,16 @@ export function SlimLayout({ children }: { children: React.ReactNode }) {
<div>
<Header />
</div>
<main className="text-center flex-auto items-center flex justify-center">
<main className="flex flex-auto items-center justify-center text-center">
<div>
<h1 className="mb-4 text-6xl font-semibold text-primary">404</h1>
<h1 className="mb-4 text-6xl font-semibold text-primary">
404
</h1>
<p className="mb-4 text-lg text-muted-foreground">
Oops! Looks like you're lost.
</p>
<p className="mt-4 text-muted-foreground">
Let's get you back{" "}
Let's get you back{' '}
<Link href="/" className="text-primary">
home
</Link>
@@ -27,5 +29,5 @@ export function SlimLayout({ children }: { children: React.ReactNode }) {
<Footer />
</div>
</>
);
)
}