Fix Coming soon

This commit is contained in:
diyaa
2026-03-13 09:26:40 +01:00
parent 2b5e91377c
commit 0bb964f07e
16 changed files with 294 additions and 93 deletions
+9
View File
@@ -1,5 +1,14 @@
import { redirect } from "next/navigation";
import { isComingSoonMode } from "@/lib/site";
export default function RootPage() {
if (isComingSoonMode()) {
return (
<main className="coming-soon-page">
<h1 className="coming-soon-title">Coming Soon</h1>
</main>
);
}
redirect("/ar");
}