Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
30 lines
930 B
JavaScript
30 lines
930 B
JavaScript
import { styled } from '@mui/material/styles';
|
|
import Typography from '@mui/material/Typography';
|
|
import Breadcrumbs, { breadcrumbsClasses } from '@mui/material/Breadcrumbs';
|
|
import NavigateNextRoundedIcon from '@mui/icons-material/NavigateNextRounded';
|
|
|
|
const StyledBreadcrumbs = styled(Breadcrumbs)(({ theme }) => ({
|
|
margin: theme.spacing(1, 0),
|
|
[`& .${breadcrumbsClasses.separator}`]: {
|
|
color: (theme.vars || theme).palette.action.disabled,
|
|
margin: 1,
|
|
},
|
|
[`& .${breadcrumbsClasses.ol}`]: {
|
|
alignItems: 'center',
|
|
},
|
|
}));
|
|
|
|
export default function NavbarBreadcrumbs() {
|
|
return (
|
|
<StyledBreadcrumbs
|
|
aria-label="breadcrumb"
|
|
separator={<NavigateNextRoundedIcon fontSize="small" />}
|
|
>
|
|
<Typography variant="body1">Dashboard</Typography>
|
|
<Typography variant="body1" sx={{ color: 'text.primary', fontWeight: 600 }}>
|
|
Home
|
|
</Typography>
|
|
</StyledBreadcrumbs>
|
|
);
|
|
}
|