-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganized web pages and added stub pages for Sanctuary (#68)
Problem In preparing the front end for integrating Sanctuary, exisitng pages needed to be reorganized and new pages added. Solution - Pages are organized first by user group (medical and sanctuary) and then by function (home, search, form). - Stub pages for Sanctuary were added. - The ProtectedNavbar component was updated to reflect the new page organization (defaults to medical routes). - TODOs were added to easily locate where routes need to be dynamically generated based on user group. - Medical component Home renamed to MedicalHome for clarity. Ticket URL N/A Documentation N/A Tests Run - Manually tested new pages and navigation.
- Loading branch information
Showing
8 changed files
with
60 additions
and
12 deletions.
There are no files selected for viewing
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
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
File renamed without changes.
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from "react"; | ||
import Container from "@mui/material/Container"; | ||
import Typography from "@mui/material/Typography"; | ||
import { ProtectedRoute } from "../../contexts/auth"; | ||
|
||
|
||
|
||
function SanctuaryIntakeForm(): JSX.Element { | ||
return ( | ||
<Container maxWidth="md"> | ||
<Typography variant="h1">Sanctuary Form</Typography> | ||
</Container> | ||
); | ||
} | ||
|
||
export default ProtectedRoute(SanctuaryIntakeForm); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from "react"; | ||
import Container from "@mui/material/Container"; | ||
import Typography from "@mui/material/Typography"; | ||
import { ProtectedRoute } from "../../contexts/auth"; | ||
|
||
|
||
|
||
function SanctuaryHome(): JSX.Element { | ||
return ( | ||
<Container maxWidth="md"> | ||
<Typography variant="h1">Sanctuary Home</Typography> | ||
</Container> | ||
); | ||
} | ||
|
||
export default ProtectedRoute(SanctuaryHome); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from "react"; | ||
import Container from "@mui/material/Container"; | ||
import Typography from "@mui/material/Typography"; | ||
import { ProtectedRoute } from "../../contexts/auth"; | ||
|
||
|
||
|
||
function SanctuaryIntakeSearch(): JSX.Element { | ||
return ( | ||
<Container maxWidth="md"> | ||
<Typography variant="h1">Sanctuary Search</Typography> | ||
</Container> | ||
); | ||
} | ||
|
||
export default ProtectedRoute(SanctuaryIntakeSearch); |