Skip to content

Commit d3f73ee

Browse files
committed
Add MDXLayout required by statsbomb.mdx
1 parent 9e3a190 commit d3f73ee

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/layouts/MDXLayout.astro

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
import Layout from './Layout.astro';
3+
4+
interface Props {
5+
frontmatter: {
6+
title: string;
7+
showScrollProgress?: boolean;
8+
disableAutoHideNav?: boolean;
9+
description?: string;
10+
ogImage?: string;
11+
};
12+
}
13+
14+
const { frontmatter } = Astro.props;
15+
---
16+
17+
<Layout {...frontmatter}>
18+
<slot />
19+
</Layout>

0 commit comments

Comments
 (0)