From 7d1b86cae8c38b1b23a98dc6b3ae582b224abbbe Mon Sep 17 00:00:00 2001 From: Marie Birner Date: Fri, 16 Jun 2023 22:18:50 +0200 Subject: [PATCH] [TASK] add 'fancy' login --- rot_app/src/app.css | 8 +++++ rot_app/src/routes/+layout.svelte | 2 +- rot_app/src/routes/+page.svelte | 50 +++++++++++++++++++++---------- 3 files changed, 44 insertions(+), 16 deletions(-) diff --git a/rot_app/src/app.css b/rot_app/src/app.css index fea01ad..277ef83 100644 --- a/rot_app/src/app.css +++ b/rot_app/src/app.css @@ -2,6 +2,14 @@ @tailwind components; @tailwind utilities; +h1 { + @apply text-center text-3xl uppercase tracking-wide font-bold text-primary-900; +} + +.input { + @apply relative block w-full border-0 py-1.5 px-2 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-primary-600 sm:text-sm sm:leading-6; +} + .btn { @apply inline-block rounded-md px-3 py-2 text-sm font-semibold text-white focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 cursor-pointer text-center; diff --git a/rot_app/src/routes/+layout.svelte b/rot_app/src/routes/+layout.svelte index 8278aff..0dc2352 100644 --- a/rot_app/src/routes/+layout.svelte +++ b/rot_app/src/routes/+layout.svelte @@ -18,7 +18,7 @@
{/if} -
+
diff --git a/rot_app/src/routes/+page.svelte b/rot_app/src/routes/+page.svelte index 5aba0ff..1477ed0 100644 --- a/rot_app/src/routes/+page.svelte +++ b/rot_app/src/routes/+page.svelte @@ -23,25 +23,45 @@ Ruderassistent - ASKÖ Ruderverein Donau Linz -
-

- - - - Welcome - - -

- {#if isLoggedIn}

Here comes the list

{:else} -

Login

- +
+
+ Logo Ruderassistent +

Ruderassistent

+
+ +
+ +
+
+
+ + +
+
+
+
+ + +
+
+
+ +
+ +
+
+
{/if} -