--- import AstroIcon from './AstroIcon.astro'; import Icon from './AstroIcon.astro'; import { RoadmapTitleQuestion } from './RoadmapTitleQuestion.tsx'; import ResourceProgressStats from './ResourceProgressStats.astro'; export interface Props { roadmapId: string; tnsBannerLink?: string; titleQuestion?: string; titleAnswer?: string; } const { roadmapId, titleQuestion = '', titleAnswer = '', tnsBannerLink, } = Astro.props; const hasTitleQuestion = titleQuestion && titleAnswer; const hasTnsBanner = !!tnsBannerLink; ---
{ hasTitleQuestion && ( ) }