--- import Base from "@/layouts/Base.astro"; import CallToAction from "@/layouts/components/CallToAction.astro"; import CareerCard from "@/layouts/components/CareerCard.astro"; import Faq from "@/layouts/components/Faq.astro"; import GradientBlob from "@/layouts/components/GradientBlob.astro"; import ImageMod from "@/layouts/components/ImageMod.astro"; import ValueCard from "@/layouts/components/ValueCard.astro"; import { getListPage, getSinglePage } from "@/lib/contentParser.astro"; import { markdownify } from "@/lib/utils/textConverter"; import type { Careers } from "@/types"; // Page-level content from content collection const careersIndex = await getListPage("careers", "-index"); const pageData: Careers = careersIndex.data; // Individual job listings const jobs = await getSinglePage("careers"); --- { (pageData.gallery?.enable ?? true) && ( View Open Roles {pageData.gallery?.items?.map((img: any) => ( ))} ) } { (pageData.what_we_offer?.enable ?? true) && ( {pageData.what_we_offer?.title ?? "What We Offer"} {pageData.what_we_offer?.subtitle} {pageData.what_we_offer?.offers?.map((offer: any) => ( ))} ) } { (pageData.staff_testimonials?.enable ?? true) && ( {pageData.staff_testimonials?.title} {pageData.staff_testimonials?.items?.map((item) => ( {item.quote} {item.name} {item.designation} ))} ) } { (pageData.open_positions?.enable ?? true) && ( Open Positions {jobs.map((job) => ( ))} ) }
{pageData.what_we_offer?.subtitle}
{item.quote}
{item.name}
{item.designation}