mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
chore(website): make biome happy
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { Link } from '@/i18n/routing'
|
||||
import { Footer } from './Footer'
|
||||
import { Header } from './Header'
|
||||
import { useTranslations } from 'next-intl'
|
||||
import { Link } from "@/i18n/routing";
|
||||
import { useTranslations } from "next-intl";
|
||||
import { Footer } from "./Footer";
|
||||
import { Header } from "./Header";
|
||||
|
||||
export function SlimLayout() {
|
||||
const t = useTranslations('404')
|
||||
const t = useTranslations("404");
|
||||
return (
|
||||
<>
|
||||
<div>
|
||||
@@ -12,16 +12,12 @@ export function SlimLayout() {
|
||||
</div>
|
||||
<main className="flex flex-auto items-center justify-center text-center">
|
||||
<div>
|
||||
<h1 className="mb-4 text-6xl font-semibold text-primary">
|
||||
404
|
||||
</h1>
|
||||
<p className="mb-4 text-lg text-muted-foreground">
|
||||
{t('title')}
|
||||
</p>
|
||||
<h1 className="mb-4 text-6xl font-semibold text-primary">404</h1>
|
||||
<p className="mb-4 text-lg text-muted-foreground">{t("title")}</p>
|
||||
<p className="mt-4 text-muted-foreground">
|
||||
{t('des')}{' '}
|
||||
{t("des")}{" "}
|
||||
<Link href="/" className="text-primary">
|
||||
{t('action')}
|
||||
{t("action")}
|
||||
</Link>
|
||||
</p>
|
||||
</div>
|
||||
@@ -30,5 +26,5 @@ export function SlimLayout() {
|
||||
<Footer />
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user