diff --git a/src/components/GuideHeader.astro b/src/components/GuideHeader.astro new file mode 100644 index 000000000..ac0085350 --- /dev/null +++ b/src/components/GuideHeader.astro @@ -0,0 +1,42 @@ +--- +import type { GuideFileType } from '../lib/guide'; + +export interface Props { + guide: GuideFileType; +} + +const { guide } = Astro.props; +const { frontmatter } = guide; +const { author } = frontmatter; +--- + +
+ {frontmatter.description} +
+