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/MainPage.js | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 src/MainPage.js (limited to 'src/MainPage.js') diff --git a/src/MainPage.js b/src/MainPage.js new file mode 100644 index 0000000..3ce4c22 --- /dev/null +++ b/src/MainPage.js @@ -0,0 +1,71 @@ +import React from "react"; +import Card from "./Card"; + +const MainPage = (props) => { + const latest = props.latest; + const prior = props.prior; + + return ( + <> +
+

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

+
+ +
+
+ + ); +}; + +export default MainPage; -- cgit v1.2.3