From bb0c8d7ef101130deb5f4842294bbee87e7eb51b Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 5 Feb 2021 17:11:08 +0100 Subject: icon outline + account settings --- pages/settings.tsx | 47 +++++++++++++++++++++++++++++++---------------- 1 file changed, 31 insertions(+), 16 deletions(-) (limited to 'pages') diff --git a/pages/settings.tsx b/pages/settings.tsx index e8b34ef..51f7c3f 100644 --- a/pages/settings.tsx +++ b/pages/settings.tsx @@ -7,10 +7,13 @@ 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 SettingsSectionHeaderStyle: CSSProperties = { - marginBottom: 24 -} +var SettingsSectionStyle: CSSProperties = { width: "calc(100% - 12px)" }; +var SettingsSubsectionStyle: CSSProperties = { + marginTop: 24, + minHeight: 40 +}; function SettingsPageButton(props: { text: string; @@ -21,7 +24,8 @@ function SettingsPageButton(props: { display: "inline-block", verticalAlign: "top", padding: 8, - float: "right" + float: "right", + marginLeft: 12 }}> {props.icon} } -var SettingsSectionStyle: CSSProperties = { width: "calc(100% - 12px)" }; -var SettingsSubsectionStyle: CSSProperties = { marginTop: 24 }; - export default function SettingsPage() { return (
@@ -43,27 +44,41 @@ export default function SettingsPage() { Instellingen -

Account

+

Account

}/>
- }/> -
+ }/> +
Gebruikersnaam -

Gebruikersnaam

+

Hier staat hij dan

+
+
+
+ }/> + }/> +
+ Email +

******@example.com

+
+
+
+ }/> +
+ Wachtwoord
-

Kleuren

+

Kleuren

-

Standaard spelregels

- +

Standaard spelregels

+
+ +
-- cgit v1.2.3