139 lines
4.6 KiB
TypeScript
139 lines
4.6 KiB
TypeScript
|
|
import Box from '@mui/joy/Box';
|
||
|
|
import List from '@mui/joy/List';
|
||
|
|
import ListSubheader from '@mui/joy/ListSubheader';
|
||
|
|
import ListItem from '@mui/joy/ListItem';
|
||
|
|
import ListItemButton from '@mui/joy/ListItemButton';
|
||
|
|
import ListItemDecorator from '@mui/joy/ListItemDecorator';
|
||
|
|
import ListItemContent from '@mui/joy/ListItemContent';
|
||
|
|
|
||
|
|
import InboxRoundedIcon from '@mui/icons-material/InboxRounded';
|
||
|
|
import OutboxRoundedIcon from '@mui/icons-material/OutboxRounded';
|
||
|
|
import DraftsRoundedIcon from '@mui/icons-material/DraftsRounded';
|
||
|
|
import AssistantPhotoRoundedIcon from '@mui/icons-material/AssistantPhotoRounded';
|
||
|
|
import DeleteRoundedIcon from '@mui/icons-material/DeleteRounded';
|
||
|
|
|
||
|
|
export default function Navigation() {
|
||
|
|
return (
|
||
|
|
<List size="sm" sx={{ '--ListItem-radius': '8px', '--List-gap': '4px' }}>
|
||
|
|
<ListItem nested>
|
||
|
|
<ListSubheader sx={{ letterSpacing: '2px', fontWeight: '800' }}>
|
||
|
|
Browse
|
||
|
|
</ListSubheader>
|
||
|
|
<List aria-labelledby="nav-list-browse">
|
||
|
|
<ListItem>
|
||
|
|
<ListItemButton selected>
|
||
|
|
<ListItemDecorator>
|
||
|
|
<InboxRoundedIcon fontSize="small" />
|
||
|
|
</ListItemDecorator>
|
||
|
|
<ListItemContent>Inbox</ListItemContent>
|
||
|
|
</ListItemButton>
|
||
|
|
</ListItem>
|
||
|
|
<ListItem>
|
||
|
|
<ListItemButton>
|
||
|
|
<ListItemDecorator>
|
||
|
|
<OutboxRoundedIcon fontSize="small" />
|
||
|
|
</ListItemDecorator>
|
||
|
|
<ListItemContent>Sent</ListItemContent>
|
||
|
|
</ListItemButton>
|
||
|
|
</ListItem>
|
||
|
|
<ListItem>
|
||
|
|
<ListItemButton>
|
||
|
|
<ListItemDecorator>
|
||
|
|
<DraftsRoundedIcon fontSize="small" />
|
||
|
|
</ListItemDecorator>
|
||
|
|
<ListItemContent>Draft</ListItemContent>
|
||
|
|
</ListItemButton>
|
||
|
|
</ListItem>
|
||
|
|
<ListItem>
|
||
|
|
<ListItemButton>
|
||
|
|
<ListItemDecorator>
|
||
|
|
<AssistantPhotoRoundedIcon fontSize="small" />
|
||
|
|
</ListItemDecorator>
|
||
|
|
<ListItemContent>Flagged</ListItemContent>
|
||
|
|
</ListItemButton>
|
||
|
|
</ListItem>
|
||
|
|
<ListItem>
|
||
|
|
<ListItemButton>
|
||
|
|
<ListItemDecorator>
|
||
|
|
<DeleteRoundedIcon fontSize="small" />
|
||
|
|
</ListItemDecorator>
|
||
|
|
<ListItemContent>Trash</ListItemContent>
|
||
|
|
</ListItemButton>
|
||
|
|
</ListItem>
|
||
|
|
</List>
|
||
|
|
</ListItem>
|
||
|
|
<ListItem nested sx={{ mt: 2 }}>
|
||
|
|
<ListSubheader sx={{ letterSpacing: '2px', fontWeight: '800' }}>
|
||
|
|
Tags
|
||
|
|
</ListSubheader>
|
||
|
|
<List
|
||
|
|
aria-labelledby="nav-list-tags"
|
||
|
|
size="sm"
|
||
|
|
sx={{ '--ListItemDecorator-size': '32px' }}
|
||
|
|
>
|
||
|
|
<ListItem>
|
||
|
|
<ListItemButton>
|
||
|
|
<ListItemDecorator>
|
||
|
|
<Box
|
||
|
|
sx={{
|
||
|
|
width: '10px',
|
||
|
|
height: '10px',
|
||
|
|
borderRadius: '99px',
|
||
|
|
bgcolor: 'primary.500',
|
||
|
|
}}
|
||
|
|
/>
|
||
|
|
</ListItemDecorator>
|
||
|
|
<ListItemContent>Personal</ListItemContent>
|
||
|
|
</ListItemButton>
|
||
|
|
</ListItem>
|
||
|
|
<ListItem>
|
||
|
|
<ListItemButton>
|
||
|
|
<ListItemDecorator>
|
||
|
|
<Box
|
||
|
|
sx={{
|
||
|
|
width: '10px',
|
||
|
|
height: '10px',
|
||
|
|
borderRadius: '99px',
|
||
|
|
bgcolor: 'danger.500',
|
||
|
|
}}
|
||
|
|
/>
|
||
|
|
</ListItemDecorator>
|
||
|
|
<ListItemContent>Work</ListItemContent>
|
||
|
|
</ListItemButton>
|
||
|
|
</ListItem>
|
||
|
|
<ListItem>
|
||
|
|
<ListItemButton>
|
||
|
|
<ListItemDecorator>
|
||
|
|
<Box
|
||
|
|
sx={{
|
||
|
|
width: '10px',
|
||
|
|
height: '10px',
|
||
|
|
borderRadius: '99px',
|
||
|
|
bgcolor: 'warning.400',
|
||
|
|
}}
|
||
|
|
/>
|
||
|
|
</ListItemDecorator>
|
||
|
|
<ListItemContent>Travels</ListItemContent>
|
||
|
|
</ListItemButton>
|
||
|
|
</ListItem>
|
||
|
|
<ListItem>
|
||
|
|
<ListItemButton>
|
||
|
|
<ListItemDecorator>
|
||
|
|
<Box
|
||
|
|
sx={{
|
||
|
|
width: '10px',
|
||
|
|
height: '10px',
|
||
|
|
borderRadius: '99px',
|
||
|
|
bgcolor: 'success.400',
|
||
|
|
}}
|
||
|
|
/>
|
||
|
|
</ListItemDecorator>
|
||
|
|
<ListItemContent>Concert tickets</ListItemContent>
|
||
|
|
</ListItemButton>
|
||
|
|
</ListItem>
|
||
|
|
</List>
|
||
|
|
</ListItem>
|
||
|
|
</List>
|
||
|
|
);
|
||
|
|
}
|