From 410c7e97d4f1a41eb4a8e997c5989f83966355ad Mon Sep 17 00:00:00 2001 From: mudabbir-ahmad Date: Thu, 20 Mar 2025 19:47:06 +0000 Subject: [PATCH] CSS styling for login page and register page --- app/(auth)/login/page.js | 26 ++++++++++++++++++++ app/(auth)/register/page.js | 48 ++++++++++++++++++++++++++++--------- 2 files changed, 63 insertions(+), 11 deletions(-) diff --git a/app/(auth)/login/page.js b/app/(auth)/login/page.js index 5c39ae1..bfd6850 100644 --- a/app/(auth)/login/page.js +++ b/app/(auth)/login/page.js @@ -61,6 +61,9 @@ export default function Login() { return (
+ {/* Decorative square */} +
+

Login to Treasure Hunt

@@ -143,6 +146,29 @@ export default function Login() { margin-bottom: 10px; font-size: 0.875rem; } + .decorative-square { + position: absolute; + top: calc(50% - 265px); + left: calc(50% - 250px); + width: 150px; + height: 150px; + background-image: url("/images/parrot.svg"); + background-size: contain; + background-repeat: no-repeat; + background-position: center; + border-radius: 4px; + z-index: 2; + } + .auth-page { + display: flex; + flex-direction: column; + min-height: 100vh; + background-color: #f4e9dc; + background-image: url("/images/decor.svg"); + background-size: auto 100%; + background-repeat: repeat-x; + background-position: center; + } `}
); diff --git a/app/(auth)/register/page.js b/app/(auth)/register/page.js index d0b2e7b..d0c66d7 100644 --- a/app/(auth)/register/page.js +++ b/app/(auth)/register/page.js @@ -63,13 +63,12 @@ export default function Register() { return (
-
-
Register
-
-
+ {/* Decorative square */} +
+

Register for Treasure Hunt