aboutsummaryrefslogtreecommitdiff
path: root/pages/settings.tsx
blob: 2daa90be3d12016dae2d25e56cb28881660ae1ce (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
import { CSSProperties } from 'react';

import { NavBar } from '../components/navbar';
import { CenteredPage, PageTitle } from '../components/page';
import { Vierkant } from '../components/ui';
/* import { AccountAvatar } from '../components/account'; */
import { CurrentGameSettings, EditGameSettings } from '../components/gameSettings';

var SettingsSectionHeaderStyle: CSSProperties = {
	marginBottom: 24
}

export default function SettingsPage() {
	return (
		<div>
			<NavBar/>
			<CenteredPage width={802}>
				<PageTitle>Instellingen</PageTitle>
				<Vierkant width="calc(100% - 12px)">
					<h2 style={SettingsSectionHeaderStyle}>Account</h2>
				</Vierkant>
				<Vierkant width="calc(100% - 12px)">
					<h2 style={SettingsSectionHeaderStyle}>Kleuren</h2>
				</Vierkant>
				<Vierkant width="calc(100% - 12px)">
					<h2 style={SettingsSectionHeaderStyle}>Standaard spelregels</h2>
					<CurrentGameSettings/>
				</Vierkant>
				<EditGameSettings/>
			</CenteredPage>
		</div>
	);
}