style: Update login page to match card.liquid style

This commit is contained in:
Kerby Martino (aider) committed 2025-05-13 00:03:01 +08:00
1 parent 2d3740a7e1
commit a225281711
2 files changed
+5 -6

No files matched your search

+4 -4
View File
@@ -1,13 +1,13 @@
<div class="min-h-screen flex items-center justify-center bg-gray-100">
<div class="bg-white p-8 rounded-lg shadow-lg w-full max-w-md">
<h2 class="text-2xl font-bold mb-6 text-center">Login</h2>
<div class="bg-white p-8 rounded-card w-full max-w-md border border-green-900">
<h2 class="text-2xl font-bold mb-6 text-center font-heading">Login</h2>
<form action="/login" method="POST">
<div class="mb-4">
<label for="email" class="block text-gray-700">Email</label>
<label for="email" class="block text-gray-700 font-heading">Email</label>
<input type="email" id="email" name="email" class="w-full px-3 py-2 border border-gray-300 rounded-base focus:outline-none focus:ring-2 focus:ring-green-900 text-sm" placeholder="Enter your email" required>
</div>
<div class="mb-6">
<label for="password" class="block text-gray-700">Password</label>
<label for="password" class="block text-gray-700 font-heading">Password</label>
<input type="password" id="password" name="password" class="w-full px-3 py-2 border border-gray-300 rounded-base focus:outline-none focus:ring-2 focus:ring-green-900 text-sm" placeholder="Enter your password" required>
</div>
<button type="submit" class="w-full bg-green-300 text-gray-100 font-heading text-base px-5 py-2 rounded-base hover:bg-gray-100 hover:text-green-900 focus:outline-none focus:ring-2 focus:ring-green-900">Login</button>