From 46529ddd38fb95ed3fb53764ead45117abe66097 Mon Sep 17 00:00:00 2001 From: DariusTFox Date: Sun, 14 Nov 2021 19:07:05 +0200 Subject: [PATCH] Login Page --- client/src/App.svelte | 10 ++++----- client/src/Button.svelte | 21 ++++++++++++------- client/src/CardBG.svelte | 8 +++++--- client/src/InputField.svelte | 25 ++++++++++++++++------- client/src/Login.svelte | 39 +++++++++++++++++++++++++++++++++--- client/tailwind.config.js | 8 +++++++- 6 files changed, 85 insertions(+), 26 deletions(-) diff --git a/client/src/App.svelte b/client/src/App.svelte index debcc7d..8d07be8 100644 --- a/client/src/App.svelte +++ b/client/src/App.svelte @@ -8,18 +8,18 @@ import MainPage from "./MainPage.svelte"; } -
- +
{#if loggedin} {:else} - + {/if}
\ No newline at end of file diff --git a/client/src/CardBG.svelte b/client/src/CardBG.svelte index 1e8736d..28f6d20 100644 --- a/client/src/CardBG.svelte +++ b/client/src/CardBG.svelte @@ -1,10 +1,13 @@
-
+
@@ -13,10 +16,9 @@ figure{ width: var(--width); height: var(--height); - + background: linear-gradient(165.31deg, rgba(67, 151, 141, 0.44) 18.49%, rgba(67, 151, 141, 0) 97.15%); box-shadow: 0px 13px 6px 4px rgba(0, 0, 0, 0.25); backdrop-filter: blur(12px); } - \ No newline at end of file diff --git a/client/src/InputField.svelte b/client/src/InputField.svelte index 26e925f..de1978d 100644 --- a/client/src/InputField.svelte +++ b/client/src/InputField.svelte @@ -1,11 +1,22 @@
-
-

{title}

-

{text}

-
-
\ No newline at end of file + +
+ + diff --git a/client/src/Login.svelte b/client/src/Login.svelte index aa7acdb..1305f2c 100644 --- a/client/src/Login.svelte +++ b/client/src/Login.svelte @@ -1,14 +1,47 @@
- -

Login

+ +

Welcome,

+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + +
diff --git a/client/tailwind.config.js b/client/tailwind.config.js index 4547a28..29aba2b 100644 --- a/client/tailwind.config.js +++ b/client/tailwind.config.js @@ -11,7 +11,13 @@ module.exports = { extend: { backgroundImage:{ "banner":"url('/img/Banner.jpg')" - } + }, + + fontFamily:{ + "title":['Geo', 'sans-serif'], + "welcome":['Rochester', 'cursive'], + "sans":['Roboto', 'sans-serif'] + }, }, }, variants: {