mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-21 13:23:04 +01:00
Doesn't really need user account, no sensitive data held in DB, plus routes that do stuff are rate limited anyway. Shouldn't be accessible to untrusted users (i.e. should be behind a RP that handles user auth)
25 lines
637 B
JavaScript
Vendored
25 lines
637 B
JavaScript
Vendored
import React, { Component } from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import HistoryGraph from '../Graphics/HistoryGraph';
|
|
import LatestResults from '../Graphics/LatestResults';
|
|
import Footer from './Footer';
|
|
|
|
export default class HomePage extends Component {
|
|
|
|
render() {
|
|
return (
|
|
<div>
|
|
<div className="my-4">
|
|
<LatestResults />
|
|
<HistoryGraph />
|
|
</div>
|
|
<Footer />
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
|
|
if (document.getElementById('homePage')) {
|
|
ReactDOM.render(<HomePage />, document.getElementById('homePage'));
|
|
}
|