aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-04-24 09:41:52 +0200
committerlonkaars <loek@pipeframe.xyz>2021-04-24 09:41:52 +0200
commit50c54c43441d7a0bb80d20f5cd2142adbc3ccd64 (patch)
tree101fd736010852f60016994cfbc265d2f2cf7a0b
parent85a5d31c6ea188b81855103ba0fbca0b275df18f (diff)
hide non-working settings from settings page
-rw-r--r--pages/settings.tsx54
1 files changed, 23 insertions, 31 deletions
diff --git a/pages/settings.tsx b/pages/settings.tsx
index b984936..cd874bc 100644
--- a/pages/settings.tsx
+++ b/pages/settings.tsx
@@ -71,37 +71,39 @@ export default function SettingsPage() {
}}
/>
</div>
- <div className='subsection'>
- <IconLabelButton text='Bewerken' icon={<EditOutlinedIcon />} />
- <div className='dispbl'>
- <h3>Gebruikersnaam</h3>
- <p>Hier staat hij dan</p>
+ {false && <>
+ <div className='subsection'>
+ <IconLabelButton text='Bewerken' icon={<EditOutlinedIcon />} />
+ <div className='dispbl'>
+ <h3>Gebruikersnaam</h3>
+ <p>Hier staat hij dan</p>
+ </div>
</div>
- </div>
- <div className='subsection'>
- <IconLabelButton text='Bewerken' icon={<EditOutlinedIcon />} />
- <IconLabelButton text='Onthullen' icon={<VisibilityOutlinedIcon />} />
- <div className='dispbl'>
- <h3>Email</h3>
- <p>******@example.com</p>
+ <div className='subsection'>
+ <IconLabelButton text='Bewerken' icon={<EditOutlinedIcon />} />
+ <IconLabelButton text='Onthullen' icon={<VisibilityOutlinedIcon />} />
+ <div className='dispbl'>
+ <h3>Email</h3>
+ <p>******@example.com</p>
+ </div>
</div>
- </div>
- <div className='subsection'>
- <IconLabelButton text='Bewerken' icon={<EditOutlinedIcon />} />
- <div className='dispbl'>
- <h3>Wachtwoord</h3>
+ <div className='subsection'>
+ <IconLabelButton text='Bewerken' icon={<EditOutlinedIcon />} />
+ <div className='dispbl'>
+ <h3>Wachtwoord</h3>
+ </div>
</div>
- </div>
+ </>}
</Vierkant>
<Vierkant className='section colors w100m2m pad-l bg-800'>
<h2>Kleuren</h2>
- <div className='subsection'>
+ {false && <div className='subsection'>
<ColorPicker />
<ColorPicker />
<div className='dispbl'>
<h3>Schijfjes</h3>
</div>
- </div>
+ </div>}
<div className='subsection'>
<div className='floatr'>
<CheckBox
@@ -112,6 +114,7 @@ export default function SettingsPage() {
<h3>Donkere modus</h3>
</div>
<div className='subsection'>
+ <h3>Thema's (WIP)</h3>
<ThemePicker preferences={preferences} />
</div>
</Vierkant>
@@ -121,17 +124,6 @@ export default function SettingsPage() {
<CurrentGameSettings />
</div>
</Vierkant>
- <Vierkant className='section logout w100m2m pad-l bg-800'>
- <h2>Uitloggen</h2>
- <div className='center'>
- <IconLabelButton
- className='dispinbl'
- icon={<ExitToAppOutlinedIcon />}
- text='Uitloggen'
- href='/logout'
- />
- </div>
- </Vierkant>
</CenteredPage>
<Footer />
</div>