Files
web-alterflixhub/public/offline.html
T
Bkk1234 319c271d23 feat: บทความ 2 หน้า + แชร์/ลิงก์ย่อ + PWA + แอนิเมชัน + SEO/AI + เอกสาร
- บทความจากหลังบ้าน: /for-film-lovers, /for-cinemas (ArticlePage + ArticleEditor แบบบล็อกย่อหน้า/รูป)
- แชร์: ปุ่มบนการ์ดและท้ายหน้ารายละเอียด · ลิงก์ย่อ /c/<slug> (302) · ธีมแก้วตาม DESIGN.md
- PWA: manifest/sw/offline + ถอดการล็อกซูม (WCAG 1.4.4) + touch target ≥44px
- แอนิเมชัน reveal: IntersectionObserver + gate ด้วย html.fx-motion · เคารพ prefers-reduced-motion
- ค้นหา: normalize/ตัดวรรณยุกต์ + AND หลายคำ + จัดอันดับ · รองรับ /?q= จาก SearchAction
- SEO: pageMeta (canonical/OG/Twitter) + JSON-LD (WebSite/Organization/BreadcrumbList/MovieTheater/Article)
- ไม่ฝังโดเมนในโค้ด: origin มาจาก request (x-forwarded-host/proto) ทั้ง canonical, sitemap, robots, ลิงก์แชร์
- กัน AI: robots.txt (Nitro route, บล็อก AI 21 ตัว) + ai.txt + OG image 1200x630
- เอกสาร: README สรุปโปรเจกต์, DESIGN.md (motion/PWA/SEO/ข้อมูล), architecture.html, admin-guide
- tests: 135 ผ่าน (16 ไฟล์)
2026-11-10 02:31:10 +07:00

81 lines
2.1 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>
</body>
</html>