PageStats.jsx 783 Bytes
Newer Older
1
import React, { useState } from "react";
2
3
import { compose } from "recompose";
import Typography from "@material-ui/core/Typography";
4
import { makeStyles } from "@material-ui/styles";
5
import { withPaddedPaper } from "./shared";
6
import SqlInterface from "../stats/RequestSQLHandler";
7

8
const useStyles = makeStyles({
9
  requestInterface: {}
10
11
});

12
13
14
15
/**
 * Component corresponding to the stats page of the site
 */
function PageStats() {
16
17
  const classes = useStyles();

18
19
  return (
    <>
20
21
22
23
24
25
      <Typography variant="h3">
        Exploration des statistiques d'utilisation du site REX-DRI
      </Typography>
      <div className={classes.requestInterface}>
        <SqlInterface />
      </div>
26
27
28
29
30
31
32
    </>
  );
}

PageStats.propTypes = {};

export default compose(withPaddedPaper())(PageStats);