feat: full site build — Project/Melody schema (Option A), admin CRUD, public sections, uploads, email+SMTP, internal analytics, legal pages, docs
This commit is contained in:
+4
-4
@@ -1,8 +1,8 @@
|
||||
import Link from "next/link";
|
||||
import { isComingSoonMode } from "@/lib/site";
|
||||
import { isSiteClosedMode } from "@/lib/site";
|
||||
|
||||
export default function NotFound() {
|
||||
const comingSoon = isComingSoonMode();
|
||||
const siteClosed = isSiteClosedMode();
|
||||
|
||||
return (
|
||||
<main className="page-content">
|
||||
@@ -11,14 +11,14 @@ export default function NotFound() {
|
||||
<p className="eyebrow">404</p>
|
||||
<h1>الصفحة غير موجودة</h1>
|
||||
<p className="lead">
|
||||
{comingSoon
|
||||
{siteClosed
|
||||
? "الصفحة المطلوبة غير متاحة حاليًا. يمكنك العودة إلى الصفحة الرئيسية."
|
||||
: "الصفحة المطلوبة غير متاحة حاليًا. يمكنك العودة إلى النسخة العربية أو الإنجليزية من الصفحة الرئيسية."}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="cta-row">
|
||||
{comingSoon ? (
|
||||
{siteClosed ? (
|
||||
<Link href="/" className="cta-btn">
|
||||
العودة إلى الرئيسية
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user