diff options
author | Eugene <eug-vs@keemail.me> | 2019-12-31 19:32:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-31 19:32:33 +0000 |
commit | 800992d6322897acb5829ee40728bc5adee455e5 (patch) | |
tree | 3d0b2c624310b4233ff7b5891102d403af236bf4 /src/index.js | |
parent | 03066fdce955010ddb2b95fe319a862ed2c047ea (diff) | |
parent | 11f4a2cff3068cdb27bf5da0054d8204a3ee5070 (diff) | |
download | chrono-cube-ui-800992d6322897acb5829ee40728bc5adee455e5.tar.gz |
Merge pull request #8 from Eug-VS/markup
Markup initial homepage
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 20 |
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')); |