import{L as l}from"./LoadingButton-fIGCYE5-.js";import{r as a,c as d,o as m,b as t,d as b,g as u,a as c,A as p,w as x,e as f,t as g}from"./app-BLo7SiiE.js";import{_ as h}from"./FlashMessages-DImpr6PL.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 m(),d("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),[[p,o.form.email]]),c(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:x(()=>[f(g(i.$t("Subscribe Now")),1)]),_:1},8,["loading"])],32)])])])])])}const D=h(w,[["render",B]]);export{D as S};
