import{e as m,c as n,a as o,y as a,z as l,A as i,i as u,o as d,_ as p}from"./DpdQcRr7.js";import"./BcpEzrWT.js";const f={class:"contact-page"},v={class:"form-group"},g={class:"form-group"},c={class:"form-group"},b=m({__name:"contact",setup(x){const s=u({name:"",email:"",message:""}),r=()=>{console.log("フォームが送信されました:",s.value),alert("お問い合わせありがとうございます。"),s.value={name:"",email:"",message:""}};return(_,e)=>(d(),n("div",f,[e[7]||(e[7]=o("h1",{class:"page-title"},"お問い合わせ",-1)),o("form",{onSubmit:i(r,["prevent"]),class:"contact-form"},[o("div",v,[e[3]||(e[3]=o("label",{for:"name"},"お名前:",-1)),a(o("input",{type:"text",id:"name","onUpdate:modelValue":e[0]||(e[0]=t=>s.value.name=t),required:"",class:"form-control"},null,512),[[l,s.value.name]])]),o("div",g,[e[4]||(e[4]=o("label",{for:"email"},"メールアドレス:",-1)),a(o("input",{type:"email",id:"email","onUpdate:modelValue":e[1]||(e[1]=t=>s.value.email=t),required:"",class:"form-control"},null,512),[[l,s.value.email]])]),o("div",c,[e[5]||(e[5]=o("label",{for:"message"},"お問い合わせ内容:",-1)),a(o("textarea",{id:"message","onUpdate:modelValue":e[2]||(e[2]=t=>s.value.message=t),rows:"8",required:"",class:"form-control"},null,512),[[l,s.value.message]])]),e[6]||(e[6]=o("button",{type:"submit",class:"submit-button"},"送信",-1))],32)]))}}),q=p(b,[["__scopeId","data-v-da308589"]]);export{q as default};
