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
49 lines
1.4 KiB
TypeScript
49 lines
1.4 KiB
TypeScript
import Box from '@mui/joy/Box';
|
|
import List from '@mui/joy/List';
|
|
import ListDivider from '@mui/joy/ListDivider';
|
|
import ListItem from '@mui/joy/ListItem';
|
|
import ListItemButton from '@mui/joy/ListItemButton';
|
|
import Home from '@mui/icons-material/Home';
|
|
import Person from '@mui/icons-material/Person';
|
|
|
|
export default function HorizontalList() {
|
|
return (
|
|
<Box component="nav" aria-label="My site" sx={{ flexGrow: 1 }}>
|
|
<List role="menubar" orientation="horizontal">
|
|
<ListItem role="none">
|
|
<ListItemButton
|
|
role="menuitem"
|
|
component="a"
|
|
href="#horizontal-list"
|
|
aria-label="Home"
|
|
>
|
|
<Home />
|
|
</ListItemButton>
|
|
</ListItem>
|
|
<ListDivider />
|
|
<ListItem role="none">
|
|
<ListItemButton role="menuitem" component="a" href="#horizontal-list">
|
|
Products
|
|
</ListItemButton>
|
|
</ListItem>
|
|
<ListDivider />
|
|
<ListItem role="none">
|
|
<ListItemButton role="menuitem" component="a" href="#horizontal-list">
|
|
Blog
|
|
</ListItemButton>
|
|
</ListItem>
|
|
<ListItem role="none" sx={{ marginInlineStart: 'auto' }}>
|
|
<ListItemButton
|
|
role="menuitem"
|
|
component="a"
|
|
href="#horizontal-list"
|
|
aria-label="Profile"
|
|
>
|
|
<Person />
|
|
</ListItemButton>
|
|
</ListItem>
|
|
</List>
|
|
</Box>
|
|
);
|
|
}
|