Make login page better looking

This commit is contained in:
aditya.chandel
2025-03-08 17:36:53 -07:00
parent 3f3e4b5b70
commit 55fd25be61
2 changed files with 44 additions and 32 deletions
@@ -1,4 +1,6 @@
<div class="login-container"> <div class="login-container">
<div class="login-wrapper">
<h1 class="app-title">BookLore</h1>
<p-card class="login-card p-fluid"> <p-card class="login-card p-fluid">
<ng-template pTemplate="title">Login</ng-template> <ng-template pTemplate="title">Login</ng-template>
@@ -23,3 +25,4 @@
</ng-template> </ng-template>
</p-card> </p-card>
</div> </div>
</div>
+15 -6
View File
@@ -1,19 +1,28 @@
.login-container { .login-container {
@apply flex flex-col items-center justify-center min-h-screen bg-gradient-to-br from-blue-700 to-gray-700; @apply flex items-center justify-center min-h-screen bg-gradient-to-br from-blue-900 via-cyan-600 to-blue-400 relative;
}
.login-wrapper {
@apply flex flex-col items-center gap-6 absolute top-1/4 transform -translate-y-1/4;
}
.app-title {
@apply text-5xl font-extrabold text-white drop-shadow-lg;
text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}
.login-card { .login-card {
@apply w-96 shadow-lg rounded-xl; @apply w-96 shadow-lg rounded-xl bg-opacity-90 backdrop-blur-lg;
} }
form { form {
@apply flex flex-col gap-4; @apply flex flex-col gap-4;
}
.p-field { .p-field {
@apply flex flex-col gap-1; @apply flex flex-col gap-2;
} }
p-button { p-button {
@apply mt-2; @apply mt-4;
}
}
} }