feat: added events.js

This commit is contained in:
Rushil Umaretiya 2021-03-06 13:30:46 -05:00
parent c9bfff7cdb
commit f88cba4521
No known key found for this signature in database
GPG Key ID: 4E8FAF9C926AF959
3 changed files with 9 additions and 1 deletions

View File

@ -8,6 +8,7 @@ import Blog from "./components/Blog";
import Donate from "./components/Donate";
import Navbar from "./components/Navbar";
import Sponsors from "./components/Sponsors";
import Events from "./components/Events";
function App() {
return (
@ -20,7 +21,8 @@ function App() {
<Route component={Blog} path="/blog" />
<Route component={Donate} path="/donate" />
<Route component={Sponsors} path="/sponsors" />
<Route component={Home} path="/" />
<Route component={Events} path="/events" />
<Route component={Home} path="/" />
</Switch>
</BrowserRouter>

6
src/components/Events.js Normal file
View File

@ -0,0 +1,6 @@
import React from "react";
import "./assets/Events.scss";
export default function Events(props) {
return <div>Events</div>;
}

View File