From fb1f80d5af7e3808a3506ee5d2b609394f452cec Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 8 Feb 2021 15:35:49 +0100 Subject: account page done --- pages/account.tsx | 10 +++++++--- pages/index.tsx | 23 ++--------------------- 2 files changed, 9 insertions(+), 24 deletions(-) (limited to 'pages') diff --git a/pages/account.tsx b/pages/account.tsx index 4d1ecd2..82e21fa 100644 --- a/pages/account.tsx +++ b/pages/account.tsx @@ -5,6 +5,7 @@ import { NavBar } from '../components/navbar'; import { CenteredPage, PageTitle } from '../components/page'; import { Vierkant, IconLabelButton } from '../components/ui'; import { AccountAvatar } from '../components/account'; +import RecentGames from '../components/recentGames'; import PersonAddOutlinedIcon from '@material-ui/icons/PersonAddOutlined'; import AssignmentIndOutlinedIcon from '@material-ui/icons/AssignmentIndOutlined'; @@ -90,18 +91,21 @@ export default function AccountPage() { - } label="Online"/> + } label="Online"/> } label="Lid sinds 14 december 2020"/> } label="2 vrienden"/> } label="Nederland"/> - } label="4 keer gewonnen"/> + } label="4 keer gewonnen"/> } label="2 keer gelijkspel"/> - } label="2 keer verloren"/> + } label="2 keer verloren"/> } label="Score: 400"/> } label="6 potjes"/> + + + } diff --git a/pages/index.tsx b/pages/index.tsx index 7d128ef..665ef6a 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -6,6 +6,7 @@ import { NavBar } from '../components/navbar'; import { CenteredPage, PageTitle } from '../components/page'; import { Vierkant, Button } from '../components/ui'; import { AccountAvatar } from '../components/account'; +import RecentGames from '../components/recentGames'; import VideogameAssetIcon from '@material-ui/icons/VideogameAsset'; import ExtensionIcon from '@material-ui/icons/Extension'; @@ -160,27 +161,7 @@ export default class HomePage extends Component { -

Recente partijen

- - - - - - - - - - - - - - - - - - - -
TegenstanderUitkomstZettenDatum
Naam hierGewonnen7Vandaag
Nog meer namenGelijkspel42Gisteren
+

Nieuws ofzo

-- cgit v1.2.3