Make login page better looking
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
@@ -22,4 +24,5 @@
|
|||||||
</form>
|
</form>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</p-card>
|
</p-card>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -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-card {
|
.login-wrapper {
|
||||||
@apply w-96 shadow-lg rounded-xl;
|
@apply flex flex-col items-center gap-6 absolute top-1/4 transform -translate-y-1/4;
|
||||||
}
|
}
|
||||||
|
|
||||||
form {
|
.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 {
|
||||||
|
@apply w-96 shadow-lg rounded-xl bg-opacity-90 backdrop-blur-lg;
|
||||||
|
}
|
||||||
|
|
||||||
|
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;
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user