Created
March 10, 2021 16:51
-
-
Save sethdorris/6d03a70d64f6c99e4113efef2634cd37 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let RouteController = () => { | |
return ( | |
<div> | |
<AdminMenu></AdminMenu> | |
<Switch> | |
<Route path="/search"> | |
<SearchPage /> | |
</Route> | |
<Route path="/privacy"> | |
<PrivacyPage /> | |
</Route> | |
<Route path="/Details/:id"> | |
<UavDetailsPage /> | |
</Route> | |
<Route path="/Account/ForgotPassword"> | |
<ForgotPasswordPage></ForgotPasswordPage> | |
</Route> | |
<Route path="/Account/ResetPassword"> | |
<ResetPasswordPage></ResetPasswordPage> | |
</Route> | |
<Route path="/Account/RequestAccount"> | |
<RequestAccountPage></RequestAccountPage> | |
</Route> | |
<Route path="/Admin/AccountRequests"> | |
<RequestReviewPage></RequestReviewPage> | |
</Route> | |
<Route path="/Admin/SuasRequest/Details/:id"> | |
<NewSuasRequestDetails></NewSuasRequestDetails> | |
</Route> | |
{/* User management - give roles */} | |
<Route path="/Admin/Validator"> | |
<SUASRequests></SUASRequests> | |
</Route> | |
<Route path="/Landing"> | |
<LandingPage /> | |
</Route> | |
<Route path="/"> | |
<LoginPage /> | |
</Route> | |
</Switch> | |
</div> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment