feat: add service-down error page

This commit is contained in:
2026-02-09 23:08:08 +07:00
parent 48b3dbdab3
commit 5baf988984
12 changed files with 89 additions and 21 deletions

View File

@ -0,0 +1,7 @@
import { redirect } from "next/navigation";
const page = () => {
redirect("/");
};
export default page;

View File

@ -0,0 +1,13 @@
import Navbar from "@/shared/widgets/navbar/components/Navbar";
import React from "react";
const layout = ({ children }: Readonly<{ children: React.ReactNode }>) => {
return (
<div className="max-w-400 mx-auto relative">
<Navbar />
<div className="pt-16">{children}</div>
</div>
);
};
export default layout;

View File

@ -0,0 +1,5 @@
import HomeIndex from "@/features/home";
export default function Page() {
return <HomeIndex />;
}