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
+69
@@ -0,0 +1,69 @@
|
||||
<!DOCTYPE html><html lang="th"><head><script data-agent-native-chunk-recovery-bootstrap>(()=>{
|
||||
const queryParam="__agentNativeChunkRecovery";
|
||||
const queryValue="1";
|
||||
const cacheBusterParam="__agentNativeChunkRecoveryRequest";
|
||||
const pathSuffix="/__agent-native-chunk-recovery";
|
||||
const originalHashParam="__agentNativeRecoveryOriginalHash";
|
||||
const reloadKey="__agentNativeStaleChunkReloadAt";
|
||||
const warmupAttr="data-agent-native-route-warmup";
|
||||
const externalEmbedKey="__AGENT_NATIVE_EXTERNAL_EMBED";
|
||||
const exhaustedKey="__agentNativeStaleChunkRecoveryExhausted";
|
||||
const exhaustedEvent="agent-native:stale-chunk-recovery-exhausted";
|
||||
document.addEventListener("error",event=>{
|
||||
const target=event.target;
|
||||
const tag=target?.tagName?.toUpperCase();
|
||||
const failedModuleScript=tag==="SCRIPT"&&target.type?.toLowerCase()==="module";
|
||||
const failedModulePreload=tag==="LINK"&&/(?:^|\s)modulepreload(?:\s|$)/i.test(target.getAttribute?.("rel")||target.rel||"")&&!target.hasAttribute?.(warmupAttr);
|
||||
if(!failedModuleScript&&!failedModulePreload||/AgentNativeDesktop/i.test(navigator.userAgent))return;
|
||||
if(window[externalEmbedKey]){
|
||||
if(!window[exhaustedKey]){
|
||||
const detail={reason:"external-embed"};
|
||||
window[exhaustedKey]=detail;
|
||||
if(typeof window.dispatchEvent==="function"&&typeof CustomEvent==="function")window.dispatchEvent(new CustomEvent(exhaustedEvent,{detail}));
|
||||
}
|
||||
return;
|
||||
}
|
||||
if(/^(localhost|127\.0\.0\.1|\[::1\])$/.test(location.hostname))return;
|
||||
const url=new URL(location.href);
|
||||
if(url.pathname.endsWith(pathSuffix)||url.pathname.endsWith(pathSuffix+"/")||url.searchParams.get(queryParam)===queryValue)return;
|
||||
const now=Date.now();
|
||||
let last=Number(window[reloadKey])||0;
|
||||
try{
|
||||
last=Math.max(last,Number(sessionStorage.getItem(reloadKey))||0);
|
||||
if(last>0&&now-last<=10000)return;
|
||||
sessionStorage.setItem(reloadKey,String(now));
|
||||
}catch{
|
||||
last=Number(window[reloadKey])||0;
|
||||
if(last>0&&now-last<=10000)return;
|
||||
}
|
||||
window[reloadKey]=now;
|
||||
const originalHash=url.hash;
|
||||
const trailingSlash=url.pathname.endsWith("/")?"/":"";
|
||||
const routePath=trailingSlash?url.pathname.slice(0,-1):url.pathname;
|
||||
url.pathname=(routePath==="/"?"":routePath)+pathSuffix+trailingSlash;
|
||||
url.searchParams.delete(queryParam);
|
||||
url.searchParams.delete(cacheBusterParam);
|
||||
const recoveryHash=new URLSearchParams();
|
||||
recoveryHash.set(cacheBusterParam,now.toString(36));
|
||||
recoveryHash.set(originalHashParam,originalHash);
|
||||
url.hash=recoveryHash.toString();
|
||||
location.assign(url.href);
|
||||
event.stopImmediatePropagation();
|
||||
},true);
|
||||
})();</script><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="image" href="/images/hero.png"/><meta name="theme-color" content="#0D0D0D"/><meta name="mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/><meta name="apple-mobile-web-app-title" content="AlterFlixHub"/><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="manifest" href="/manifest.json"/><link rel="apple-touch-icon" sizes="180x180" href="/icon-180.png"/><title>AlterFlixHub — โรงหนังอิสระ อาร์ตเฮาส์ และกลุ่มคนฉายหนังในไทย</title><meta name="description" content="ค้นหาโรงภาพยนตร์อิสระ ทางเลือกในการดูหนัง"/><meta name="robots" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1"/><link rel="canonical" href="http://127.0.0.1:8090/"/><meta property="og:type" content="website"/><meta property="og:site_name" content="AlterFlixHub"/><meta property="og:locale" content="th_TH"/><meta property="og:title" content="AlterFlixHub — โรงหนังอิสระ อาร์ตเฮาส์ และกลุ่มคนฉายหนังในไทย"/><meta property="og:description" content="ค้นหาโรงภาพยนตร์อิสระ ทางเลือกในการดูหนัง"/><meta property="og:url" content="http://127.0.0.1:8090/"/><meta property="og:image" content="http://127.0.0.1:8090/og/alterflixhub-1200x630.png"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:image:alt" content="AlterFlixHub"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="AlterFlixHub — โรงหนังอิสระ อาร์ตเฮาส์ และกลุ่มคนฉายหนังในไทย"/><meta name="twitter:description" content="ค้นหาโรงภาพยนตร์อิสระ ทางเลือกในการดูหนัง"/><meta name="twitter:image" content="http://127.0.0.1:8090/og/alterflixhub-1200x630.png"/><link rel="modulepreload" href="/assets/manifest-3ed6c1bd.js"/><link rel="modulepreload" href="/assets/entry.client-CrdiPMsF.js"/><link rel="modulepreload" href="/assets/react-B8IZ02wI.js"/><link rel="modulepreload" href="/assets/api-path-DiLUeLL2.js"/><link rel="modulepreload" href="/assets/client-BXMKfmWK.js"/><link rel="modulepreload" href="/assets/react-dom-0ZK-Lw7i.js"/><link rel="modulepreload" href="/assets/components-LggAOTeO.js"/><link rel="modulepreload" href="/assets/components-BPFOGuol.js"/><link rel="modulepreload" href="/assets/jsx-runtime-fBfwind-.js"/><link rel="modulepreload" href="/assets/preload-helper-CZgWQFsJ.js"/><link rel="modulepreload" href="/assets/root-CJibcm3H.js"/><link rel="modulepreload" href="/assets/IconCheck-B3jDJthn.js"/><link rel="modulepreload" href="/assets/analytics-hbCOwHmS.js"/><link rel="modulepreload" href="/assets/share-origin-COlEIvGo.js"/><link rel="modulepreload" href="/assets/app-config-4aQIl_Vd.js"/><link rel="modulepreload" href="/assets/motion-DOH2EXPt.js"/><link rel="modulepreload" href="/assets/use-session-DJs-YY25.js"/><link rel="modulepreload" href="/assets/createReactComponent-C-DRqPhY.js"/><link rel="modulepreload" href="/assets/messages-nFlHChGW.js"/><link rel="modulepreload" href="/assets/optional-peer-BHoJSOIB.js"/><link rel="modulepreload" href="/assets/session-replay-endpoint-CkXvYk-L.js"/><link rel="modulepreload" href="/assets/_index-g0X6vG1R.js"/><link rel="modulepreload" href="/assets/CinemaGrid-DJMjtFke.js"/><link rel="modulepreload" href="/assets/SiteShell-DHgUrms6.js"/><link rel="modulepreload" href="/assets/seo-CukKNP_H.js"/><link rel="modulepreload" href="/assets/cinemas-CTA3vCte.js"/><link rel="modulepreload" href="/assets/footer-icons-kTf1LTdH.js"/><script>(function(){var root=document.documentElement;var fallback="original";try{var value=window.localStorage.getItem("theme-family:__no_app_id__");if(value===null){root.setAttribute("data-theme-family",fallback);root.setAttribute("data-theme-family-status",'awaiting-app-setting');return}if(value==='agent-native'||value==='original'){root.setAttribute("data-theme-family",value);root.removeAttribute("data-theme-family-status");return}root.setAttribute("data-theme-family",fallback);root.setAttribute("data-theme-family-status",'invalid')}catch(e){root.setAttribute("data-theme-family",fallback);root.setAttribute("data-theme-family-status",'unreadable')}})();
|
||||
(function(){function m(){var d={};return{get length(){return Object.keys(d).length},key:function(i){return Object.keys(d)[i]||null},getItem:function(k){k=String(k);return Object.prototype.hasOwnProperty.call(d,k)?d[k]:null},setItem:function(k,v){d[String(k)]=String(v)},removeItem:function(k){delete d[k]},clear:function(){d={}}}}function s(n){try{var x=window[n],p='__an_storage_probe__';x.setItem(p,'1');x.removeItem(p)}catch(e){try{Object.defineProperty(window,n,{configurable:true,value:m()})}catch(_){}}}s('localStorage');s('sessionStorage');try{var defaultTheme="system";var enableSystem=true;var stored=window.localStorage.getItem('theme');var valid=stored==='light'||stored==='dark'||stored==='system'||stored==='auto';var mode=valid?stored:defaultTheme;if(mode==='auto')mode='system';if(!enableSystem&&mode==='system')mode=defaultTheme==='system'?'light':defaultTheme;if(!valid){window.localStorage.removeItem('theme')}else if(stored!==mode){window.localStorage.setItem('theme',mode)}var prefersDark=enableSystem&&mode==='system'&&window.matchMedia&&window.matchMedia('(prefers-color-scheme: dark)').matches;var resolved=mode==='system'?(prefersDark?'dark':'light'):mode;var root=document.documentElement;root.classList.remove('light','dark');root.classList.add(resolved);root.setAttribute('data-theme',resolved);root.style.colorScheme=resolved;var appearance=window.localStorage.getItem('appearance');var appearanceValid=appearance==='warm'||appearance==='ocean'||appearance==='forest'||appearance==='rose'||appearance==='slate';if(appearanceValid){root.setAttribute('data-appearance',appearance)}else{root.removeAttribute('data-appearance');if(appearance!==null)window.localStorage.removeItem('appearance')}}catch(e){document.documentElement.setAttribute('data-theme-status','unreadable')}})();</script><script>(function(){try{var m=window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)");if(m&&m.matches){return}document.documentElement.classList.add("fx-motion")}catch(e){}})();</script><script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":"http://127.0.0.1:8090/#website","url":"http://127.0.0.1:8090/","name":"AlterFlixHub","description":"รวมโรงหนังอิสระและอาร์ตเฮาส์ในประเทศไทยไว้ที่เดียว พร้อมที่ตั้ง วิธีเดินทาง สิ่งอำนวยความสะดวก และปุ่มหาภาพยนตร์โรงใกล้ฉัน","inLanguage":"th-TH","publisher":{"@id":"http://127.0.0.1:8090/#organization"},"potentialAction":{"@type":"SearchAction","target":"http://127.0.0.1:8090/?q={search_term_string}","query-input":"required name=search_term_string"}},{"@type":"Organization","@id":"http://127.0.0.1:8090/#organization","name":"AlterFlixHub","url":"http://127.0.0.1:8090/","logo":"http://127.0.0.1:8090/icon-512.png"}]}</script><link rel="stylesheet" href="/assets/global-DjioL_Jq.css"/><script data-agent-native-sentry-config>window.__AGENT_NATIVE_CONFIG__=Object.assign({},window.__AGENT_NATIVE_CONFIG__,{"deploymentEnvironment":"production"});</script><script data-agent-native-app-origin-config>window.__AGENT_NATIVE_CONFIG__=Object.assign({},window.__AGENT_NATIVE_CONFIG__,{"appHomePath":"/"});</script></head><body><div class="flex h-screen w-full flex-col overflow-hidden bg-background text-foreground"><main class="agent-native-app-main min-w-0 flex-1 overflow-y-auto overscroll-contain"><div class="relative flex min-h-dvh w-full flex-col overflow-x-hidden bg-[#0D0D0D] text-white"><div aria-hidden="true" class="pointer-events-none absolute inset-0 overflow-hidden"><img src="/images/hero.png" alt="" class="fx-hero-image pointer-events-none absolute inset-x-0 top-0 h-[553px] w-full object-cover"/><div class="pointer-events-none absolute inset-x-0 top-0 h-[553px] bg-gradient-to-b from-transparent via-[#0D0D0D]/60 to-[#0D0D0D]"></div><div class="pointer-events-none absolute left-1/2 top-0 size-[382px] -translate-x-1/2 -translate-y-1/2 rounded-full bg-[#8F0808] blur-[237px]"></div><div class="pointer-events-none absolute bottom-[-140px] left-1/2 size-[382px] -translate-x-1/2 rounded-full bg-[#4C0404]/70 blur-[237px]"></div></div><header class="fx-drop relative z-10 mx-auto flex h-[68px] w-full max-w-[1440px] items-center justify-between gap-3 px-5 md:px-[108px]"><a aria-label="AlterFlixHub — หน้าแรก" class="shrink-0" href="/" data-discover="true"><span class="font-['Jersey_15'] leading-none text-4xl " style="font-family:'Jersey 15', sans-serif;color:#8F0808">AlterFlixHub</span></a><div class="flex items-center gap-1.5 sm:gap-2"><details class="group relative sm:hidden"><summary class="flex min-h-10 cursor-pointer list-none items-center rounded-lg border border-[#303030] px-3 text-sm text-[#B3B3B3] transition hover:border-[#A92626]/60 hover:text-white [&::-webkit-details-Line truncated
|
||||
import * as route0 from "/assets/root-CJibcm3H.js";
|
||||
import * as route1 from "/assets/_index-g0X6vG1R.js";
|
||||
|
||||
window.__reactRouterRouteModules = {"root":route0,"routes/_index":route1};
|
||||
|
||||
import("/assets/entry.client-CrdiPMsF.js");</script><!--$--><script>window.__reactRouterContext.streamController.enqueue("[{\"_1\":2,\"_3\":-5,\"_4\":-5},\"loaderData\",{\"_5\":6,\"_7\":8},\"actionData\",\"errors\",\"root\",{\"_31\":32,\"_33\":-5,\"_34\":14,\"_35\":14},\"routes/_index\",{\"_9\":10,\"_11\":12,\"_13\":14},\"popularity\",{\"_15\":16,\"_17\":18,\"_19\":20,\"_21\":22,\"_23\":24,\"_25\":26,\"_27\":28,\"_29\":30},\"orderKey\",\"2026-11-21\",\"origin\",\"http://127.0.0.1:8090\",\"ready\",false,\"history_days\",21,\"days_remaining\",159,\"window_days\",90,\"total_events\",526,\"ranking\",[],\"slugs\",[],\"computed_at\",\"2026-11-21T08:41:33.884Z\",\"content\",{\"_36\":37,\"_38\":39,\"_40\":41,\"_42\":43,\"_44\":45},\"localeFromUrl\",\"siteUrl\",\"shareOrigin\",\"cinemas\",[557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585],\"site\",{\"_147\":148,\"_149\":150,\"_151\":152},\"about\",{\"_46\":108,\"_48\":109},\"forCinemas\",{\"_46\":82,\"_48\":83},\"forFilmLovers\",{\"_46\":47,\"_48\":49},\"th\",{\"_50\":69,\"_52\":70,\"_54\":71,\"_56\":72,\"_58\":73},\"en\",{\"_50\":51,\"_52\":53,\"_54\":55,\"_56\":57,\"_58\":59},\"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.\",\"blocks\",[60,61,62],\"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.\",{\"_63\":64,\"_65\":68},{\"_63\":64,\"_65\":67},{\"_63\":64,\"_65\":66},\"type\",\"paragraph\",\"text\",\"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.\",\"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.\",\"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.\",\"สำหรับคนรักหนัง\",\"รวมทางเลือกสำหรับคนที่อยากดูหนังนอกจากเครือโรงหนังเจ้าตลาด\",[74,75,76,77],\"มีโรงหรือรอบฉายที่อยากแนะนำ\",\"ส่งชื่อโรงหรือกิจกรรมพร้อมลิงก์มาให้เราผ่านทางอีเมลล์\",{\"_63\":64,\"_65\":81},{\"_63\":64,\"_65\":80},{\"_63\":64,\"_65\":79},{\"_63\":64,\"_65\":78},\"ถ้าถามว่าแก้ปัญหายังไง เราว่าคนรักหนังคงต้องรุมเขียนร้องเรียนไปให้สภาคุ้มครองของผู้บริโภคให้ดำเนินการทางกฎหมายต่อคณะกรรมการแข่งขันทางการค้าที่ปล่อยให้เกิดการผูกขาดในอุตสาหกรรมโรงหนังไทย\",\"ปัญหาของอุตสหกรรมโรงหนังไทย เท่าที่รวบรวมมามีปัญหา 2 มุม คือปัญหาภายนอก และปัญหาภายใน ปัญหาภายนอกที่ไม่มีใครทำอะไรได้ ปัจจุบันมีตัวหารกิจกรรมของคนเราเยอะ ไม่อยากให้เจาะจงว่า เป็น netflix หรือ youtube อยากกล่าวรวมๆมันทำให้เรามีเวลาไปดูหนังน้อยลง หรือช่วงโควิคนี่ก็ใช่ เคอฟิวหลังรัฐประหารทำให้โรงหนังปิดไวขึ้นก็ใช่ แต่ทั้งหมดยังไม่สาหัสเท่าปัญหาภายใน คือรัฐบาลปล่อยปะละเลยให้กลุ่มทุนทำธุรกิจตั้งแต่ค่ายหนัง ผู้นำเข้าและจัดจำหน่าย และเครือโรงหนัง จนมีอำนาจเหนือตลาด คือถ้าเป็นผู้นำตลาดยังเรื่องปกติ หรือถ้าจะทำธุรกิจครบ 3 ขั้นตอนก็ได้แต่ควรมีโควต้าจำกัดLine truncated
|
||||
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>
|
||||
Reference in new issue
Block a user