blob: 5569eb41fe8f1b46d0975ad85bc61b3e273d6995 (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
import { CSSProperties } from 'react';
import { NavBar } from '../components/navbar';
import { CenteredPage, PageTitle } from '../components/page';
import { Vierkant, IconLabelButton } from '../components/ui';
import { AccountAvatar } from '../components/account';
import { CurrentGameSettings } from '../components/gameSettings';
import EditOutlinedIcon from '@material-ui/icons/EditOutlined';
import VisibilityOutlinedIcon from '@material-ui/icons/VisibilityOutlined';
var SettingsSectionStyle: CSSProperties = { width: "calc(100% - 12px)" };
var SettingsSubsectionStyle: CSSProperties = {
marginTop: 24,
minHeight: 40
};
export default function SettingsPage() {
return (
<div>
<NavBar/>
<CenteredPage width={802}>
<PageTitle>Instellingen</PageTitle>
<Vierkant style={SettingsSectionStyle}>
<h2>Account</h2>
<div style={SettingsSubsectionStyle}>
<AccountAvatar size={100} dummy/>
<IconLabelButton text="Profielfoto veranderen" icon={<EditOutlinedIcon/>}/>
</div>
<div style={SettingsSubsectionStyle}>
<IconLabelButton text="Bewerken" icon={<EditOutlinedIcon/>}/>
<div style={{ display: "block" }}>
<b>Gebruikersnaam</b>
<p>Hier staat hij dan</p>
</div>
</div>
<div style={SettingsSubsectionStyle}>
<IconLabelButton text="Bewerken" icon={<EditOutlinedIcon/>}/>
<IconLabelButton text="Onthullen" icon={<VisibilityOutlinedIcon/>}/>
<div style={{ display: "block" }}>
<b>Email</b>
<p>******@example.com</p>
</div>
</div>
<div style={SettingsSubsectionStyle}>
<IconLabelButton text="Bewerken" icon={<EditOutlinedIcon/>}/>
<div style={{ display: "block" }}>
<b>Wachtwoord</b>
</div>
</div>
</Vierkant>
<Vierkant style={SettingsSectionStyle}>
<h2>Kleuren</h2>
</Vierkant>
<Vierkant style={SettingsSectionStyle}>
<h2>Standaard spelregels</h2>
<div style={SettingsSubsectionStyle}>
<CurrentGameSettings/>
</div>
</Vierkant>
</CenteredPage>
</div>
);
}
|