File size: 2,562 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
import Divider from '@mui/material/Divider';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemText from '@mui/material/ListItemText';
import Link from 'next/link';
import React from 'react';
import DescriptionIcon from '@mui/icons-material/Description';
import { ListItemIcon } from '@mui/material';
import { GitHub } from '@mui/icons-material';
const Navigation: React.FC = () => {
return (
<div>
<div />
<Divider />
<Link passHref legacyBehavior href="/docs">
<ListItem component="a">
<ListItemIcon>
<DescriptionIcon />
</ListItemIcon>
<ListItemText primary={'Docs'} />
</ListItem>
</Link>
<Link
passHref
legacyBehavior
href="https://github.com/react-page/react-page"
>
<ListItem component="a">
<ListItemIcon>
<GitHub />
</ListItemIcon>
<ListItemText primary={'Github'} />
</ListItem>
</Link>
<Divider />
<Link passHref legacyBehavior href="/">
<ListItem component="a">
<ListItemText primary={'Demo'} />
</ListItem>
</Link>
<Link passHref legacyBehavior href="/readonly">
<ListItem component="a">
<ListItemText primary={'Read only'} />
</ListItem>
</Link>
<Link passHref legacyBehavior href="/empty">
<ListItem component="a">
<ListItemText primary={'Empty editor'} />
</ListItem>
</Link>
<Link passHref legacyBehavior href="/examples/reactadmin">
<ListItem component="a">
<ListItemText primary={'React Admin example'} />
</ListItem>
</Link>
<Divider />
<List>
<Link passHref legacyBehavior href="/old/demo">
<ListItem component="a">
<ListItemText primary={'Old demo (v0)'} />
</ListItem>
</Link>
<Link passHref legacyBehavior href="/old/fromhtml">
<ListItem component="a">
<ListItemText primary={'Old import-from-html-Demo'} />
</ListItem>
</Link>
</List>
<Divider />
<List>
<ListItem component="a" href={'https://react-page.github.io/'}>
<ListItemText primary={'Latest version'} />
</ListItem>
<ListItem component="a" href={'https://react-page.github.io/beta'}>
<ListItemText primary={'beta version'} />
</ListItem>
</List>
</div>
);
};
export default Navigation;
|