aboutsummaryrefslogtreecommitdiff
path: root/src/MainPage.js
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2020-11-14 14:38:35 -0500
committerGalen Guyer <galen@galenguyer.com>2020-11-14 14:38:35 -0500
commitbe01fd2faaad2feebdb31f7a813a636d93356db8 (patch)
tree6d757bdf203876c9657a190a218e5be600ba2a79 /src/MainPage.js
parent223baecd2196a92e86daf475e499c02a66a754b9 (diff)
Add alert level and clean up colors
Diffstat (limited to 'src/MainPage.js')
-rw-r--r--src/MainPage.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/MainPage.js b/src/MainPage.js
index 82cb196..cb83078 100644
--- a/src/MainPage.js
+++ b/src/MainPage.js
@@ -7,6 +7,10 @@ const MainPage = (props) => {
return (
<>
+ <h4 className="text-2xl">
+ Alert Level: {latest.alert_level.charAt(0).toUpperCase() + latest.alert_level.slice(1)}
+ </h4>
+ <br />
<div id="total">
<h4 className="text-2xl">Total Positive Cases Since August 19 (First Day of Classes)</h4>
<div className="Section">