feat: Add tip text to email and password fields

This commit is contained in:
Kerby Martino (aider) committed 2025-05-13 00:27:34 +08:00
1 parent 8ca4543e06
commit ae53e02bea
1 file changed
+2
+2
View File
@@ -5,10 +5,12 @@
<div class="mb-4"> <div class="mb-4">
<label for="email" class="block text-gray-700 font-heading text-sm">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> <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>
<p class="text-xs text-gray-500 mt-1">Max 12 characters and no symbols</p>
</div> </div>
<div class="mb-6"> <div class="mb-6">
<label for="password" class="block text-gray-700 font-heading text-sm">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> <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>
<p class="text-xs text-gray-500 mt-1">Max 12 characters and no symbols</p>
</div> </div>
<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> <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> </form>