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