forked from Daquiver1/Frontend-Grading-Assignment
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
34 lines (32 loc) · 1.31 KB
/
App.js
File metadata and controls
34 lines (32 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import React from 'react';
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
import LandingPage from './components/Landingpage';
import LoginPage from './components/LoginPage';
import DashboardPage from './components/DashboardPage';
import GradeReportPage from './components/GradeReportPage';
import MissingGradeFormPage from './components/MissingGradeFormPage';
import InstructorContactPage from './components/InstructorContactPage';
import HelpAndSupportPage from './components/HelpAndSupportPage';
import Navbar from './components/Navbar';
import Footer from './components/Footer';
import './styles.css';
const App = () => {
return (
<Router>
<div>
<Navbar />
<Switch>
<Route path="/" exact component={LandingPage} />
<Route path="/login" component={LoginPage} />
<Route path="/dashboard" component={DashboardPage} />
<Route path="/grade-report" component={GradeReportPage} />
<Route path="/missing-grade-form" component={MissingGradeFormPage} />
<Route path="/instructor-contact" component={InstructorContactPage} />
<Route path="/help-and-support" component={HelpAndSupportPage} />
</Switch>
<Footer />
</div>
</Router>
);
};
export default App;