chore(publish): replace source tree with static export at repo root
Publish the prerendered static export (index.html, 404.html, cinema/,
c/, about/, for-cinemas/, for-film-lovers/, assets/, images/, og/,
sitemap.xml, robots.txt) as the site root and remove the React Router
+ Nitro source tree from this branch. Source remains available in
history at 0548772.
Note: public/sw.js here reports VERSION v2.0.5 while the removed source
tree (v2.1.0) was newer, and .gitignore was not carried over.
This commit is contained in:
1 parent
05487728a7
commit
e6c4ebff48
394 files changed
+3977
-37891
No files matched your search
@@ -1,26 +0,0 @@
|
||||
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