reboot alterflixhub
This commit is contained in:
commit
1e84023a44
188 files changed
+31629
No files matched your search
@@ -0,0 +1,26 @@
|
||||
import { Link } from "react-router";
|
||||
|
||||
import { SiteShell } from "@/components/site/SiteShell";
|
||||
import { useI18n } from "@/lib/i18n";
|
||||
import { COLORS } from "@/lib/design-tokens";
|
||||
|
||||
/** หน้า fallback เมื่อ slug ไม่ตรงกับโรงหนังที่มีอยู่ */
|
||||
export function CinemaNotFound() {
|
||||
const { messages } = useI18n();
|
||||
|
||||
return (
|
||||
<SiteShell variant="detail">
|
||||
<main className="relative z-10 mx-auto flex max-w-[1440px] flex-col items-center gap-6 px-5 py-32 text-center md:px-[108px]">
|
||||
<h1 className="text-3xl font-bold">{messages.notFound.title}</h1>
|
||||
<p className="text-[#B3B3B3]">{messages.notFound.text}</p>
|
||||
<Link
|
||||
to="/"
|
||||
className="rounded-lg px-6 py-2 font-medium"
|
||||
style={{ background: COLORS.brand }}
|
||||
>
|
||||
{messages.notFound.cta}
|
||||
</Link>
|
||||
</main>
|
||||
</SiteShell>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user