--- import type { HTMLTag, Polymorphic } from "astro/types"; import { getInstructorsSection } from "#api/instructors"; import CalendlyButton from "#components/CalendlyButton.astro"; import Container from "#components/Container.astro"; import Instructor from "#components/Instructor.astro"; type Props = Polymorphic<{ as: Tag }>; const { as: Tag = "div", class: className, ...props } = Astro.props; const section = await getInstructorsSection(); ---

{section.title}


{ section.instructors.map((instructor) => ( {section.newStudentCalendarButton && ( {section.newStudentCalendarButton.label || "Get started"} )} )) }