diff options
author | Galen Guyer <galen@galenguyer.com> | 2020-11-14 19:34:48 -0500 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2020-11-14 19:34:48 -0500 |
commit | 89a4e929a9b97867f9ed8f57b41a0a661ad34d0b (patch) | |
tree | b566d1802e855bbe91d58ced9ffabd069a14dad6 /src | |
parent | fe81f26ee38b17ec490e9d04e1074bafbb6a1165 (diff) |
make the main title a link to the homepage
Diffstat (limited to 'src')
-rw-r--r-- | src/App.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ import useSWR from "swr"; import { DateTime } from "luxon"; -import { BrowserRouter, Route, Switch } from "react-router-dom"; +import { BrowserRouter, Route, Switch, Link } from "react-router-dom"; import MainPage from "./MainPage"; import History from "./History"; import "./App.css"; @@ -33,7 +33,7 @@ function App() { return ( <BrowserRouter> <div className="App"> - <h1 className="text-4xl">RIT Covid Dashboard</h1> + <h1 className="text-4xl"><Link to="/">RIT Covid Dashboard</Link></h1> <h3> Last Updated:{" "} {lastUpdate.toLocaleString({ |