24 lines
813 B
TypeScript
24 lines
813 B
TypeScript
import './globals.css'
|
|
|
|
export const metadata = {
|
|
title: '۴۰۴ | صفحه یافت نشد',
|
|
description: 'صفحهای که دنبال آن هستید وجود ندارد.',
|
|
}
|
|
|
|
export default function GlobalNotFound() {
|
|
return (
|
|
<html lang="fa" dir="rtl" suppressHydrationWarning>
|
|
<body className="antialiased min-h-svh flex flex-col items-center justify-center gap-6 px-4 bg-background text-foreground">
|
|
<h1 className="text-4xl font-bold">۴۰۴</h1>
|
|
<p className="text-muted-foreground">این صفحه وجود ندارد.</p>
|
|
<a
|
|
href="/"
|
|
className="rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:opacity-90"
|
|
>
|
|
بازگشت به صفحه اصلی
|
|
</a>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|