aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEug-VS <eug-vs@keemail.me>2020-01-02 23:42:37 +0300
committerEug-VS <eug-vs@keemail.me>2020-01-02 23:42:37 +0300
commit2b917f53e806191340a7a26bef3468320dd29917 (patch)
treea1aa0a11684cf7db890eb66ceda75beebb1fc616 /src
parent223da46f8ce2ce84938a1bd0df2d33a2add4e3e3 (diff)
downloadchrono-cube-ui-2b917f53e806191340a7a26bef3468320dd29917.tar.gz
Fix invalid merge commit
Diffstat (limited to 'src')
-rw-r--r--src/index.js19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/index.js b/src/index.js
index de4cb2a..725d270 100644
--- a/src/index.js
+++ b/src/index.js
@@ -35,17 +35,18 @@ const App = () => {
}
};
- const classes = useStyles();
return (
- <ThemeProvider theme={theme}>
+ <Root>
<CssBaseline/>
- <Header setPage={setPage}/>
- <Box className={classes.root}>
- <Typography variant="h4"> This is the {page} page! </Typography>
- { getPageComponent(page)}
- </Box>
- </ThemeProvider>
- );
+ <Header setPage={setPage} />
+ <Container maxWidth="xl">
+ <Paper elevation={4} style={{backgroundColor: "bisque"}}>
+ <Typography variant="h4"> This is the {page} page! </Typography>
+ { getPageComponent(page) }
+ </Paper>
+ </Container>
+ </Root>
+);
};
const Root = styled.div`
background: cornsilk;