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.
90 lines
2.6 KiB
HTML
90 lines
2.6 KiB
HTML
<!doctype html>
|
|
<html lang="th">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>ออฟไลน์อยู่ — AlterFlixHub</title>
|
|
<meta name="theme-color" content="#0D0D0D" />
|
|
<style>
|
|
:root {
|
|
color-scheme: dark;
|
|
}
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
min-height: 100dvh;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 24px;
|
|
background:
|
|
radial-gradient(
|
|
380px 380px at 50% 0%,
|
|
rgba(143, 8, 8, 0.55),
|
|
transparent 70%
|
|
),
|
|
#0d0d0d;
|
|
color: #fff;
|
|
font-family:
|
|
"Inter Variable", Inter, "Noto Sans Thai", system-ui, sans-serif;
|
|
}
|
|
main {
|
|
max-width: 460px;
|
|
text-align: center;
|
|
}
|
|
.logo {
|
|
display: inline-block;
|
|
color: #8f0808;
|
|
font-size: 30px;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
h1 {
|
|
margin: 20px 0 8px;
|
|
font-size: 22px;
|
|
line-height: 1.4;
|
|
}
|
|
p {
|
|
margin: 0 0 24px;
|
|
color: #b3b3b3;
|
|
font-size: 15px;
|
|
line-height: 1.7;
|
|
}
|
|
a {
|
|
display: inline-block;
|
|
padding: 12px 22px;
|
|
border-radius: 10px;
|
|
border: 1px solid #8f0808;
|
|
background: #8f0808;
|
|
color: #fff;
|
|
font-size: 15px;
|
|
text-decoration: none;
|
|
touch-action: manipulation;
|
|
}
|
|
a:focus-visible {
|
|
outline: 2px solid #d47272;
|
|
outline-offset: 3px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<span class="logo">AlterFlixHub</span>
|
|
<h1>ตอนนี้ออฟไลน์อยู่</h1>
|
|
<p>
|
|
หน้าเว็บที่เคยเปิดไว้ยังดูได้ แต่ต้องต่ออินเทอร์เน็ตก่อนเพื่อโหลดข้อมูลโรงหนังชุดล่าสุด
|
|
</p>
|
|
<a href="/">ลองอีกครั้ง</a>
|
|
</main>
|
|
<script data-static-export-nav>(()=>{
|
|
document.addEventListener("click",(event)=>{
|
|
if(event.defaultPrevented||event.button!==0||event.metaKey||event.ctrlKey||event.shiftKey||event.altKey)return;
|
|
const anchor=event.target instanceof Element?event.target.closest("a[href]"):null;
|
|
if(!anchor||!anchor.getAttribute("href").startsWith("/")||anchor.target&&anchor.target!=="_self"||anchor.hasAttribute("download"))return;
|
|
event.preventDefault();
|
|
event.stopImmediatePropagation();
|
|
location.assign(anchor.getAttribute("href"));
|
|
},true);
|
|
})();</script></body>
|
|
</html>
|