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.
1 line
3.5 KiB
JavaScript
1 line
3.5 KiB
JavaScript
import{a as e}from"./components-LggAOTeO.js";import{a as t,o as n,r}from"./IconCheck-B3jDJthn.js";import{t as i}from"./jsx-runtime-fBfwind-.js";import{r as a}from"./messages-nFlHChGW.js";import{t as o}from"./IconArrowBackUp-9ZWnW9Am.js";import{n as s}from"./footer-icons-kTf1LTdH.js";import{a as c,i as l,r as u,t as d}from"./SiteShell-DHgUrms6.js";import{a as f,n as p}from"./seo-CukKNP_H.js";var m=i(),h=a.th;function g({loaderData:e}){let t=e?.origin??``,n=`${h.about.title} — AlterFlixHub`,r=h.about.lead;return[...f({origin:t,title:n,description:r,path:`/about`}),...p(t,[{name:`หน้าแรก`,path:`/`},{name:h.about.title,path:`/about`}])]}function _({section:e,index:t}){let{ref:n,revealed:r,style:i}=c(t%2*80);return(0,m.jsxs)(`article`,{ref:n,"data-reveal":`rise`,"data-revealed":r?``:void 0,style:{...i,border:`1px solid ${u.border}`},className:`mb-8 flex break-inside-avoid flex-col gap-5 rounded-xl bg-[#1B1B1B]/70 p-7 backdrop-blur-sm transition-colors duration-300 hover:bg-[#1B1B1B] md:p-8`,children:[(0,m.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,m.jsx)(`span`,{className:`flex size-12 shrink-0 items-center justify-center rounded-full text-sm font-semibold text-[#D47272]`,style:{background:`rgba(143,8,8,0.16)`,border:`1px solid rgba(169,38,38,0.45)`},"aria-hidden":`true`,children:String(t+1).padStart(2,`0`)}),(0,m.jsx)(`h2`,{className:`text-2xl font-semibold leading-[1.3]`,children:e.heading})]}),(0,m.jsx)(`p`,{className:`font-content text-[17px] leading-[1.95] text-[#C7C7C7] md:text-[18px]`,children:e.body})]})}var v=e(function(){let{messages:e,locale:i}=r(),{site:a,about:c}=t(),u=c[i];return(0,m.jsx)(d,{variant:`detail`,children:(0,m.jsxs)(`main`,{className:`relative z-10 mx-auto flex w-full max-w-[1440px] flex-col gap-10 px-5 pb-16 pt-4 md:px-[108px] md:pt-6`,children:[(0,m.jsx)(l,{kind:`fade`,children:(0,m.jsxs)(n,{to:`/`,className:`inline-flex w-fit items-center gap-2 text-xl font-medium transition hover:text-[#D47272]`,children:[(0,m.jsx)(o,{size:24}),e.nav.home]})}),(0,m.jsxs)(l,{delay:40,className:`flex flex-col gap-4`,children:[(0,m.jsx)(`h1`,{className:`text-[32px] font-bold leading-[1.3] md:text-[40px]`,children:u.title}),(0,m.jsx)(`p`,{className:`font-content max-w-[860px] text-[19px] leading-[1.8] text-[#C4C4C4] md:text-[21px]`,children:u.lead})]}),(0,m.jsx)(`section`,{className:`gap-6 lg:columns-2`,children:u.sections.map((e,t)=>(0,m.jsx)(_,{section:e,index:t},`${e.heading}-${t}`))}),(0,m.jsx)(l,{kind:`fade`,children:(0,m.jsxs)(`section`,{className:`flex flex-col gap-6 rounded-xl p-6 backdrop-blur-sm lg:flex-row lg:items-center lg:justify-between`,style:{border:`1px solid rgba(169,38,38,0.45)`,background:`linear-gradient(180deg, rgba(143,8,8,0.18) 0%, rgba(27,27,27,0.85) 65%, rgba(13,13,13,0.7) 100%)`},children:[(0,m.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,m.jsx)(`h2`,{className:`text-2xl font-semibold leading-[1.3]`,children:u.contactHeading}),(0,m.jsx)(`p`,{className:`font-content max-w-[720px] text-[16px] leading-[1.9] text-[#C4C4C4] md:text-[17px]`,children:u.contactNote})]}),a.footer.length>0?(0,m.jsx)(`div`,{className:`flex flex-wrap items-center gap-2`,children:a.footer.map(e=>{let t=s(e.icon_name);return(0,m.jsx)(`a`,{href:e.href,"aria-label":e.label,title:e.label,target:`_blank`,rel:`noreferrer`,className:`flex size-11 items-center justify-center rounded-full bg-white/90 text-[#0D0D0D] transition hover:bg-white`,children:(0,m.jsx)(t,{size:20})},e.id)})}):null]})})]})})});export{v as default,g as meta}; |