PageSourceSearch

https://thinggaard.dk/assets/skidsemester-egna-hotell-rVganEKj.js

js thinggaard.dk collected 2026-10-04 14:40:43 UTC 6,962 bytes, 1 lines download raw bytes

1import{aP as N,x as k,ap as v,aQ as w,j as e,P as y,aR as S,L as l,av as P,k as R,aw as $,S as g,aN as L,aO as C,Z as E,A as H,aq as A}from"./index-C2KlasXz.js";import{H as O,S as z}from"./SectionHeader-Bsem0mqy.js";import{M as F}from"./map-pin-DkGDUWhX.js";import{C as M}from"./check-DfJlNiyZ.js";const T=[{country:"Österrike",href:"/skidsemester-i-oesterrike"},{country:"Norge",href:"/skidsemester-i-norge"},{country:"Sverige",href:"/skidsemester-i-sverige"}],B=[{icon:P,label:"Personlig rådgivning",text:"Nordens äldsta skidresearrangör sedan 1978."},{icon:R,label:"Resegaranti",text:"Paketresor med fullt nordiskt konsumentskydd."},{icon:$,label:"Egna hotell",text:"Nordisk personal, frukost och service i toppklass."}];function _(){const{hotelRows:i}=N.useLoaderData(),f=k(),c=v(f),b=new Map(i.map(s=>[s.slugDa,s])),n=w.map(s=>{const t=b.get(s.slug);return t?{...s,row:t}:null}).filter(Boolean),o=Array.from(new Set(n.map(s=>s.country)));return e.jsx(y,{brand:null,children:e.jsxs("article",{children:[e.jsx(O,{size:"tall",align:"left",eyebrow:"Våra egna skidhotell",breadcrumb:e.jsxs(e.Fragment,{children:[e.jsx(l,{to:"/",className:"text-white/90 hover:text-white",children:"Startsidan"}),e.jsx("span",{className:"mx-1 opacity-60",children:"/"}),e.jsx("span",{children:"Egna skidhotell"})]}),title:e.jsxs(e.Fragment,{children:["Våra egna skidhotell — ",e.jsx("br",{}),e.jsx("span",{className:"text-brand-light",children:"nordisk service mitt i snön"})]}),subtitle:`${n.length} hotell, pensioner och lägenheter drivna i nära samarbete med Thinggaard — flera med nordiska värdar på plats och frukost ingår.`,imageUrl:S}),e.jsx("section",{className:"container-page mt-10 sm:mt-14",children:e.jsx("div",{className:"grid gap-4 sm:grid-cols-3 sm:gap-6",children:B.map(s=>
1e.jsxs("div",{className:"flex items-start gap-4 rounded-2xl bg-brand-lighter p-5 ring-1 ring-brand-light",children:[e.jsx("span",{className:"grid h-11 w-11 shrink-0 place-items-center rounded-full bg-white text-brand shadow-soft",children:e.jsx(s.icon,{className:"h-5 w-5"})}),e.jsxs("div",{children:[e.jsx("p",{className:"font-display text-base font-bold text-ink",children:s.label}),e.jsx("p",{className:"mt-1 text-sm text-ink-soft",children:s.text})]})]},s.label))})}),o.length>1&&e.jsx("section",{className:"container-page mt-10",children:e.jsx("div",{className:"flex flex-wrap gap-2",children:o.map(s=>e.jsxs("a",{href:`#land-${p(s)}`,className:"inline-flex items-center gap-1.5 rounded-full bg-card px-4 py-2 text-sm font-bold text-ink-soft shadow-soft ring-1 ring-black/5 transition-colors hover:bg-brand hover:text-white",children:[e.jsx(g,{className:"h-3.5 w-3.5"}),s,e.jsxs("span",{className:"text-xs opacity-70",children:["(",n.filter(t=>t.country===s).length,")"]})]},s))})}),o.map(s=>{const t=n.filter(r=>r.country===s),m=Array.from(new Set(t.map(r=>r.region))),x=T.find(r=>r.country===s);return e.jsxs("section",{id:`land-${p(s)}`,className:"container-page section scroll-mt-24",children:[e.jsx(z,{eyebrow:"Egna hotell",title:s,sub:`${t.length} ${t.length===1?"egendom":"egendomar"} drivna i nära samarbete med Thinggaard`}),x&&e.jsx("p",{className:"-mt-4 mb-6",children:e.jsxs("a",{href:x.href,className:"text-sm font-bold text-brand hover:underline",children:["Se alla destinationer i ",s," →"]})}),m.map(r=>{const d=t.filter(a=>a.region===r);return e.jsxs("div",{className:"mb-12 last:mb-0",children:[m.length>1&&e.jsxs("h3",{className:"mb-5 flex items-center gap-2 text-lg font-bold text-ink-soft",children:[e.jsx(F,{className:"h-4 w-4 text-brand"}),r,e.jsxs("span",{className:"text-sm font-medium text-ink-mute",children:["· ",d.length," ",d.length===1?"egendom":"egendomar"]})]}),e.jsx("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-2 lg:gap-8",children:d.map(({row:a,bullets:j,region:u})=>e.jsxs("article",{className:"group flex flex-col overflow-hidden rounded-2xl bg-card shadow-soft ring-1 ring-black/5 transition-all duration-300 hover:-translate-y-1 hover:shadow-elevated sm:flex-row",children:[e.jsxs(l,{to:"/hotel/$id",params:{id:a.slug},className:"relative block aspect-[4/3] w-full overflow-hidden bg-muted sm:aspect-auto sm:h-auto sm:w-[42%] sm:shrink-0",children:[a.image?e.jsx("img",{src:C(a.image,800),srcSet:L(a.image,[400,600,800,1e3])||void 0,sizes:"(max-width: 640px) 100vw, 420px",alt:a.title,loading:"lazy",decoding:"async",className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105"}):null,e.jsxs("span",{className:"absolute left-3 top-3 inline-flex items-center gap-1 rounded-full bg-white/95 px-3 py-1 text-[10px] font-bold uppercase tracking-[0.14em] text-brand-dark shadow-soft backdrop-blur",children:[e.jsx(g,{className:"h-3 w-3"})," ",u]})]}),e.jsxs("div",{className:"flex flex-1 flex-col gap-4 p-6 sm:p-7",children:[e.jsx("h4",{className:"text-xl font-bold leading-tight text-ink sm:text-2xl",children:a.title}),e.jsx("ul",{className:"flex flex-col gap-2 text-sm text-ink-soft",children:j.map(h=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(M,{className:"mt-0.5 h-4 w-4 shrink-0 text-brand"}),e.jsx("span",{children:h})]},h))}),e.jsxs("div",{className:"mt-auto flex flex-wrap gap-2 pt-2",children:[e.jsxs(l,{to:"/hotel/$id",params:{id:a.slug},className:"btn-primary inline-flex items-center gap-2 px-5 py-2.5 text-sm font-bold",children:["Se hotell ",e.jsx(E,{className:"h-4 w-4"})]}),e.jsx(l,{to:"/personligt-erbjudande",className:"inline-flex items-center gap-2 rounded-full border-2 border-brand px-5 py-2.5 text-sm font-bold text-brand transition-colors hover:bg-brand hover:text-white",children:"Få erbjudande"})]})]})]},a.slug))})]},r)})]},s)}),e.jsx("section",{className:"container-page section pb-20 sm:pb-28",children:e.jsxs("div",{className:"relative overflow-hidden rounded-3xl bg-card p-8 text-center shadow-elevated ring-1 ring-black/5 sm:p-14",children:[e.jsx("p",{className:"eyebrow",children:"Redo för snön?"}),e.jsx("h2",{className:"mt-3 font-display tracking-tight",children:"Låt oss hitta rätt skidhotell till er"}),e.jsx("p",{className:"mx-auto mt-4 max-w-2xl text-ink-soft",children:"Berätta vad ni drömmer om — vi hittar hotell, transport och liftar som passar just er. Personlig rådgivning frå
1n Nordens äldsta skidresearrangör."}),e.jsxs("div",{className:"mt-7 flex flex-wrap items-center justify-center gap-3",children:[e.jsxs(l,{to:"/personligt-erbjudande",className:"btn-primary inline-flex items-center gap-2 px-7 py-3.5 text-sm font-bold",children:["Få ett personligt erbjudande ",e.jsx(H,{className:"h-4 w-4"})]}),e.jsxs("a",{href:`tel:${c.tel}`,className:"btn-secondary inline-flex items-center gap-2 px-7 py-3.5 text-sm font-bold",children:[e.jsx(A,{className:"h-4 w-4"})," Ring ",c.display]})]})]})})]})})}function p(i){return i.toLowerCase().replace(/å/g,"aa").replace(/ø/g,"oe").replace(/æ/g,"ae").replace(/ö/g,"o").replace(/ä/g,"a").replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"")}export{_ as component};

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.