Files
aragrp/app/not-found.tsx
T

42 lines
1.3 KiB
TypeScript
Raw Normal View History

2026-02-19 17:56:02 +03:30
import Link from 'next/link'
import { Button } from '@/components/ui/button'
2026-02-19 22:57:49 +03:30
import { Home } from 'lucide-react'
import { type, typeSpacing } from '@/lib/typography'
import { cn } from '@/lib/utils'
2026-02-19 22:57:49 +03:30
export const metadata = {
title: '۴۰۴',
description: 'صفحه‌ای که دنبال آن هستید یافت نشد.',
}
2026-02-19 17:56:02 +03:30
export default function NotFound() {
return (
2026-02-19 22:57:49 +03:30
<section className="min-h-[70vh] flex items-center justify-center px-4 py-20">
<div className="mx-auto max-w-lg w-full text-center">
<div className="relative inline-block mb-6">
<span
className={cn(type["display-mono"], "text-transparent bg-clip-text bg-gradient-to-b from-primary/90 to-primary/50 select-none")}
2026-02-19 22:57:49 +03:30
aria-hidden
>
۴۰۴
</span>
</div>
<h1 className={cn(type.h2, "mb-3 text-foreground")}>
2026-02-19 22:57:49 +03:30
صفحه پیدا نشد
</h1>
<p className={cn(type.body, "mb-10 mx-auto max-w-sm text-muted-foreground")}>
2026-02-19 22:57:49 +03:30
به نظر می‌رسد این آدرس وجود ندارد یا منتقل شده است.
</p>
<Button asChild size="lg" className="gap-2">
<Link href="/">
<Home className="size-5" />
صفحه اصلی
</Link>
2026-02-19 17:56:02 +03:30
</Button>
</div>
2026-02-19 22:57:49 +03:30
</section>
2026-02-19 17:56:02 +03:30
)
}