/* empty css                                    */
import { c as createComponent, r as renderComponent, a as renderTemplate, m as maybeRenderHead, b as addAttribute } from '../chunks/astro/server_5mFihzcn.mjs';
import { g as getCollection, $ as $$Layout } from '../chunks/Layout_v67TeP9G.mjs';
/* empty css                                    */
export { renderers } from '../renderers.mjs';

const $$Policies = createComponent(async ($$result, $$props, $$slots) => {
  const policies = await getCollection("policy");
  return renderTemplate`${renderComponent($$result, "Layout", $$Layout, { "title": "Policies", "showTitle": true }, { "default": async ($$result2) => renderTemplate` ${maybeRenderHead()}<div class="flex flex-col gap-5"> ${policies.map(async (policy) => {
    const { Content } = await policy.render();
    return renderTemplate`<div${addAttribute(policy.slug, "id")} class="border-b border-blue-900/5  p-5 pb-8 md:px-8 bg-white"> <h3 class="balance text-slate-700 font-semibold text-xl md:text-2xl capitalize tracking-wider"> ${policy.data.heading}${" "} </h3> ${renderTemplate`${renderComponent($$result2, "Content", Content, {})}`} </div>`;
  })} </div> ` })} `;
}, "C:/projects/sambekiel_front/src/pages/policies.astro", void 0);

const $$file = "C:/projects/sambekiel_front/src/pages/policies.astro";
const $$url = "/policies";

const _page = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
  __proto__: null,
  default: $$Policies,
  file: $$file,
  url: $$url
}, Symbol.toStringTag, { value: 'Module' }));

const page = () => _page;

export { page };
