@@ -9,21 +9,29 @@ import React from 'react';
99import Layout from '@theme/Layout' ;
1010import Heading from '@theme/Heading' ;
1111import IframeWindow from '@site/src/components/BrowserWindow/IframeWindow' ;
12+ import PagePartial from './_pagePartial.mdx' ;
1213
1314// See https://github.com/facebook/docusaurus/issues/8672
1415export default function Embeds ( ) : JSX . Element {
1516 return (
1617 < Layout >
1718 < div style = { { padding : 10 } } >
1819 < 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 >
2735 </ div >
2836 </ Layout >
2937 ) ;
0 commit comments