Skip to content
Snippets Groups Projects
Commit 8521a85a authored by Joseph Weston's avatar Joseph Weston
Browse files

add statistics page skeleton, and router entry for it

parent 0483e589
Branches
Tags
No related merge requests found
......@@ -33,6 +33,10 @@ const Graders = Loadable({
loader: () => import('./views/Graders'),
loading: Loading,
});
const Statistics = Loadable({
loader: () => import('./views/Statistics'),
loading: Loading,
});
const Reset = Loadable({
loader: () => import('./views/Reset'),
loading: Loading,
......@@ -52,6 +56,7 @@ if (root == null) {
<Route path="/grade" component={Grade} />
<Route path="/graders" component={Graders} />
<Route path="/reset" component={Reset} />
<Route path="/statistics" component={Statistics} />
</Switch>
</Router>
), root);
......
import React from 'react';
import NavBar from '../components/NavBar';
import Hero from '../components/Hero';
import Footer from '../components/Footer';
const StatisticsDashboard = () => {
return (
<div>
<NavBar />
<Hero title='Statistics Dashboard' subtitle='Is your exam sane?' />
<h1>React Router demo</h1>
Hoi dit de Statistics Dashboard
<Footer />
</div>
)
}
export default StatisticsDashboard;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment