From e5f33be1d2a348416bb63e055365fc0dd611c885 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 5 Jan 2021 16:55:03 +0100 Subject: account ding op homepagina --- src/pages/home.tsx | 58 ++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 48 insertions(+), 10 deletions(-) (limited to 'src/pages') diff --git a/src/pages/home.tsx b/src/pages/home.tsx index 4557ffa..65f9ead 100644 --- a/src/pages/home.tsx +++ b/src/pages/home.tsx @@ -1,8 +1,9 @@ -import {CSSProperties} from 'react'; +import { CSSProperties } from 'react'; import { NavBar } from '../components/navbar'; import { CenteredPage, PageTitle } from '../components/page'; import { Vierkant } from '../components/vierkant'; +import { AccountAvatar } from '../components/account'; import VideogameAssetIcon from '@material-ui/icons/VideogameAsset'; import ExtensionIcon from '@material-ui/icons/Extension'; @@ -12,6 +13,8 @@ import { mdiRobotExcited } from '@mdi/js'; var GameModeIconStyle: CSSProperties = { fontSize: 64, + width: 64, + height: 64, display: "inline-block", position: "absolute", top: 24, @@ -25,12 +28,14 @@ var GameModeTextStyle: CSSProperties = { position: "absolute", bottom: 24, left: "50%", - transform: "translateX(-50%)" + transform: "translateX(-50%)", + userSelect: "none", + fontWeight: 500 } var SquareSize: CSSProperties = { - width: 100, - height: 100 + width: 90, + height: 90 } function HomePage() { @@ -39,21 +44,54 @@ function HomePage() { 4 op een rij - + Nieuw spel
-
- +
+ Puzzels
-
- +
+ Tegen computer
-
+
+ +
+
+ +
+
+

Gebruikersnaam

+

Score: 400

+

+ N W + / + N V + / + N G +

+
+
+
); -- cgit v1.2.3