1import{c as x,L as f,f as r,j as n,g as t,e as y,K as g,$ as a,t as l,i as m,h as s,C as h,A as b,aH as C}from"./CeEiuf4C.js";const k={class:"flex h-full flex-col"},w={class:"relative"},S=["src","alt"],v={key:0,class:"text-primary absolute top-1/2 right-0 left-0 z-10 -translate-y-1/2 text-center text-4xl font-bold tracking-wider uppercase"},p={class:"flex items-center justify-between py-6"},$={__name:"Card",props:{imgUrl:{type:String,required:!0},link:{type:String,required:!0},cardTitle:{type:String,required:!0},cardText:{type:String,required:!0},buttonOutline:{type:Boolean,default:!1},backgroundColor:{type:String,default:"bg-white"},textColor:{type:String,default:"text-black"},descriptionColor:{type:String,default:"text-black"},shadowColor:{type:String,default:"shadow-gray-300"},isGrayscale:{type:Boolean,default:!1},overlayText:{type:String,default:""}},setup(e){const o=e,c=x(()=>`${o.backgroundColor} ${o.shadowColor}`);return(T,B)=>{const i=b,d=h,u=C;return r(),f(u,{to:e.link,class:""},{default:n(()=>[t("div",k,[t("div",w,[t("img",{src:e.imgUrl,alt:e.cardTitle,loading:"lazy",class:a(["h-[24rem] w-full rounded-t-xl object-cover lg:h-[30rem] xl:h-56 2xl:h-[20rem]",{grayscale:e.isGrayscale}])},null,10,S),e.overlayText?(r(),y("div",v,l(e.overlayText),1)):g("",!0)]),t("div",{class:a(["flex flex-grow flex-col justify-between rounded-b-xl px-6 pt-6 shadow-lg",m(c)])},[t("h3",{class:a(["text-2xl font-bold",e.textColor])},l(e.cardTitle),3),t("div",p,[t("h4",{class:a(["text-xl",e.textColor,e.descriptionColor])},l(e.cardText),3),s(d,{"custom-class":"px-8",outline:e.buttonOutline,"aria-label":e.cardTitle},{default:n(()=>[s(i,{name:"fa6-solid:arrow-right","aria-hidden":"true"})]),_:1},8,["outline","aria-label"])])],2)])]),_:1},8,["to"])}}};export{$ as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.