docs(docs): add wrapper badge component, make backlinks collapsible, and include solution code for Gas Station problem

This commit is contained in:
Prad Nukala committed 2026-09-29 17:03:28 -04:00
1 parent 2f94b02e15
commit d2c645bef8
4 files changed
+49 -20

No files matched your search

+3 -2
View File
@@ -9,10 +9,11 @@ export default defineComponents({
mdx: {
Carousel: "./components/Carousel.astro",
CarouselImage: "./components/CarouselImage.astro",
// MDX's own content wrapper: problem pages' topic + explanation badges, from
// `topics:` / `video:` frontmatter, between the description and the body.
wrapper: "./components/ProblemBadges.astro",
},
layout: {
// Problem pages' topic + explanation badges, from `topics:` / `video:` frontmatter.
PageHeader: "./components/ProblemBadges.astro",
// Topic landing + guide pages' "what links here": every problem pointing at the page.
PageFooter: "./components/BacklinksList.astro",
},