PageSourceSearch

https://thinggaard.dk/assets/ThinggaardHome-IdWPRNwi.js

js thinggaard.dk collected 2026-10-04 14:37:37 UTC 17,441 bytes, 1 lines download raw bytes

1import{j as e,L as l,v as d,A as x,J as H,dO as T,x as $,ap as z,dP as M,dQ as A,k as w,M as q,aq as b,dR as y,aW as L,dS as P,av as B,dT as R}from"./index-C2KlasXz.js";import{H as F}from"./HeroWithSearch-4QqUCDRf.js";import{T as G}from"./TrustBox-DSkibjoY.js";import{E}from"./EditableContent-BupauXGv.js";import{u as O}from"./usePublishedInlineContent-C_AB3rN7.js";import{C as U}from"./clock-Bp4jq3hu.js";import{C as Q}from"./calendar-CVNBS7Nj.js";import{P as W}from"./plane-C-OqHIBv.js";import{C as K}from"./car-Boi02PEg.js";import{B as D}from"./bus-DvTjbbxr.js";const J="/__l5e/assets-v1/c1442bac-5ea1-4a46-be49-89edf3a06a9b/thinggaard-hero-family-ski.jpg",V={url:J},C="https://bvasyxwbqeohdgdifeqi.supabase.co/storage/v1/object/public/property-images/migrate/home",j={hero:V.url,transportFly:`${C}/transport-fly.jpg`,transportCar:`${C}/transport-koer-selv.jpg`,transportBus:`${C}/transport-bus.png`},n="https://bvasyxwbqeohdgdifeqi.supabase.co/storage/v1/object/public/property-images/migrate/pages",Y=[{href:"/koer-selv-skiferie",title:"Kør-selv skiferie",desc:"Kør selv-skiferier kombinerer både komfort, fleksibilitet og favorable priser.",image:`${n}/koer-selv-skiferie/koer-selv-skiferie-scaled.jpg`,alt:"Kør selv skiferie til Østrig, Frankrig, Italien, Sverige eller Norge"},{href:"/skiferie-uge-7",title:"Skiferie uge 7 – vinterferien",desc:"En skiferie i uge 7 eller 8 midt i skolernes vinterferie er nærmest sagnomspundet og helt magisk.",image:`${n}/skiferie-uge-7/hameau-du-kashmir-9.jpg`,alt:"Skiområde i vinterferien"},{href:"/skiferie-paaske",title:"Skiferie i påsken",desc:"Skiferie i påsken kan byde på glimrende forhold i de europæiske alper.",image:`${n}/skiferie-paaske/val-thorens-34.png`,alt:"Skiløbere i solskin i påsken"},{href:"/mini-skiferie",title:"Mini skiferie 3-4-5 dage",desc:"Mini skiferie, kort skiferie eller weekend skiferie — perfekt hvis du ikke har fået stillet skilysten.",image:`${n}/mini-skiferie/skiferie-frankrig-alpe-d-huez.png`,alt:"Gondolbane over skiområde"}],X=[{href:"/skidsemester-med-sjaelvkoerning",title:"Skidsemester med självkörning",image:`${n}/koer-selv-skiferie/koer-selv-skiferie-scaled.jpg`,alt:"Skidsemester med egen bil till Österrike, Frankrike, Italien, Sverige eller Norge"},{href:"/skidsemester-vecka-7",title:"Skidsemester vecka 7 – vintersemester",image:`${n}/skiferie-uge-7/hameau-du-kashmir-9.jpg`,alt:"Skidområde under vintersemestern"},{href:"/miniskidsemester",title:"Mini skidsemester 3-4-5 dagar",image:`${n}/mini-skiferie/skiferie-frankrig-alpe-d-huez.png`,alt:"Gondolbana över skidområde"}];function Z({language:a="da"}){const c=a==="sv",h=c?X:Y,m=c?"Hitta inspiration till din nästa skidsemester":"Find inspiration til din næste skiferie",o=c?"Läs mer":"Læs mere";return e.jsxs("section",{className:"container-page section","aria-labelledby":"inspiration-heading",children:[e.jsxs("div",{className:"mb-8 max-w-2xl sm:mb-10",children:[e.jsx("p",{className:"eyebrow",children:"Inspiration"}),e.jsx("h2",{id:"inspiration-heading",className:"mt-2",children:m})]}),e.jsx("div",{className:"grid grid-cols-1 gap-5 lg:grid-cols-2 lg:gap-6",children:h.map(t=>e.jsxs(l,{to:t.href,className:"group grid overflow-hidden rounded-3xl bg-card shadow-soft ring-1 ring-black/5 transition-shadow hover:shadow-elevated sm:grid-cols-[minmax(0,42%)_1fr]",children:[e.jsx("div",{className:"relative aspect-[16/10] overflow-hidden bg-muted sm:aspect-auto sm:h-full sm:min-h-[15rem]",children:e.jsx("img",{...d(t.image,{width:640,aspect:4/3,sizes:"(min-width: 1024px) 22vw, (min-width: 640px) 42vw, 100vw"}),alt:t.alt,className:"absolute inset-0 h-full w-full object-cover transition-transform duration-700 group-hover:scale-105"})}),e.jsxs("div",{className:"flex flex-col justify-center gap-3 p-6 sm:p-8",children:[e.jsx("h3",{className:"text-balance text-xl leading-tight sm:text-2xl",children:t.title}),t.desc&&e.jsx("p",{className:"text-sm text-ink-soft sm:text-base",children:t.desc}),e.jsxs("span",{className:"mt-1 inline-flex items-center gap-1 text-sm font-bold text-brand-dark",children:[o,e.jsx(x,{className:"h-4 w-4 transition-transform group-hover:translate-x-1"})]})]})]},t.href))})]})}function ce({language:a,onSearch:c}){const{data:h}=H(T(a)),m=h?.countries??[],o=h?.hotelCount??0,t=$(),p=z(t),g=`tel:${p.tel}`,s=R(a),u=a==="sv"?"sv":"da",{data:S={}}=O("home","/",u),I=S.image||j.hero,_=S.title||s.hero.title,f=m[0],v=m.slice(1,5);return e.jsxs("div",{"data-brand-content":"thinggaard-home",children:[e.jsx(E,{contentType:"home",sourceId:"/",languageCode:u,f
1ield:"image",value:I,children:e.jsxs("section",{className:"relative isolate overflow-hidden bg-brand-darker",children:[e.jsx("img",{...d(I,{width:1600,widths:A,quality:M,aspect:16/9,sizes:"100vw",priority:!0}),alt:"","aria-hidden":!0,className:"absolute inset-0 -z-10 h-full w-full object-cover"}),e.jsx("div",{"aria-hidden":!0,className:"absolute inset-0 -z-10 bg-gradient-to-b from-brand-darker/35 via-brand-darker/10 to-brand-darker/70"}),e.jsxs("div",{className:"container-page flex min-h-[75vh] flex-col justify-between gap-5 py-8 sm:gap-7 sm:py-14 lg:justify-end lg:gap-8 lg:py-20",children:[e.jsxs("div",{className:"grid gap-6 sm:gap-10 lg:grid-cols-12 lg:items-end",children:[e.jsxs("div",{className:"max-w-3xl lg:col-span-8",children:[e.jsx(E,{contentType:"home",sourceId:"/",languageCode:u,field:"title",value:_,buttonClassName:"right-14",children:e.jsx("h1",{className:"mt-4 max-w-3xl font-display text-balance text-3xl text-primary-foreground sm:mt-6 sm:text-5xl lg:text-6xl",children:_})}),e.jsx("p",{className:"mt-3 max-w-2xl text-base leading-relaxed text-primary-foreground/90 sm:mt-5 sm:text-lg",children:o>0?s.hero.subWithCount(o.toLocaleString(s.hero.countLocale)):s.hero.subPlain})]}),e.jsxs("div",{className:"hidden space-y-4 lg:col-span-4 lg:block",children:[e.jsxs("div",{className:"rounded-2xl bg-ink/70 p-5 text-primary-foreground ring-1 ring-primary-foreground/20 backdrop-blur-xl",children:[e.jsx("p",{className:"text-xs font-bold uppercase tracking-wider text-primary-foreground",children:s.trust.safety}),e.jsxs("ul",{className:"mt-3 space-y-2 text-sm text-primary-foreground",children:[e.jsxs("li",{className:"flex items-center gap-2",children:[e.jsx(w,{className:"h-4 w-4 text-warm","aria-hidden":"true"}),s.trust.fund]}),e.jsxs("li",{className:"flex items-center gap-2",children:[e.jsx(q,{className:"h-4 w-4 text-warm","aria-hidden":"true"}),s.trust.since1978]}),e.jsxs("li",{className:"flex items-center gap-2",children:[e.jsx(b,{className:"h-4 w-4 text-warm","aria-hidden":"true"}),s.trust.advice]})]})]}),e.jsxs("div",{className:"rounded-2xl bg-background p-5 shadow-elevated",children:[e.jsx("p",{className:"text-xs font-bold uppercase tracking-wider text-brand",children:s.hero.advice}),e.jsx("a",{href:g,className:"mt-1 block font-display text-xl font-bold text-ink",children:p.display}),e.jsxs("p",{className:"mt-2 flex items-center gap-2 text-xs text-ink-mute",children:[e.jsx(U,{className:"h-3.5 w-3.5"}),s.hero.openingHours]}),e.jsxs(l,{to:y(a),className:"btn-warm mt-4 w-full",children:[s.quoteCta.button,e.jsx(x,{className:"h-4 w-4"})]})]})]})]}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"rounded-3xl bg-background/95 p-2 shadow-elevated ring-1 ring-primary-foreground/40 backdrop-blur-xl sm:p-4",children:e.jsx(F,{variant:"bar",season:"winter",showSeasonToggle:!0,onSearch:c,searchLabel:s.search,showTrustBadges:!1})}),e.jsxs("div",{className:"pointer-events-none absolute -bottom-12 left-1/2 hidden -translate-x-1/2 flex-col items-center gap-1.5 text-primary-foreground sm:flex",children:[e.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.2em] [text-shadow:0_1px_3px_rgb(0_0_0_/_0.65)]",children:s.hero.explore}),e.jsx(L,{className:"h-4 w-4 animate-bounce"})]})]})]})]})}),e.jsx(G,{language:a}),e.jsx("section",{className:"border-b border-border bg-background",children:e.jsx("div",{className:"container-page grid grid-cols-2 gap-y-8 py-10 md:grid-cols-4 md:gap-y-0 md:py-12",children:[{num:"1978",label:s.stats.since},{num:o>0?o.toLocaleString(s.hero.countLocale):"—",label:s.stats.hotels},{num:"100%",label:s.stats.danish},{num:"24/7",label:s.stats.support}].map((r,i)=>e.jsxs("div",{className:["px-2 text-center md:text-left",i>0?"md:border-l md:border-border md:pl-8":""].join(" "),children:[e.jsx("div",{className:"font-display text-3xl font-bold leading-none text-brand-dark sm:text-4xl",children:r.num}),e.jsx("p",{className:"mt-2.5 text-xs font-medium leading-snug text-ink-soft sm:text-sm",children:r.label})]},r.label))})}),e.jsxs("section",{className:"container-page section",children:[e.jsxs("div",{className:"mb-10 flex items-end justify-between gap-6",children:[e.jsxs("div",{children:[e.jsx("p",{className:"eyebrow",children:s.destinations.eyebrow}),e.jsx("h2",{className:"mt-2",children:s.destinations.title}),e.jsx("p",{className:"mt-3 max-w-2xl text-ink-soft",children:s.destinations.sub})]}),e.jsx(l,{to:"/destinationer",className:"hidden font-bold text-brand-dark hover:underline sm:inline",children:s.destinations.seeAll})]}),m.length>0?e.jsxs("div",{className:"grid grid-cols-1 gap-4 lg:grid-cols-12 lg:gap-5",children:[f?e.jsxs(l,{to:"/$",params:{_splat:f.slug},search:{},className:"group relative min-h-64 overflow-hidden rounded-2xl lg:col-span-7 lg:min-h-[520px]",children:[e.jsx("img",{...d(f.imageUrl,{width:900,aspect:4/5,sizes:"(min-width: 1024px) 58vw, 100vw"}
1),alt:"","aria-hidden":!0,className:"absolute inset-0 h-full w-full object-cover transition-transform duration-700 group-hover:scale-105"}),e.jsx("div",{"aria-hidden":!0,className:"absolute inset-0 bg-gradient-to-t from-brand-darker/90 via-brand-darker/20 to-transparent"}),e.jsxs("div",{className:"absolute inset-x-0 bottom-0 p-6 text-primary-foreground",children:[e.jsx("h3",{className:"text-3xl text-primary-foreground",children:f.title}),e.jsxs("span",{className:"mt-3 inline-flex items-center gap-2 text-sm font-bold",children:[s.transport.readMore,e.jsx(x,{className:"h-4 w-4"})]})]})]}):null,e.jsx("div",{className:"grid grid-cols-2 gap-4 lg:col-span-5 lg:gap-5",children:v.map(r=>e.jsxs(l,{to:"/$",params:{_splat:r.slug},search:{},className:"group relative min-h-52 overflow-hidden rounded-2xl",children:[e.jsx("img",{...d(r.imageUrl,{width:480,aspect:1,sizes:"(min-width: 1024px) 20vw, 50vw"}),alt:"","aria-hidden":!0,className:"absolute inset-0 h-full w-full object-cover transition-transform duration-700 group-hover:scale-105"}),e.jsx("div",{"aria-hidden":!0,className:"absolute inset-0 bg-gradient-to-t from-brand-darker/90 via-brand-darker/20 to-transparent"}),e.jsx("div",{className:"absolute inset-x-0 bottom-0 p-5 text-primary-foreground",children:e.jsx("h3",{className:"text-xl text-primary-foreground",children:r.title})})]},r.slug))})]}):null]}),e.jsx("section",{className:"container-page section",children:e.jsxs("div",{className:"max-w-4xl",children:[e.jsx("p",{className:"eyebrow",children:s.about.eyebrow}),e.jsx("h2",{className:"mt-2",children:s.about.heading}),e.jsxs("div",{className:"prose mt-6 text-ink-soft",children:[e.jsx("p",{children:s.about.intro}),e.jsx("h3",{children:s.about.title2}),e.jsx("p",{children:s.about.body2}),e.jsxs("p",{children:[s.about.body3," ",e.jsx("a",{href:`mailto:${s.about.contactEmail}`,children:s.about.contactEmail})," /"," ",e.jsx("a",{href:g,children:s.about.contactPhone}),u==="sv"?", om du har några frågor.":", hvis du har nogle spørgsmål."]}),e.jsx("h3",{children:s.about.title3}),e.jsx("p",{children:s.about.body4}),e.jsx("p",{className:"not-prose mt-8",children:e.jsxs(l,{to:a==="sv"?"/reseinformation":"/rejseinfo",className:"inline-flex items-center gap-2 font-display font-bold text-brand-dark hover:text-brand",children:[s.about.safety," ",e.jsx("span",{className:"text-warm",children:s.about.safetyLink})]})})]})]})}),e.jsx("section",{className:"container-page section",children:e.jsx("div",{className:"overflow-hidden rounded-3xl shadow-elevated ring-1 ring-black/5",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2",children:[e.jsx("div",{className:"relative min-h-[280px] bg-brand-darker/10 md:order-1 md:min-h-[480px]",children:v[0]?.imageUrl?e.jsx("img",{...d(v[0].imageUrl,{width:900,aspect:1,sizes:"(min-width: 768px) 50vw, 100vw"}),alt:"","aria-hidden":!0,className:"absolute inset-0 h-full w-full object-cover"}):null}),e.jsxs("div",{className:"relative overflow-hidden bg-brand-darker p-8 text-primary-foreground md:order-2 sm:p-12 md:p-14",children:[e.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute -right-12 -top-12 h-56 w-56 rounded-full bg-background/10 blur-2xl"}),e.jsxs("div",{className:"relative",children:[e.jsx("p",{className:"eyebrow eyebrow-on-dark",children:s.quoteCta.eyebrow}),e.jsx("h2",{className:"mt-3 text-primary-foreground",children:s.quoteCta.title}),e.jsx("p",{className:"mt-4 max-w-md text-primary-foreground/90",children:s.quoteCta.body}),e.jsxs("ul",{className:"mt-6 grid gap-2.5 sm:grid-cols-2",children:[e.jsxs("li",{className:"flex items-start gap-2 text-sm text-primary-foreground/90",children:[e.jsx(Q,{className:"mt-0.5 h-4 w-4 shrink-0 text-warm"}),e.jsx("span",{children:s.quoteCta.bullet24h})]}),e.jsxs("li",{className:"flex items-start gap-2 text-sm text-primary-foreground/90",children:[e.jsx(w,{className:"mt-0.5 h-4 w-4 shrink-0 text-warm"}),e.jsx("span",{children:s.quoteCta.bulletFree})]})]}),e.jsxs("div",{className:"mt-7 flex flex-col gap-3 sm:flex-row sm:items-center",children:[e.jsxs(l,{to:y(a),className:"btn-warm",children:[s.quoteCta.button,e.jsx(x,{className:"h-4 w-4"})]}),e.jsxs("a",{href:g,className:"inline-flex min-h-11 items-center gap-2 text-sm font-semibold text-primary-foreground
1/85 hover:text-primary-foreground",children:[e.jsx(b,{className:"h-4 w-4"}),s.quoteCta.call," ",p.display]})]})]})]})]})})}),e.jsxs("section",{className:"container-page section",children:[e.jsxs("div",{className:"mb-10",children:[e.jsx("p",{className:"eyebrow",children:s.transport.eyebrow}),e.jsx("h2",{className:"mt-2",children:s.transport.title})]}),e.jsx("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-3 md:gap-6",children:[{icon:W,key:"fly",num:"01",bg:j.transportFly},{icon:K,key:"car",num:"02",bg:j.transportCar},{icon:D,key:"bus",num:"03",bg:j.transportBus}].map(({icon:r,key:i,num:N,bg:k})=>e.jsxs("a",{href:P(a,i),className:"group relative isolate flex aspect-[4/5] flex-col justify-between overflow-hidden rounded-3xl p-7 text-primary-foreground shadow-soft ring-1 ring-black/5",children:[e.jsx("img",{...d(k,{width:640,aspect:4/5,sizes:"(min-width: 768px) 33vw, 100vw"}),alt:"","aria-hidden":!0,className:"absolute inset-0 z-0 h-full w-full object-cover transition-transform duration-[1200ms] ease-out group-hover:scale-110"}),e.jsx("div",{"aria-hidden":!0,className:"absolute inset-0 z-[1] bg-gradient-to-t from-brand-darker/70 via-brand-darker/15 to-transparent"}),e.jsxs("div",{className:"relative z-[2] flex items-start justify-between",children:[e.jsx("div",{className:"inline-flex h-12 w-12 items-center justify-center rounded-2xl bg-background/15 ring-1 ring-primary-foreground/25 backdrop-blur-md transition-all group-hover:bg-warm",children:e.jsx(r,{className:"h-5 w-5"})}),e.jsx("span",{className:"font-display text-3xl font-bold leading-none text-primary-foreground/40",children:N})]}),e.jsxs("div",{className:"relative z-[2]",children:[e.jsx("h3",{className:"text-2xl text-primary-foreground drop-shadow-md",children:s.transport[i].title}),e.jsx("p",{className:"mt-2 line-clamp-2 text-sm text-primary-foreground/85",children:s.transport[i].desc}),e.jsxs("span",{className:"mt-4 inline-flex items-center gap-1 text-sm font-bold text-warm",children:[s.transport.readMore,e.jsx(x,{className:"h-4 w-4 transition-transform group-hover:translate-x-1"})]})]})]},i))})]}),e.jsx(Z,{language:a}),e.jsx("section",{className:"container-page section pb-20",children:e.jsx("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-3 sm:gap-10",children:[{icon:w,title:s.trust.fund,desc:s.stats.danish},{icon:q,title:s.trust.since1978,desc:s.stats.since},{icon:b,title:s.trust.advice,desc:s.stats.support}].map(({icon:r,title:i,desc:N},k)=>e.jsxs("div",{className:["flex items-start gap-5 px-1",k>0?"sm:border-l sm:border-border sm:pl-10":""].join(" "),children:[e.jsx("div",{className:"inline-flex h-14 w-14 shrink-0 items-center justify-center rounded-2xl bg-brand-lighter text-brand-dark ring-1 ring-brand/10",children:e.jsx(r,{className:"h-6 w-6"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"font-display text-base font-bold text-ink",children:i}),e.jsx("p",{className:"mt-1.5 text-sm leading-relaxed text-ink-soft",children:N})]})]},i))})}),e.jsx("div",{"data-mobile-quote-cta":!0,className:"consent-safe-bottom fixed inset-x-0 bottom-0 z-30 border-t border-border bg-background/95 px-3 py-2.5 backdrop-blur-xl sm:hidden",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("a",{href:g,"aria-label":`${s.quoteCta.call} ${p.display}`,className:"inline-flex h-11 w-11 shrink-0 items-center justify-center rounded-full bg-brand-lighter text-brand-dark ring-1 ring-brand/15",children:e.jsx(b,{className:"h-5 w-5"})}),e.jsxs(l,{to:y(a),className:"flex flex-1 items-center justify-center gap-1.5 rounded-full bg-warm px-4 py-3 text-sm font-bold text-warm-foreground shadow-soft",children:[e.jsx(B,{className:"h-4 w-4"}),s.quoteCta.button]})]})})]})}export{ce as T};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.