@@ -9,21 +9,29 @@ import React from 'react';
9
9
import Layout from '@theme/Layout' ;
10
10
import Heading from '@theme/Heading' ;
11
11
import IframeWindow from '@site/src/components/BrowserWindow/IframeWindow' ;
12
+ import PagePartial from './_pagePartial.mdx' ;
12
13
13
14
// See https://github.com/facebook/docusaurus/issues/8672
14
15
export default function Embeds ( ) : JSX . Element {
15
16
return (
16
17
< Layout >
17
18
< div style = { { padding : 10 } } >
18
19
< Heading as = "h1" > Test Embeds</ Heading >
19
- < div style = { { display : 'flex' , flexWrap : 'wrap' } } >
20
- < IframeWindow url = "/?docusaurus-theme=light" />
21
- < IframeWindow url = "/?docusaurus-theme=dark" />
22
- < IframeWindow url = "/?docusaurus-theme=unexpected-value" />
23
- < IframeWindow url = "/" />
24
- < IframeWindow url = "https://docusaurus.io/" />
25
- < IframeWindow url = "https://tutorial.docusaurus.io/" />
26
- </ div >
20
+ < section >
21
+ < Heading as = "h2" > MDX Embeds</ Heading >
22
+ < PagePartial />
23
+ </ section >
24
+ < section >
25
+ < Heading as = "h2" > Iframe Embeds</ Heading >
26
+ < div style = { { display : 'flex' , flexWrap : 'wrap' } } >
27
+ < IframeWindow url = "/?docusaurus-theme=light" />
28
+ < IframeWindow url = "/?docusaurus-theme=dark" />
29
+ < IframeWindow url = "/?docusaurus-theme=unexpected-value" />
30
+ < IframeWindow url = "/" />
31
+ < IframeWindow url = "https://docusaurus.io/" />
32
+ < IframeWindow url = "https://tutorial.docusaurus.io/" />
33
+ </ div >
34
+ </ section >
27
35
</ div >
28
36
</ Layout >
29
37
) ;
0 commit comments