fix seo and first page and 404 page

This commit is contained in:
2026-02-19 22:57:49 +03:30
parent 7b73faf32d
commit 234315ce52
13 changed files with 176 additions and 29 deletions
+30 -12
View File
@@ -1,21 +1,39 @@
import Link from 'next/link'
import { Button } from '@/components/ui/button'
import { Home } from 'lucide-react'
export const metadata = {
title: '۴۰۴',
description: 'صفحه‌ای که دنبال آن هستید یافت نشد.',
}
export default function NotFound() {
return (
<div className="flex min-h-[60vh] flex-col items-center justify-center gap-6 px-4 text-center">
<h1 className="text-4xl font-bold text-foreground">۴۰۴</h1>
<p className="text-muted-foreground max-w-md">
صفحه‌ای که دنبال آن هستید یافت نشد.
</p>
<div className="flex flex-wrap gap-3 justify-center">
<Button asChild>
<Link href="/">صفحه اصلی</Link>
</Button>
<Button asChild variant="outline">
<Link href="/consulting">مشاوره سازمانی</Link>
<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="text-[8rem] md:text-[10rem] font-black leading-none tracking-tighter text-transparent bg-clip-text bg-gradient-to-b from-primary/90 to-primary/50 select-none"
aria-hidden
>
۴۰۴
</span>
</div>
<h1 className="text-2xl font-bold text-foreground mb-3">
صفحه پیدا نشد
</h1>
<p className="text-muted-foreground mb-10 max-w-sm mx-auto leading-relaxed">
به نظر می‌رسد این آدرس وجود ندارد یا منتقل شده است.
</p>
<Button asChild size="lg" className="gap-2">
<Link href="/">
<Home className="size-5" />
صفحه اصلی
</Link>
</Button>
</div>
</div>
</section>
)
}