aboutsummaryrefslogtreecommitdiff
path: root/src/pages/settings.tsx
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-01-08 12:11:45 +0100
committerlonkaars <l.leblansch@gmail.com>2021-01-08 12:11:45 +0100
commit00811644d9ab554c3a314be04c99e341e5631fef (patch)
treedc664178553fd265ab0efa9d7e67d951de8af892 /src/pages/settings.tsx
parentcb3a0c38944c9eb61bc3e7dc02ca28fc6922993f (diff)
beginsels spelregels aanpassen dialoogvenster
Diffstat (limited to 'src/pages/settings.tsx')
-rw-r--r--src/pages/settings.tsx15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/pages/settings.tsx b/src/pages/settings.tsx
index 9446a5f..2daa90b 100644
--- a/src/pages/settings.tsx
+++ b/src/pages/settings.tsx
@@ -1,7 +1,14 @@
+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 (
@@ -10,14 +17,16 @@ export default function SettingsPage() {
<CenteredPage width={802}>
<PageTitle>Instellingen</PageTitle>
<Vierkant width="calc(100% - 12px)">
- <h2>Account</h2>
+ <h2 style={SettingsSectionHeaderStyle}>Account</h2>
</Vierkant>
<Vierkant width="calc(100% - 12px)">
- <h2>Kleuren</h2>
+ <h2 style={SettingsSectionHeaderStyle}>Kleuren</h2>
</Vierkant>
<Vierkant width="calc(100% - 12px)">
- <h2>Standaard spelregels</h2>
+ <h2 style={SettingsSectionHeaderStyle}>Standaard spelregels</h2>
+ <CurrentGameSettings/>
</Vierkant>
+ <EditGameSettings/>
</CenteredPage>
</div>
);