From 08ba9024f532554fe2135d2596f1169828b01e5f Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 19 Apr 2021 09:51:38 +0200 Subject: login/register pages done + fullwidth css class edited --- pages/_app.tsx | 1 + pages/index.tsx | 2 +- pages/login.tsx | 44 ++++++++++++++++---------------------------- pages/register.tsx | 38 +++++++++++++++++++------------------- pages/search.tsx | 4 ++-- pages/settings.tsx | 8 ++++---- 6 files changed, 43 insertions(+), 54 deletions(-) (limited to 'pages') diff --git a/pages/_app.tsx b/pages/_app.tsx index 9521d58..7cdb8e3 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -13,6 +13,7 @@ import '../styles/utility.css'; import '../styles/gameSettings.css'; import '../styles/index.css'; +import '../styles/loginregister.css'; import '../styles/search.css'; import '../styles/settings.css'; diff --git a/pages/index.tsx b/pages/index.tsx index 31aee57..873cf8b 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -117,7 +117,7 @@ export default function HomePage() { && } - +

Nieuws ofzo

Chess.com heeft heel veel troep waar niemand naar kijkt

diff --git a/pages/login.tsx b/pages/login.tsx index 1e14573..9e26b50 100644 --- a/pages/login.tsx +++ b/pages/login.tsx @@ -49,44 +49,32 @@ export default function LoginPage() {
-
- +
+
submitLogin(e, toast)}> - - - -
+ className='pad-m fullwidth bg-900 round-t' + /> + +
- + className='register bg-700 fg-100' + /> +
- +
diff --git a/pages/register.tsx b/pages/register.tsx index f78d092..90dab3e 100644 --- a/pages/register.tsx +++ b/pages/register.tsx @@ -89,34 +89,34 @@ export default function RegisterPage() {
-
- +
+
submitRegister(e, toast)}> - - - + className='pad-m fullwidth bg-900 round-t' + /> + + - + /> +
diff --git a/pages/search.tsx b/pages/search.tsx index 6e52865..e874775 100644 --- a/pages/search.tsx +++ b/pages/search.tsx @@ -24,7 +24,7 @@ function search(callback: (results: Array) => void) { } function SearchResults(props: { userList: Array; }) { - return
+ return
{props.userList?.map(user => )}
; } @@ -47,7 +47,7 @@ function SearchResult(props: { user: userInfo; }) { function SearchBar(props: { searchFunction: (event?: FormEvent) => void; }) { - return + return
Instellingen - +

Account

@@ -92,7 +92,7 @@ export default function SettingsPage() {
- +

Kleuren

@@ -117,13 +117,13 @@ export default function SettingsPage() {

Donkere modus

- +

Standaard spelregels

- +

Uitloggen