1import{as as u,x as p,ap as j,r as f,j as e,P as b,B as g,aq as N,l as v}from"./index-C2KlasXz.js";import{u as k}from"./useSuspenseQuery-ClZze5o7.js";import{C as t,a as r}from"./card-C9F0K05c.js";import{I as n}from"./input-B9Pgl5GR.js";import{T as y}from"./textarea-vL6jm0dy.js";import{L as a}from"./label-BVFt2x2p.js";import{B as w}from"./JsonLd-oPZG_Lc4.js";import{toast as S}from"./index-ar34ZFVp.js";import{M as B}from"./map-pin-DkGDUWhX.js";function I(){const{data:m}=k(u(void 0,"kontakt")),c=p(),l=j(c),[i,d]=f.useState(!1),x=async o=>{o.preventDefault(),d(!0);const s=new FormData(o.currentTarget),h=`Navn: ${s.get("name")} 2Email: ${s.get("email")} 3Telefon: ${s.get("phone")} 4 5${s.get("message")}`;window.location.href=`mailto:[email protected]?subject=${encodeURIComponent("Henvendelse fra triptour.dk")}&body=${encodeURIComponent(h)}`,setTimeout(()=>d(!1),1e3),S.success("à bner din mail-klient...")};return e.jsxs(b,{brand:m.brand,children:[e.jsx(w,{items:[{name:"Forside",url:"/"},{name:"Kontakt",url:"/kontakt"}]}),e.jsx("div",{className:"pt-32 pb-20",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs("div",{className:"max-w-4xl mx-auto text-center mb-16",children:[e.jsx("h1",{className:"text-5xl md:text-6xl font-bold text-foreground mb-6",children:"Kontakt os"}),e.jsx("p",{className:"text-xl text-muted-foreground",children:"Har du spørgsmål eller brug for hjælp? Vi er her for at hjælpe dig med at planlægge den perfekte skiferie."})]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-8 max-w-6xl mx-auto",children:[e.jsx(t,{children:e.jsxs(r,{className:"p-8",children:[e.jsx("h2",{className:"text-3xl font-bold text-foreground mb-6",children:"Send os en besked"}),e.jsxs("form",{className:"space-y-6",onSubmit:x,children:[e.jsxs("div",{children:[e.jsx(a,{htmlFor:"name",className:"mb-2 block",children:"Navn"}),e.jsx(n,{id:"name",name:"name",placeholder:"Dit navn",required:!0})]}),e.jsxs("div",{children:[e.jsx(a,{htmlFor:"email",className:"mb-2 block",children:"Email"}),e.jsx(n,{id:"email",name:"email",type:"email",placeholder:"[email protected]",required:!0})]}),e.jsxs("div",{children:[e.jsx(a,{htmlFor:"phone",className:"mb-2 block",children:"Telefon"}),e.jsx(n,{id:"phone",name:"phone",type:"tel",placeholder:"+45 12 34 56 78"})]}),e.jsxs("div",{children:[e.jsx(a,{htmlFor:"message",className:"mb-2 block",children:"Besked"}),e.jsx(y,{id:"message",name:"message",placeholder:"Fortæl os om din drømmeskiferie...",rows:6,required:!0})]}),e.jsx(g,{type:"submit",size:"lg",className:"w-full",disabled:i,children:i?"Sender...":"Send besked"})]})]})}),e.jsxs("div",{className:"space-y-6",children:[e.jsx(t,{children:e.jsx(r,{className:"p-8",children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-full bg-accent flex items-center justify-center flex-shrink-0",children:e.jsx(N,{className:"w-6 h-6 text-accent-foreground"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl font-bold text-foreground mb-2",children:"Ring til os"}),e.jsx("p",{className:"text-muted-foreground mb-2",children:"Mandag - Fredag: 9:00 - 17:00"}),e.jsx("a",{href:`tel:${l.tel}`,className:"text-lg text-primary hover:underline font-medium",children:l.display})]})]})})}),e.jsx(t,{children:e.jsx(r,{className:"p-8",children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-full bg-accent flex items-center justify-center flex-shrink-0",children:e.jsx(v,{className:"w-6 h-6 text-accent-foreground"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl font-bold text-foreground mb-2",children:"Send en email"}),e.jsx("p",{className:"text-muted-foreground mb-2",children:"Vi svarer inden for 24 timer"}),e.jsx("a",{href:"mailto:[email protected]",className:"text-lg text-primary hover:underline font-medium",children:"[email protected]"})]})]})})}),e.jsx(t,{children:e.jsx(r,{className:"p-8",children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-full bg-accent flex items-center justify-center flex-shrink-0",children:e.jsx(B,{className:"w-6 h-6 text-accent-foreground"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl font-bold text-foreground mb-2",children:"Besøg os"}),e.jsxs("p",{className:"text-muted-foreground",children:["TR Rejser ApS",e.
5jsx("br",{}),"Rungsted Havn 30B 1. th.",e.jsx("br",{}),"2960 Rungsted Kyst",e.jsx("br",{}),"Danmark"]})]})]})})})]})]})]})})]})}export{I 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.