-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new default side nav component, updated Side
Nav to display categories, updated Header for MVP Demo.
- Loading branch information
1 parent
5490650
commit 0d87f34
Showing
5 changed files
with
380 additions
and
25 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
24 changes: 24 additions & 0 deletions
24
frontend/src/components/ReadySetCyber/RSCDefaultSideNav.tsx
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,24 @@ | ||
import React from 'react'; | ||
import { useParams } from 'react-router-dom'; | ||
import Box from '@mui/material/Box'; | ||
import List from '@mui/material/List'; | ||
import ListItem from '@mui/material/ListItem'; | ||
import Divider from '@mui/material/Divider'; | ||
|
||
export const RSCDefaultSideNav: React.FC = () => { | ||
const { id } = useParams<{ id: string }>(); | ||
|
||
return ( | ||
<div> | ||
<Box sx={{ width: '100%', maxWidth: 360, bgcolor: 'background.paper' }}> | ||
<List> | ||
<ListItem>Welcome User</ListItem> | ||
<Divider component="li" /> | ||
<ListItem>Take Questionnaire Again</ListItem> | ||
<Divider component="li" /> | ||
<ListItem>Logout</ListItem> | ||
</List> | ||
</Box> | ||
</div> | ||
); | ||
}; |
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
Oops, something went wrong.