import{_}from"./Layout-YVgNWB71.js";import{I as x}from"./LogoutButton-BZlSuKxY.js";import{B as h,C as r,j as s,t as o,k as t,z as d,y as i,m as c,F as f,q as g,E as u,x as b}from"./vendor-CoimUlS3.js";import{P as v}from"./Pagination-BQzgmhC4.js";import{S as k}from"./Subscribe-DD8XHeq1.js";import{h as y}from"./utils-CXPYudwi.js";import{_ as w}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Logo-DiOikIGZ.js";import"./app-W9XHfen4.js";import"./ui-CI37mw-K.js";import"./LoadingButton-BqD68voa.js";import"./parsePageHtml-sMSVvmM_.js";import"./FlashMessages-D1juQjH6.js";/* empty css                                                                 */const B={layout:_,props:{posts:Object,type:Object},components:{Icon:x,Pagination:v,Subscribe:k,Link:h},created(){this.moment=y}},z={class:"relative z-10 overflow-hidden bg-primary pt-[120px] pb-[100px] md:pt-[130px] lg:pt-[160px]"},C={class:"container"},L={class:"-mx-4 flex flex-wrap items-center"},N={class:"w-full px-4"},V={class:"text-center"},Y={key:0,class:"text-4xl font-semibold text-white"},j={class:"pt-20 pb-10 lg:pt-[120px] lg:pb-20"},D={class:"container"},I={class:"-mx-4 flex flex-wrap"},M={class:"wow fadeInUp group mb-10","data-wow-delay":".1s"},S={class:"mb-8 overflow-hidden rounded"},E=["href"],F=["src"],O={class:"mb-5 inline-block rounded bg-primary py-1 px-4 text-center text-xs font-semibold leading-loose text-white"},P={class:"text-base text-body-color"};function T(n,l,a,q,U,$){const m=r("Link"),p=r("pagination");return o(),s("div",null,[t("section",z,[t("div",C,[t("div",L,[t("div",N,[t("div",V,[a.type.name?(o(),s("h1",Y,i(a.type.name),1)):d("",!0)])])])]),l[0]||(l[0]=t("div",null,[t("span",{class:"absolute top-0 left-0 z-[-1]"},[t("img",{src:"/landing/images/header/shape-1.svg",alt:""})]),t("span",{class:"absolute top-0 right-0 z-[-1]"},[t("img",{src:"/landing/images/header/shape-2.svg",alt:""})])],-1))]),t("section",j,[t("div",D,[t("div",I,[(o(!0),s(f,null,g(a.posts.data,e=>(o(),s("div",{class:"w-full px-4 md:w-1/2 lg:w-1/3",key:e.id},[t("div",M,[t("div",S,[t("a",{href:n.route("blog.details",e.id),class:"block"},[e.image?(o(),s("img",{key:0,src:e.image,alt:"",class:"w-full transition group-hover:rotate-6 group-hover:scale-125"},null,8,F)):d("",!0)],8,E)]),t("div",null,[t("span",O,i(n.moment(e.updated_at).format("MMM DD, YYYY")),1),t("h3",null,[c(m,{href:n.route("blog.details",e.id),class:"mb-4 inline-block text-xl font-semibold text-dark hover:text-primary sm:text-2xl lg:text-xl xl:text-2xl"},{default:u(()=>[b(i(e.title),1)]),_:2},1032,["href"])]),t("p",P,i(e.details.length<70?e.details:e.details.substring(0,70)+"..."),1)])])]))),128))]),c(p,{class:"mt-6",links:a.posts.links},null,8,["links"])])])])}const at=w(B,[["render",T]]);export{at as default};
