mirror of
https://github.com/prdlk/leetcode.git
synced 2026-11-02 13:12:44 +00:00
20 lines
797 B
TypeScript
20 lines
797 B
TypeScript
/**
|
|||
|
|
* Project MDX components, available on every page with no import, and layout
|
||
|
|
* slot overrides. Static `.astro` files ship no framework JS (a custom element
|
||
|
|
* carries any behaviour); interactive React lives in `islands/` instead.
|
||
|
|
*/
|
||
|
|
import { defineComponents } from "blume";
|
||
|
|
|
||
|
|
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: {
|
||
|
|
// Topic landing pages' "what links here": every problem pointing at the page.
|
||
|
|
PageFooter: "./components/BacklinksList.astro",
|
||
|
|
},
|
||
|
|
});
|