Skip to content
This repository was archived by the owner on May 15, 2022. It is now read-only.

Commit 506b435

Browse files
committed
Match prev example site styling
1 parent 69c1e3e commit 506b435

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

example/pages/index.js

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
1+
import Head from 'next/head';
12
import ReactDatGui from '../components/ReactDatGui';
23

3-
const Page = () => <ReactDatGui />;
4+
const Page = () => (
5+
<>
6+
<Head>
7+
<meta name="viewport" content="width=device-width, initial-scale=1" />
8+
<meta charSet="utf-8" />
9+
</Head>
10+
<style jsx global>{`
11+
html {
12+
width: 100%;
13+
height: 100%;
14+
}
15+
body {
16+
margin: 0 20px;
17+
background-color: #f3eee8;
18+
color: #53504d;
19+
font: 14px/22px Arial, sans-serif;
20+
}
21+
`}</style>
22+
<ReactDatGui />
23+
</>
24+
);
425

526
export default Page;

0 commit comments

Comments
 (0)