From f6a27eec59b2da4d198c5e65e8e191678e65a906 Mon Sep 17 00:00:00 2001 From: Aelita4 Date: Fri, 13 Dec 2024 17:16:16 +0100 Subject: [PATCH] (tmp) Prettify login and register forms --- src/pages/login.astro | 50 +++++++++++++++++++++++++++++++----- src/pages/register.astro | 55 +++++++++++++++++++++++++++++++++------- 2 files changed, 90 insertions(+), 15 deletions(-) diff --git a/src/pages/login.astro b/src/pages/login.astro index 10a83d0..952ee58 100644 --- a/src/pages/login.astro +++ b/src/pages/login.astro @@ -80,10 +80,48 @@ if(Astro.request.method === "POST") { -
-
-
- - { error !== "" ?

{error}

: "" } + +
+
+ +

{error}

-
\ No newline at end of file + + \ No newline at end of file diff --git a/src/pages/register.astro b/src/pages/register.astro index 891aad6..286f254 100644 --- a/src/pages/register.astro +++ b/src/pages/register.astro @@ -103,15 +103,52 @@ if(Astro.request.method === "POST") { } } --- - -
-
-
-
-
- - { error !== "" ?

{error}

: "" } + +
+
+
+
+ +

{error}

-
\ No newline at end of file + + \ No newline at end of file