{@render navigation()}
{#if hero.stats && hero.stats.length > 0}

{hero.stats[0].label} {#if hero.stats[0].value} {hero.stats[0].value} {/if}

{/if}

{hero.heading}

{hero.subheading}

{#if children}
{@render children()}
{/if} {#if showActions}
{#if hero.secondaryAction} {/if}
{/if}
{#if featured} {@const cost = featured.cost ?? 0} {@const seats = featured.totalStudents ?? 0}
{featuredTypeMeta?.label ?? labels?.featuredLabel ?? 'Featured'} {#if featured.duration} {featured.duration} {/if}

{featured.title}

{featured.description}

{#each syllabusItems as item, idx (idx)}
{String(idx + 1).padStart(2, '0')} {item.label} {item.duration}
{/each}
{formatCost(cost, featured.currency)} {#if seats > 0} {(labels?.enrolledLabel ?? ((n: number) => `${n.toLocaleString()} enrolled`))(seats)} {/if}
{/if}