import{Q as b}from"./QImg-DKhqN3GC.js";import{Q as j}from"./QPage-BfEPTOJq.js";import{d as M,c as q,as as g,af as u,aL as $,aM as T,al as o,ao as a,ae as n,aq as t,T as v,aw as x,ap as l,ad as s,ah as r,aN as p,ar as k,aD as I}from"./index-BT5eY4j5.js";import{u as L}from"./use-meta-FmQgFpBa.js";import{l as S}from"./logo-DzhSweBH.js";import{u as A,a as B,_}from"./CategoryCard.vue_vue_type_style_index_0_lang-BO-8upFE.js";import{_ as D}from"./PartnerButton.vue_vue_type_script_setup_true_lang-CitWnpox.js";import{u as R}from"./vue-i18n-CUkMLu72.js";import"./QSkeleton-B930fRUI.js";const U={id:"home",class:"column items-center justify-start"},N={class:"heading q-mb-xl"},Q={class:"text-center q-mt-sm relative-position text-weight-light text-white non-selectable",style:{opacity:"0.8"}},V={class:"row full-width"},O={class:"full-width q-mt-xl q-mb-md"},W={style:{"max-width":"575px",margin:"auto"}},E={class:"text-h6 text-center q-mb-md"},ae=M({__name:"_Index",setup(F){L({title:"Moja Agenda",meta:{description:{name:"description",content:"Moja Agenda - personalizovana platforma za zakazivanje termina."},ogTitle:{name:"og:title",content:"Moja Agenda"},ogDescription:{name:"og:description",content:"Moja Agenda - personalizovana platforma za zakazivanje termina."},ogType:{name:"og:type",content:"website"},ogImage:{name:"og:image",content:"https://mojaagenda.com/icons/icon-512x512.png"},ogURL:{name:"og:url",content:"https://mojaagenda.com/"},ogLocale:{name:"og:locale",content:"sr_RS"},ogLocale_en_US:{name:"og:locale:alternate",content:"en_US"}}});const{t:h,tm:w}=R(),C=$(),c=T(),z=q(()=>String(C.params.mainCategory)),m=A(),f=B(z);return(d,i)=>(o(),g(j,null,{default:u(()=>[a("div",U,[a("div",N,[n(v,{appear:"","enter-active-class":"animated fadeInUp slower","leave-active-class":"animated fadeOutDown"},{default:u(()=>[n(b,{src:t(S),alt:"Agenda Logo",width:"20rem"},null,8,["src"])]),_:1}),n(v,{appear:"","enter-active-class":"animated fadeInUp slower delay-1s","leave-active-class":"animated fadeOutDown"},{default:u(()=>[a("p",Q,[x(l(d.$t("headingText1")),1),i[1]||(i[1]=a("br",null,null,-1)),x(" "+l(d.$t("headingText2")),1)])]),_:1})]),a("div",V,[t(f)?(o(),s(r,{key:0},[n(_,{title:t(h)("goBack"),image:"",icon:"keyboard_backspace",onClick:i[0]||(i[0]=e=>t(c).push({name:t(I).Home}))},null,8,["title"]),(o(!0),s(r,null,p(t(f).categories,e=>(o(),g(_,{key:e.category,id:"category_"+e.slug,title:e.name,image:e.image,onClick:y=>t(c).push(e.route)},null,8,["id","title","image","onClick"]))),128))],64)):(o(!0),s(r,{key:1},p(t(m),(e,y)=>(o(),g(_,{key:e.slug,title:e.name,image:e.image,icon:e.icon,onClick:H=>t(c).push(e.route),class:k({"col-12":t(m).length%2===1&&y===t(m).length-1})},null,8,["title","image","icon","onClick","class"]))),128))]),a("div",O,[a("div",W,[a("h4",E,l(t(h)("auth.partnerWhy.title")),1),a("ul",{class:k("text-body2 q-px-sm "+(d.$q.screen.gt.sm?"text-center":"text-left")),style:{"list-style":"disc inside none","font-size":"0.75rem"}},[(o(!0),s(r,null,p(t(w)("auth.partnerWhy.text"),e=>(o(),s("li",{key:e},l(e),1))),128))],2)])]),a("div",null,[n(D)])])]),_:1}))}});export{ae as default};
