diff options
Diffstat (limited to 'components/footer.tsx')
-rw-r--r-- | components/footer.tsx | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/components/footer.tsx b/components/footer.tsx index 2d84a1c..36ebef3 100644 --- a/components/footer.tsx +++ b/components/footer.tsx @@ -1,49 +1,49 @@ -import { LogoDark } from "../components/logo"; import { ReactNode } from 'react'; +import { LogoDark } from '../components/logo'; -import Home from '@material-ui/icons/Home'; -import VideogameAssetIcon from '@material-ui/icons/VideogameAsset'; +import ExitToAppOutlinedIcon from '@material-ui/icons/ExitToAppOutlined'; import ExtensionIcon from '@material-ui/icons/Extension'; +import GitHubIcon from '@material-ui/icons/GitHub'; +import Home from '@material-ui/icons/Home'; +import LockIcon from '@material-ui/icons/Lock'; +import PersonIcon from '@material-ui/icons/Person'; import SearchIcon from '@material-ui/icons/Search'; import SettingsIcon from '@material-ui/icons/Settings'; -import PersonIcon from '@material-ui/icons/Person'; -import ExitToAppOutlinedIcon from '@material-ui/icons/ExitToAppOutlined'; -import LockIcon from '@material-ui/icons/Lock'; -import GitHubIcon from '@material-ui/icons/GitHub'; +import VideogameAssetIcon from '@material-ui/icons/VideogameAsset'; function PageLink(props: { icon: ReactNode; href: string; children: string; }) { - return <a href={props.href} className="pageLink"> + return <a href={props.href} className='pageLink'> {props.icon} <span>{props.children}</span> - </a> + </a>; } export function Footer() { - return <div className="footer"> - <div className="header"> - <LogoDark/> + return <div className='footer'> + <div className='header'> + <LogoDark /> <h2>4 op een rij</h2> </div> - <div className="content"> - <div className="column"> - <PageLink icon={<Home/>} href="/" children="Home"/> - <PageLink icon={<VideogameAssetIcon/>} href="/game" children="Spelen"/> - <PageLink icon={<ExtensionIcon/>} href="/" children="Puzzels"/> - <PageLink icon={<SearchIcon/>} href="/search" children="Zoeken"/> + <div className='content'> + <div className='column'> + <PageLink icon={<Home />} href='/' children='Home' /> + <PageLink icon={<VideogameAssetIcon />} href='/game' children='Spelen' /> + <PageLink icon={<ExtensionIcon />} href='/' children='Puzzels' /> + <PageLink icon={<SearchIcon />} href='/search' children='Zoeken' /> </div> - <div className="column"> - <PageLink icon={<LockIcon/>} href="/privacy" children="Privacy"/> - <PageLink icon={<GitHubIcon/>} href="https://github.com/lonkaars/connect-4" children="Broncode"/> + <div className='column'> + <PageLink icon={<LockIcon />} href='/privacy' children='Privacy' /> + <PageLink icon={<GitHubIcon />} href='https://github.com/lonkaars/connect-4' children='Broncode' /> </div> - <div className="column"> - <PageLink icon={<SettingsIcon/>} href="/settings" children="Instellingen"/> - <PageLink icon={<PersonIcon/>} href="/user" children="Profiel"/> - <PageLink icon={<ExitToAppOutlinedIcon/>} href="/logout" children="Uitloggen"/> + <div className='column'> + <PageLink icon={<SettingsIcon />} href='/settings' children='Instellingen' /> + <PageLink icon={<PersonIcon />} href='/user' children='Profiel' /> + <PageLink icon={<ExitToAppOutlinedIcon />} href='/logout' children='Uitloggen' /> </div> </div> - </div> + </div>; } |