dynmap integration
This commit is contained in:
22
src/pages/dynmap_creative.js
Normal file
22
src/pages/dynmap_creative.js
Normal file
@ -0,0 +1,22 @@
|
||||
import React from 'react';
|
||||
import Layout from '@theme/Layout';
|
||||
|
||||
export default function Hello() {
|
||||
return (
|
||||
<Layout title="Dynmap Creative"
|
||||
noFooter={true}
|
||||
description="Dynmap Creative">
|
||||
<div
|
||||
style={{
|
||||
display: 'flex',
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
height: 'calc(100vh - 60px)',
|
||||
fontSize: '20px',
|
||||
backgroundColor: 'pink'
|
||||
}}>
|
||||
<iframe src="https://cmap.survival-pi.com" height="100%" width="100%"></iframe>
|
||||
</div>
|
||||
</Layout>
|
||||
);
|
||||
}
|
22
src/pages/dynmap_smp.js
Normal file
22
src/pages/dynmap_smp.js
Normal file
@ -0,0 +1,22 @@
|
||||
import React from 'react';
|
||||
import Layout from '@theme/Layout';
|
||||
|
||||
export default function Hello() {
|
||||
return (
|
||||
<Layout title="Dynmap SMP"
|
||||
noFooter={true}
|
||||
description="Dynmap SMP">
|
||||
<div
|
||||
style={{
|
||||
display: 'flex',
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
height: 'calc(100vh - 60px)',
|
||||
fontSize: '20px',
|
||||
backgroundColor: 'pink'
|
||||
}}>
|
||||
<iframe src="https://map.survival-pi.com" height="100%" width="100%"></iframe>
|
||||
</div>
|
||||
</Layout>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user