import{Link as h}from"./484c2b8a.js";import{f as a,j as e}from"./index.00979935.js";import{I as m}from"./7b8fadb9.js";import"./754a85d3.js";import"./9b6f90f6.js";import"./bf7618d2.js";import"./330888ed.js";import"./b4e1d7a1.js";import{u as o}from"./8c4bd3e4.js";import"./88db0e4c.js";import"./ee4b83b9.js";import"./af9dddda.js";import"./5a0f1f8c.js";function B({title:r,contentType:t,featuredImage:l,location:s,date:c,eventTime:i}){const d=t==="Event",p=t==="Review";return a("div",{className:"mt-space-h grid grid-cols-14 gap-y-10",children:[a("div",{className:"col-start-2 col-end-14 text-center xl:col-start-4 xl:col-end-12",children:[e(h,{to:`/news-and-events?category=${t}s`,className:"blockB5 font-bold",children:t}),e("h1",{className:"blockH1 mt-2",children:r}),a("div",{className:"mt-5 flex items-center justify-center gap-x-[10px]",children:[(s==null?void 0:s.icon)&&e(m,{alt:r||"Location",data:s==null?void 0:s.icon,width:"32px",height:"32px"}),e("span",{className:"blockB3 font-semibold",children:d&&i?`${o(c)} - ${i}`:o(c,!1,!0)})]})]}),l&&!p&&e("div",{className:"col-start-1 col-end-15 lg:col-start-2 lg:col-end-14",children:e("div",{className:"aspect-h-2 aspect-w-3 relative w-full lg:aspect-h-9 lg:aspect-w-16",children:e(m,{data:l,alt:r||"Featured Image",width:"100%",height:"100%",className:"absolute left-0 top-0 h-full w-full object-cover"})})})]})}export{B as default};
//# sourceMappingURL=09f8cc6f.js.map