aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index b597a44..512d416 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,5 +1,23 @@
import React from 'react';
import ReactDOM from 'react-dom';
-import App from './App';
+
+import styled from 'styled-components';
+import CssBaseline from '@material-ui/core/CssBaseline'
+
+import Header from "./components/Header";
+
+
+const App = () => (
+ <Root>
+ <CssBaseline/>
+ <Header/>
+ <p> Page content here </p>
+ </Root>
+);
+
+const Root = styled.div`
+ background: lightgrey;
+`;
+
ReactDOM.render(<App />, document.getElementById('root'));