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 ไฟล์)
This commit is contained in:
1 parent
1e84023a44
commit
319c271d23
72 files changed
+4731
-765
No files matched your search
@@ -39,6 +39,18 @@ export const FACILITY_KEYS: FacilityKey[] = [
|
||||
|
||||
export type TransportKey = "private_car" | "metro" | "bus";
|
||||
|
||||
/**
|
||||
* ข้อความของหน้า "บทความ" ที่ใช้ร่วมกันสองหน้า
|
||||
* (สำหรับคนทำโรงหนัง / สำหรับคนรักหนัง) — แก้โครงครั้งเดียวมีผลทั้งคู่
|
||||
*/
|
||||
export type ArticleMessages = {
|
||||
title: string;
|
||||
lead: string;
|
||||
paragraphs: string[];
|
||||
contactHeading: string;
|
||||
contactNote: string;
|
||||
};
|
||||
|
||||
export type Messages = {
|
||||
meta: {
|
||||
homeDescription: string;
|
||||
@@ -63,6 +75,10 @@ export type Messages = {
|
||||
nav: {
|
||||
home: string;
|
||||
about: string;
|
||||
forCinemas: string;
|
||||
forFilmLovers: string;
|
||||
menu: string;
|
||||
language: string;
|
||||
};
|
||||
about: {
|
||||
title: string;
|
||||
@@ -71,6 +87,15 @@ export type Messages = {
|
||||
contactHeading: string;
|
||||
contactNote: string;
|
||||
};
|
||||
forCinemas: ArticleMessages;
|
||||
forFilmLovers: ArticleMessages;
|
||||
/** ข้อความปุ่ม/สถานะการแชร์ */
|
||||
share: {
|
||||
label: string;
|
||||
pageLabel: string;
|
||||
copied: string;
|
||||
failed: string;
|
||||
};
|
||||
list: {
|
||||
title: string;
|
||||
showMore: string;
|
||||
@@ -145,6 +170,10 @@ const TH: Messages = {
|
||||
nav: {
|
||||
home: "หน้าแรก",
|
||||
about: "เกี่ยวกับเรา",
|
||||
forCinemas: "สำหรับคนทำโรงหนัง",
|
||||
forFilmLovers: "สำหรับคนรักหนัง",
|
||||
menu: "เมนู",
|
||||
language: "ภาษา",
|
||||
},
|
||||
about: {
|
||||
title: "เกี่ยวกับเรา",
|
||||
@@ -171,6 +200,36 @@ const TH: Messages = {
|
||||
contactNote:
|
||||
"พบข้อมูลโรงหนังผิด ต้องการเพิ่มโรงใหม่ หรืออยากให้เราช่วยประชาสัมพันธ์กิจกรรม ใช้ช่องทางโซเชียลในส่วนท้ายของหน้าเว็บได้เลย",
|
||||
},
|
||||
forCinemas: {
|
||||
title: "สำหรับคนทำโรงหนัง",
|
||||
lead: "AlterFlixHub เปิดพื้นที่ให้โรงหนังอิสระ กลุ่มคนฉายหนัง และโรงหนังท้องถิ่นได้เล่าเรื่องของตัวเอง พร้อมรายละเอียดที่คนดูอยากรู้ก่อนออกจากบ้าน",
|
||||
paragraphs: [
|
||||
"โรงหนังเล็ก ๆ ในประเทศไทยมีเรื่องเล่าที่น่าสนใจไม่แพ้โรงใหญ่ แต่หลายโรงยังไม่มีพื้นที่สื่อสารกับคนดูอย่างเป็นระบบ ข้อมูลกระจัดกระจาย และคนดูก็หาไม่เจอ",
|
||||
"เราจึงเปิดพื้นที่ให้ทุกโรงสร้างหน้ารายละเอียดของตัวเองบน AlterFlixHub ระบุที่ตั้ง วิธีเดินทาง สิ่งอำนวยความสะดวก พร้อมภาพบรรยากาศจริง เพื่อให้คนดูตัดสินใจได้ก่อนเดินทาง",
|
||||
"ถ้าคุณดูแลโรงหนัง กลุ่มคนฉายหนัง หรือพื้นที่ฉายหนังชุมชน แล้วอยากมีหน้ารายละเอียดบน AlterFlixHub ส่งข้อมูลมาให้ทีมงานได้เลย เราช่วยตรวจข้อมูลและจัดหน้าให้ในช่วงเริ่มต้น",
|
||||
],
|
||||
contactHeading: "สนใจลงโรงหนังกับเรา",
|
||||
contactNote:
|
||||
"ส่งชื่อโรง ที่ตั้ง และภาพบรรยากาศมาให้ทีมงานผ่านช่องทางโซเชียลในส่วนท้ายของหน้าเว็บ เราจะติดต่อกลับภายใน 2 วันทำการ",
|
||||
},
|
||||
forFilmLovers: {
|
||||
title: "สำหรับคนรักหนัง",
|
||||
lead: "รวมทางเลือกสำหรับคนที่อยากดูหนังมากกว่าหนังกระแสหลัก — โรงอาร์ตเฮาส์ กลุ่มคนฉายหนัง และรอบฉายพิเศษที่คัดมาแล้ว",
|
||||
paragraphs: [
|
||||
"ถ้าคุณตามหาหนังที่ไม่ได้อยู่ในโรงใหญ่ AlterFlixHub ช่วยให้เจอโรงที่ฉายหนังนอกกระแส สารคดี หนังคลาสสิก และรอบฉายพิเศษได้ในไม่กี่คลิก",
|
||||
"ทุกโรงในเว็บมีข้อมูลที่คนดูอยากรู้ก่อนตัดสินใจ — ประเภทหนังที่ฉาย สิ่งอำนวยความสะดวก วิธีเดินทาง และภาพบรรยากาศจริง พร้อมปุ่ม “ใกล้ฉัน” ที่เรียงโรงจากใกล้สุดไปไกลสุดตามระยะทางถนนจริง",
|
||||
"อยากแนะนำโรงใหม่ กลุ่มฉายหนัง หรือกิจกรรมที่ควรอยู่ในหน้านี้ ส่งมาให้ทีมงานได้เลย เราตรวจข้อมูลและเพิ่มให้ทุกสัปดาห์",
|
||||
],
|
||||
contactHeading: "มีโรงหรือรอบฉายที่อยากแนะนำ",
|
||||
contactNote:
|
||||
"ส่งชื่อโรงหรือกิจกรรมพร้อมลิงก์มาให้ทีมงานผ่านช่องทางโซเชียลในส่วนท้ายของหน้าเว็บ เราจะตรวจและเพิ่มให้ทุกสัปดาห์",
|
||||
},
|
||||
share: {
|
||||
label: "แชร์",
|
||||
pageLabel: "แชร์หน้านี้",
|
||||
copied: "คัดลอกลิงก์แล้ว",
|
||||
failed: "แชร์ไม่สำเร็จ",
|
||||
},
|
||||
list: {
|
||||
title: "รายชื่อโรงหนังทุกประเภทและกลุ่มคนฉายหนัง",
|
||||
showMore: "แสดงเพิ่ม",
|
||||
@@ -256,7 +315,8 @@ const TH: Messages = {
|
||||
|
||||
const EN: Messages = {
|
||||
meta: {
|
||||
homeDescription: "Find independent cinemas — an alternative way to watch films",
|
||||
homeDescription:
|
||||
"Find independent cinemas — an alternative way to watch films",
|
||||
cinemaNotFoundTitle: "Cinema not found",
|
||||
},
|
||||
hero: {
|
||||
@@ -279,6 +339,10 @@ const EN: Messages = {
|
||||
nav: {
|
||||
home: "Home",
|
||||
about: "About us",
|
||||
forCinemas: "For cinemas",
|
||||
forFilmLovers: "For film lovers",
|
||||
menu: "Menu",
|
||||
language: "Language",
|
||||
},
|
||||
about: {
|
||||
title: "About us",
|
||||
@@ -305,6 +369,36 @@ const EN: Messages = {
|
||||
contactNote:
|
||||
"Spotted wrong information, want to add a cinema, or need help promoting a screening? Use the social links in the footer of any page.",
|
||||
},
|
||||
forCinemas: {
|
||||
title: "For cinemas",
|
||||
lead: "AlterFlixHub gives independent cinemas, screening collectives and local theatres a place to tell their own story — with the details filmgoers need before leaving home.",
|
||||
paragraphs: [
|
||||
"Small cinemas in Thailand have stories as compelling as the big chains, yet many still have no structured way to reach their audience: information is scattered and viewers cannot find them.",
|
||||
"This page opens a dedicated detail page for any cinema on AlterFlixHub — location, how to get there, facilities and real photos — so people can decide before they travel.",
|
||||
"If you run a cinema, a screening collective or a community screening space and want to be listed, send your information to our team. We verify the details and set the page up for you during the launch period.",
|
||||
],
|
||||
contactHeading: "Want your cinema listed?",
|
||||
contactNote:
|
||||
"Send your cinema name, address and a few photos through the social links in the footer — we reply within two business days.",
|
||||
},
|
||||
forFilmLovers: {
|
||||
title: "For film lovers",
|
||||
lead: "A curated path for anyone who wants more than the mainstream — arthouse screens, screening collectives and special programmes, all in one place.",
|
||||
paragraphs: [
|
||||
"If you are looking for films that never reach the multiplex, AlterFlixHub helps you find the cinemas showing independent titles, documentaries, classics and special programmes in a few clicks.",
|
||||
"Every cinema listed comes with the details that matter before you leave home — genres, facilities, how to get there and real photos — plus a “Near me” button that sorts everything by real road distance.",
|
||||
"Know a cinema, a screening collective or an event that belongs here? Send it to our team and we will review it — new listings are added every week.",
|
||||
],
|
||||
contactHeading: "Know a cinema or a screening we should add?",
|
||||
contactNote:
|
||||
"Send the name and a link through the social channels in the footer — we review new listings every week.",
|
||||
},
|
||||
share: {
|
||||
label: "Share",
|
||||
pageLabel: "Share this page",
|
||||
copied: "Link copied",
|
||||
failed: "Couldn't share",
|
||||
},
|
||||
list: {
|
||||
title: "Local cinemas, indie screens and film collectives",
|
||||
showMore: "Show more",
|
||||
|
||||
Reference in new issue
Block a user