import{L as l}from"./LoadingButton-DQHYFAIm.js";import{r as a,o as d,c as m,b as t,d as b,f as u,y as c,a as p,w as f,e as x,t as g}from"./app-CK3cEAAe.js";import{_ as h}from"./FlashMessages-ByEdcHWZ.js";const w={components:{LoadingButton:l},data(){return{form:this.$inertia.form({email:""})}},methods:{subscribe(){this.form.post(this.route("subscribe.news")),this.form.email=""}}},_={class:"container md:mt-24 mt-16"},v={class:"md:flex justify-center"},y={class:"lg:w-2/3 text-center"},k={class:"mt-8"},S={class:"text-center subcribe-form"};function B(i,e,N,V,o,r){const n=a("loading-button");return d(),m("div",_,[t("div",v,[t("div",y,[e[2]||(e[2]=t("h3",{class:"md:text-3xl text-2xl md:leading-normal leading-normal font-semibold mb-6"},"Subscribe our weekly subscription",-1)),e[3]||(e[3]=t("p",{class:"text-slate-400 max-w-xl mx-auto"},"Add some text to explain benefits of subscripton on your services. We'll send you the best of our article just once a weekly.",-1)),t("div",k,[t("div",S,[t("form",{class:"relative mx-auto max-w-xl",onSubmit:e[1]||(e[1]=b((...s)=>r.subscribe&&r.subscribe(...s),["prevent"]))},[u(t("input",{type:"email",id:"subemail",name:"email","onUpdate:modelValue":e[0]||(e[0]=s=>o.form.email=s),class:"pt-4 pr-[12rem] pb-4 pl-6 w-full h-[50px] outline-none text-black dark:text-white rounded-full bg-white/70 dark:bg-slate-900/70 border border-gray-100 dark:border-gray-700",placeholder:"Enter your email id.."},null,512),[[c,o.form.email]]),p(n,{loading:o.form.processing,class:"btn absolute top-[2px] right-[3px] h-[46px] bg-indigo-600 hover:bg-indigo-700 border-indigo-600 hover:border-indigo-700 text-white rounded-full",type:"submit"},{default:f(()=>[x(g(i.$t("Subscribe Now")),1)]),_:1},8,["loading"])],32)])])])])])}const E=h(w,[["render",B]]);export{E as S};
