From ba44755fa7bc166f09dd93545426f0d3275d5c42 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 11 Feb 2021 09:50:32 +0100 Subject: removed things for school assignment (will add back later) --- components/navbar.tsx | 2 +- pages/index.tsx | 163 +++++++++++++++++++++++++++----------------------- 2 files changed, 88 insertions(+), 77 deletions(-) diff --git a/components/navbar.tsx b/components/navbar.tsx index 41db147..56d6b4b 100644 --- a/components/navbar.tsx +++ b/components/navbar.tsx @@ -40,7 +40,7 @@ export function NavBar() {
- + { false && }
+ return
+ Log in of maak een account aan om je scores op te slaan en toegang te krijgen tot meer functies
- Log in of maak een account aan om je scores op te slaan en toegang te krijgen tot meer functies -
-
+
- +
} function AccountBox(props: { info: userInfo; }) { - return + return
+
+ +
-
- -
-
-

{props.info.username}

-

Score: 400

-

- 0 W - / - 0 V - / - 0 G -

-
+

{props.info.username}

+

Score: 400

+

+ 0 W + / + 0 V + / + 0 G +

- +
} export default class HomePage extends Component { @@ -141,26 +142,36 @@ export default class HomePage extends Component { 4 op een rij - - - Nieuw spel -
-
- - - Puzzels -
-
- - - Tegen computer -
-
- { - this.state.loggedIn ? - : - - } +
+ + + Nieuw spel +
+
+ { + false && + + + Puzzels +
+
+ } + { + false && + + + Tegen computer +
+
+ } + + { + this.state.loggedIn ? + : + + } + +
{ this.state.loggedIn && -- cgit v1.2.3