From 20c93543c5a23ee7ebf427a131cc0765d8e35559 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 8 Feb 2021 15:22:37 +0100 Subject: more account page --- pages/account.tsx | 148 +++++++++++++++++++++++++++++++++++------------------- 1 file changed, 96 insertions(+), 52 deletions(-) (limited to 'pages') diff --git a/pages/account.tsx b/pages/account.tsx index 238a9fc..4d1ecd2 100644 --- a/pages/account.tsx +++ b/pages/account.tsx @@ -1,3 +1,4 @@ +import { ReactNode, Children } from 'react'; import Icon from '@mdi/react'; import { NavBar } from '../components/navbar'; @@ -6,59 +7,102 @@ import { Vierkant, IconLabelButton } from '../components/ui'; import { AccountAvatar } from '../components/account'; import PersonAddOutlinedIcon from '@material-ui/icons/PersonAddOutlined'; -import { mdiAccountCancelOutline } from '@mdi/js'; +import AssignmentIndOutlinedIcon from '@material-ui/icons/AssignmentIndOutlined'; +import ArrowDownwardOutlinedIcon from '@material-ui/icons/ArrowDownwardOutlined'; +import ArrowUpwardOutlinedIcon from '@material-ui/icons/ArrowUpwardOutlined'; +import PeopleOutlineOutlinedIcon from '@material-ui/icons/PeopleOutlineOutlined'; +import { + mdiAccountCancelOutline, + mdiEqual, + mdiCheckboxBlankCircle, + mdiClipboardTextOutline, + mdiGamepadSquareOutline, + mdiEarth } from '@mdi/js'; -export default function AccountPage() { - return ( -
- - - Profiel - - -
-

Gebruikersnaam

-

- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et -

-
-
-
- } text="Vriendschapsverzoek"/> - } text="Blokkeren"/> -
-
- -
-
gert
-
gert
-
gert
-
gert
-
gert
-
-
-
+function InfoModule(props: { + label: string; + icon: ReactNode; +}) { + return
+
{props.icon}
+
+ {props.label} +
+
+} + +function InfoSection(props: { children: ReactNode }) { + return +
+ {props.children}
- ); +
+} + +export default function AccountPage() { + return
+ + + Profiel + + +
+

Gebruikersnaam

+

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et +

+
+
+ } text="Vriendschapsverzoek"/> + } text="Blokkeren"/> +
+
+ + } label="Online"/> + } label="Lid sinds 14 december 2020"/> + } label="2 vrienden"/> + } label="Nederland"/> + + + } label="4 keer gewonnen"/> + } label="2 keer gelijkspel"/> + } label="2 keer verloren"/> + } label="Score: 400"/> + } label="6 potjes"/> + +
+
} -- cgit v1.2.3