aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/ReplayPage.js
blob: 09882840d3cf1dc78ef8ac70471268d84735cad6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import React from 'react';
import { Container, makeStyles, Paper, Slider } from '@material-ui/core';
import MainToolbar from '../MainToolbar';
import Map from '../map/Map';

const useStyles = makeStyles(theme => ({
  root: {
    height: '100%',
    display: 'flex',
    flexDirection: 'column',
  },
  controlPanel: {
    position: 'absolute',
    bottom: theme.spacing(5),
    left: '50%',
    transform: 'translateX(-50%)',
  },
  controlContent: {
    padding: theme.spacing(2),
  },
}));

const ReplayPage = () => {
  const classes = useStyles();

  return (
    <div className={classes.root}>
      <MainToolbar />
      <Map>
      </Map>
      <Container maxWidth="sm" className={classes.controlPanel}>
        <Paper className={classes.controlContent}>
          <Slider defaultValue={30} />
        </Paper>
      </Container>
    </div>
  );
}

export default ReplayPage;