1import{c as g,n as f,o as y,p as j,q as v,s as w,v as N,w as k,x as S,r as i,j as e,L as _,M as m,C as u,d as C}from"./index-DeUQGhtw.js";import{u as E}from"./useSEO-ZSBZCeT4.js";import{S as l}from"./send-B36jy1RR.js";/** 2 * @license lucide-react v0.475.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const L=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]],q=g("MessageSquare",L);class A{constructor(){this.tickIntervalMs=100}handleStart(){}handleWake(s){}schedule(s,r){throw new Error("Actor.schedule() is only available inside a deployed actor")}cancelSchedule(s){throw new Error("Actor.cancelSchedule() is only available inside a deployed actor")}broadcast(s){throw new Error("Actor.broadcast() is only available inside a deployed actor")}getConnections(){throw new Error("Actor.getConnections() is only available inside a deployed actor")}get instanceId(){throw new Error("Actor.instanceId is only available inside a deployed actor")}get storage(){throw new Error("Actor.storage is only available inside a deployed actor")}get client(){throw new Error("Actor.client is only available inside a deployed actor")}}const O=Object.freeze(Object.defineProperty({__proto__:null,Actor:A,Base44Error:f,createClient:y,createClientFromRequest:j,getAccessToken:v,getLoginUrl:w,removeAccessToken:N,saveAccessToken:k},Symbol.toStringTag,{value:"Module"}));var c={};const M=S(O);var x;function Y(){if(x)return c;x=1;const{createClient:t}=M;return c.base44=t({appId:"6a07071972f3c128c8acf1ec",serverUrl:"https://base44.app"}),c}var d,h;function F(){if(h)return d;h=1;const{base44:t}=Y();return d=new Proxy({},{get:(s,r)=>(...n)=>t.functions.invoke(r,...n)}),d}var I=F();function V(){const[t,s]=i.useState({name:"",email:"",message:""}),[r,n]=i.useState(!1),[p,o]=i.useState(!1);E({title:"Yhteystiedot â Nousut.com | Ota Yhteytta",description:"Ota yhteytta Nousut.comin tiimiin. Sähköposti, yhteydenottolomake ja sosiaaliset kanavat â autamme kasinoarvosteluissa, bonuskysymyksissä ja yhteistyössä.",canonical:"https://www.nousut.com/yhteystiedot",jsonLd:[{"@context":"https://schema.org","@type":"ContactPage",name:"Yhteystiedot â Nousut.com",url:"https://www.nousut.com/yhteystiedot",description:"Ota yhteytta Nousut.comin tiimiin sähköpostilla tai yhteydenottolomakkeella."},{"@context":"https://schema.org","@type":"Organization",name:"Nousut.com",url:"https://www.nousut.com/",email:"[email protected]",contactPoint:{"@type":"ContactPoint",contactType:"customer support",email:"[email protected]",availableLanguage:["Finnish","English"]}},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Etusivu",item:"https://www.nousut.com/"},{"@type":"ListItem",position:2,name:"Yhteystiedot",item:"https://www.nousut.com/yhteystiedot"}]}]});const b=async a=>{a.preventDefault(),n(!0);try{await I.sendContactMessage({name:t.name,email:t.email,message:t.message}),o(!0),s({name:"",email:"",message:""})}catch{o(!0)}n(!1)};return e.jsxs("div",{className:"bg-background text-foreground min-h-screen",children:[e.jsxs("section",{className:"relative overflow-hidden py-12 px-4",children:[e.jsx("div",{className:"absolute -top-32 right-0 w-[500px] h-[500px] bg-accent/8 rounded-full blur-[140px] pointer-events-none"}),e.jsx("div",{className:"absolute bottom-0 -left-24 w-[400px] h-[400px] bg-primary/15 rounded-full blur-[100px] pointer-events-none"}),e.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-transparent via-accent/40 to-transparent"}),e.jsxs("div",{className:"max-w-3xl mx-auto relative z-10",children:[e.jsxs("nav",{className:"flex items-center gap-1.5 text-xs text-muted-foreground mb-6",children:[e.jsx(_,{to:"/",className:"hover:text-accent transition-colors",children:"Etusivu"}),e.jsx("span",{children:"/"}),e.jsx("span",{className:"text-foreground font-semibold",children:"Yhteystiedot"})]}),e.jsx("h1",{className:"text-4xl sm:text-5xl font-black tracking-tight mb-4",children:e.jsx("span",{className:"bg-gradient-to-r from-primary-foreground via-accent to-primary-foreground bg-clip-text text-transparent animate-gradient-x",children:"Ota Yhteytta"})}),e.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"Onko sinulla kysymyksiä kasinoarvosteluista, bonuksista tai yhteistyöstä? Olemme täällä auttamassa sinua."})]})]}),e.jsx("section",{className:"max-w-3xl mx-auto px-4 py-8",children:e.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"bg-card rounded-2xl border border-border/25 p-6",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"w-11 h-11 rounded-2xl bg-gradient-to-br from-accent/20 to-accent/5 border border-accent/20 flex items-center justify-center text-accent",children:e.jsx(m,{className:"w-5 h-5"})}),e.jsx("h2",{className:"text-xl font-black text-foreground",children:"Sahkoposti"})]}),e.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"Lähetä meille sähköpostia â vastaamme yleensä 1â2 arkipäivän kuluessa."}),e.jsxs("a",{href:"mailto:[email protected]",className:"inline-flex items-center gap-2 text-accent font-bold text-sm hover:underline",children:[e.jsx(m,{className:"w-4 h-4"})," [email protected]"]})]}),e.jsxs("div",{className:"bg-card rounded-2xl border border-border/25 p-6",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"w-11 h-11 rounded-2xl bg-gradient-to-br from-accent/20 to-accent/5 border border-accent/20 flex items-center justify-center text-accent",children:e.jsx(q,{className:"w-5 h-5"})}),e.jsx("h2",{className:"text-xl font-black text-foreground",children:"Sosiaaliset kanavat"})]}),e.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"Seuraa meitä ja pysy ajan tasalla uusimmista kasinouutisista ja bonustarjouksista."}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("a",{href:"https://www.facebook.com/nousut",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-accent font-bold text-sm hover:underline",children:[e.jsx(u,{className:"w-4 h-4"})," Facebook"]}),e.jsxs("a",{href:"https://www.twitter.com/nousut",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-accent font-bold text-sm hover:underline",children:[e.jsx(u,{className:"w-4 h-4"})," Twitter / X"]})]})]}),e.jsxs("div",{className:"bg-secondary/40 rounded-2xl border border-border/20 p-5 flex items-start gap-3",children:[e.jsx(C,{className:"w-7 h-7 text-accent flex-shrink-0 mt-0.5"}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-black text-foreground text-sm mb-1",children:"Vastuullinen pelaaminen"}),e.jsxs("p",{className:"text-xs text-muted-foreground leading-relaxed",children:["Jos pelaaminen huolettaa, ota yhteytta ",e.jsx("a",{href:"https://www.peluuri.fi",target:"_blank",rel:"noopener noreferrer",className:"text-accent font-semibold hover:underline",children:"Peluurin"})," ammattilaisiin. K18."]})]})]})]}),e.jsxs("div",{className:"bg-card rounded-2xl border border-border/25 p-6",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[e.jsx("div",{className:"w-11 h-11 rounded-2xl bg-gradient-to-br from-accent/20 to-accent/5 border border-accent/20 flex items-center justify-center text-accent",children:e.jsx(l,{className:"w-5 h-5"})}),e.jsx("h2",{className:"text-xl font-black text-foreground",children:"Yhteydenottolomake"})]}),p?e.jsxs("div",{className:"text-center py-8",children:[e.jsx("div",{className:"w-14 h-14 roun
6ded-full bg-accent/15 border border-accent/30 flex items-center justify-center text-accent mx-auto mb-4",children:e.jsx(l,{className:"w-6 h-6"})}),e.jsx("h3",{className:"font-black text-foreground mb-2",children:"Viesti lahetetty!"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Kiitos yhteydenotostasi. Vastaamme sinulle pian."}),e.jsx("button",{onClick:()=>o(!1),className:"mt-4 text-accent font-semibold text-sm hover:underline",children:"Laheta uusi viesti"})]}):e.jsxs("form",{onSubmit:b,className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-bold text-muted-foreground uppercase tracking-wide mb-1.5",children:"Nimi"}),e.jsx("input",{type:"text",required:!0,value:t.name,onChange:a=>s({...t,name:a.target.value}),className:"w-full bg-background/50 border border-border/30 rounded-xl px-4 py-2.5 text-sm text-foreground placeholder:text-muted-foreground/50 focus:border-accent/50 focus:outline-none transition-colors",placeholder:"Esinimesi"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-bold text-muted-foreground uppercase tracking-wide mb-1.5",children:"Sahkoposti"}),e.jsx("input",{type:"email",required:!0,value:t.email,onChange:a=>s({...t,email:a.target.value}),className:"w-full bg-background/50 border border-border/30 rounded-xl px-4 py-2.5 text-sm text-foreground placeholder:text-muted-foreground/50 focus:border-accent/50 focus:outline-none transition-colors",placeholder:"[email protected]"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-bold text-muted-foreground uppercase tracking-wide mb-1.5",children:"Viesti"}),e.jsx("textarea",{required:!0,rows:4,value:t.message,onChange:a=>s({...t,message:a.target.value}),className:"w-full bg-background/50 border border-border/30 rounded-xl px-4 py-2.5 text-sm text-foreground placeholder:text-muted-foreground/50 focus:border-accent/50 focus:outline-none transition-colors resize-none",placeholder:"Kerro miten voimme auttaa..."})]}),e.jsx("button",{type:"submit",disabled:r,className:"w-full bg-accent text-accent-foreground font-bold text-sm px-5 py-3 rounded-xl flex items-center justify-center gap-2 shadow-[0_0_20px_rgba(34,211,238,0.25)] hover:shadow-[0_0_30px_rgba(34,211,238,0.45)] hover:scale-[1.01] transition-all disabled:opacity-50 disabled:cursor-not-allowed",children:r?"Lahetetaan...":e.jsxs(e.Fragment,{children:["Laheta viesti ",e.jsx(l,{className:"w-4 h-4"})]})})]})]})]})})]})}export{V as default};
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.