diff --git a/src/components/roadmaps/Journey.astro b/src/components/roadmaps/Journey.astro index 8293769..1b308e8 100644 --- a/src/components/roadmaps/Journey.astro +++ b/src/components/roadmaps/Journey.astro @@ -23,27 +23,31 @@ const render = (md) => <> { roadmap.phases.flatMap((phase, ix) => { - const milestones = phase.milestones.flatMap((milestone, jx) => ( - <> - - - - )); - const checked = ix === 0; + const milestones = phase.milestones.flatMap((milestone, jx) => { + const checked = milestone.highlight === true; + return ( + <> + + + + ); + }); + const checked = phase.highlight === true; return ( <> {milestone.title} <>{render(milestone.description)} + {milestone.media ? ( + <> +
+ demo +
+
+