From 73f83293a003d4da2457919389a0ddae605e5d5d Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Sat, 14 Nov 2020 13:37:11 -0500 Subject: pop most data into MainPage for router --- src/App.js | 61 ++----------------------------------------------------------- 1 file changed, 2 insertions(+), 59 deletions(-) (limited to 'src/App.js') diff --git a/src/App.js b/src/App.js index 734ee62..e456b5c 100644 --- a/src/App.js +++ b/src/App.js @@ -1,6 +1,6 @@ import useSWR from "swr"; import { DateTime } from "luxon"; -import Card from "./Card"; +import MainPage from "./MainPage"; import "./App.css"; const url = "https://rcpoller.galenguyer.com/api/v0/history"; @@ -43,64 +43,7 @@ function App() {

-
-

Total Positive Cases Since August 19 (First Day of Classes)

-
- - -
-
-
-
-

New Positive Cases From Past 14 Days

- -
- - -
-
-
-
-

Number of Students in Quarantine

-
- Quarantine separates and restricts the movement of people who were exposed to a contagious disease - to see if they become sick. -
-
- - -
-
-
-
-

Number of Students in Isolation

-
- Isolation separates sick people with a contagious disease from people who are not sick. -
-
- - -
-
-
-
-

Number of Tests Administered by Student Health Center

-
- -
-
-
-
-

Quarantine/Isolation Bed Availability On-campus

-
- -
-
+ ); } -- cgit v1.2.3