blob: 2d84a1c93bd6619939a9e8c1ccf16db4fc427e68 (
plain)
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
|
import { LogoDark } from "../components/logo";
import { ReactNode } from 'react';
import Home from '@material-ui/icons/Home';
import VideogameAssetIcon from '@material-ui/icons/VideogameAsset';
import ExtensionIcon from '@material-ui/icons/Extension';
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';
function PageLink(props: {
icon: ReactNode;
href: string;
children: string;
}) {
return <a href={props.href} className="pageLink">
{props.icon}
<span>{props.children}</span>
</a>
}
export function Footer() {
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>
<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>
</div>
</div>
}
|