style: Update login form styles and add permalink to login page
This commit is contained in:
1 parent
a225281711
commit
7b8c123d10
2 files changed
+4
-3
No files matched your search
@@ -3,14 +3,14 @@
|
||||
<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 font-heading">Email</label>
|
||||
<label for="email" class="block text-gray-700 font-heading text-sm">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 font-heading">Password</label>
|
||||
<label for="password" class="block text-gray-700 font-heading text-sm">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>
|
||||
<button type="submit" class="w-full bg-green-900 text-gray-100 font-semibold py-2 px-4 rounded-base items-center justify-between border-2 border-transparent hover:border-green-300 font-heading">Login</button>
|
||||
</form>
|
||||
<p class="mt-4 text-center text-gray-600">Don't have an account? <a href="/signup" class="text-green-900 hover:underline">Sign up</a></p>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user