2 lines
809 B
JavaScript
2 lines
809 B
JavaScript
import{u as p,d as m,_}from"./DVi3MDgj.js";import{d,aP as g,aT as v,b5 as f,ba as b,s,a as C,f as y,b6 as h,b8 as x,c as I,o as w}from"./CAXEY8cS.js";import"./BN_7HF1G.js";const P=d({__name:"landing",async setup(k){let a,t;const n=g(),{locale:u,isEnabled:c}=v(),o=I(()=>c.value?`landing_${u.value}`:"landing"),{data:e}=([a,t]=f(()=>h(o.value,()=>x(o.value).path(n.path).first(),"$28Fbc0vx8b")),a=await a,t(),a);if(!e.value)throw b({statusCode:404,statusMessage:"Page not found",fatal:!0});const l=e.value.seo?.title||e.value.title,r=e.value.seo?.description||e.value.description;return p({title:l,description:r,type:"website",ogImage:e.value?.seo?.ogImage}),e.value?.seo?.ogImage||m("Landing",{}),(A,B)=>{const i=_;return s(e)?(w(),C(i,{key:0,value:s(e)},null,8,["value"])):y("",!0)}}});export{P as default};
|