Skip to content

Commit 7ebe340

Browse files
Add stay safe component
1 parent 940a653 commit 7ebe340

File tree

11 files changed

+533
-7
lines changed

11 files changed

+533
-7
lines changed

src/App.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import Paper from "./components/Paper";
44
import "./App.css";
55
import Navbar from "./components/Navbar";
66
import { Switch, Route } from "react-router-dom";
7+
import StaySafe from "./components/StaySafe";
78

89
class App extends Component {
910
constructor(props) {
@@ -39,11 +40,7 @@ class App extends Component {
3940
)}
4041
/>
4142
<Route exact path="/symptoms" render={() => <h1>symptoms</h1>} />
42-
<Route
43-
exact
44-
path="/stay-safe"
45-
render={() => <h1>Stay Safe</h1>}
46-
/>
43+
<Route exact path="/stay-safe" render={() => <StaySafe />} />
4744
<Route exact path="/help" render={() => <h1>Help Page</h1>} />
4845
<Route
4946
path="/"

src/assets/SVG/01.svg

Lines changed: 71 additions & 0 deletions
Loading

src/assets/SVG/02.svg

Lines changed: 48 additions & 0 deletions
Loading

src/assets/SVG/03.svg

Lines changed: 60 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)