import{A as e,C as t,D as n,E as r,J as i,K as a,M as o,b as s,i as c,j as l,kt as u,ot as d,r as f,w as p,wt as m}from"./dist-B4ulKgpj.js";import{t as h}from"./FrontOfficeLayout-PUirTnzN.js";var g={class:`mx-auto max-w-6xl px-4 py-14 sm:px-6`},_={key:0,class:`grid gap-6 md:grid-cols-2`},v={class:`text-xl font-semibold text-[#0a3160]`},y={key:0,class:`mt-3 flex-1 text-sm leading-6 text-[#234e7a]`},b={class:`mt-4 flex flex-wrap gap-2 text-xs text-[#436489]`},x={class:`rounded-full bg-[#f0f6fc] px-3 py-1 font-medium`},S={class:`rounded-full bg-[#f0f6fc] px-3 py-1 font-medium`},C={key:1,class:`text-sm text-[#436489]`},w=o({layout:h,__name:`Programmes`,props:{programmes:{}},setup(o){let h=o,w=t(()=>{let e=h.programmes;return Array.isArray(e)?e:e?.data??[]});return(t,o)=>(a(),n(s,null,[l(m(f),{title:`EAC Programmes`}),o[1]||=p(`section`,{class:`bg-[#0a3160] text-white`},[p(`div`,{class:`mx-auto max-w-6xl px-4 py-14 sm:px-6`},[p(`h1`,{class:`text-3xl font-semibold md:text-4xl`},`EAC Programmes`),p(`p`,{class:`mt-4 max-w-3xl text-[#d8e8f7]`},` Professional learning pathways for aspiring and practising estate agents in Zimbabwe. `)])],-1),p(`section`,g,[w.value.length?(a(),n(`div`,_,[(a(!0),n(s,null,i(w.value,t=>(a(),n(`article`,{key:t.id,class:`flex flex-col rounded-xl border border-[#d9e3ef] bg-white p-6 shadow-sm`},[p(`h2`,v,u(t.name),1),t.description?(a(),n(`p`,y,u(t.description),1)):r(``,!0),p(`div`,b,[p(`span`,x,u(t.duration),1),p(`span`,S,u(t.level),1)]),l(m(c),{href:`/programmes/${t.slug}`,class:`mt-6 inline-flex w-fit rounded-md bg-[#0a3160] px-4 py-2 text-sm font-semibold text-white hover:bg-[#0f407a]`},{default:d(()=>[...o[0]||=[e(` View programme details `,-1)]]),_:1},8,[`href`])]))),128))])):(a(),n(`p`,C,` Programmes will be published here soon. Please check back later. `))])],64))}});export{w as default};