Files
project-behind-the-desk/_includes/forgot_password.liquid
T

30 lines
1.7 KiB
Plaintext

<div class="flex items-center justify-center overflow-hidden">
<div class="w-full max-w-md mx-auto rounded-lg p-6 bg-bg-footer">
<h2 class="text-xl font-semibold text-center text-primary mb-6">Forgot Your Password?</h2>
<p class="text-center text-sm text-text-muted mb-6">
Enter the email address associated with your account, and we'll send you a link to reset your password.
</p>
<form class="space-y-6">
<div>
<label for="email" class="block text-sm font-medium text-primary mb-1">Email Address</label>
<input type="email" id="email" name="email" placeholder="Enter your email address" class="w-full text-primary text-base px-3 py-2 bg-transparent border-b-2 border-gray-300 focus:outline-none focus:border-primary transition duration-150 ease-in-out placeholder:text-xs" required>
</div>
<!-- Optional: Add success/error message placeholders -->
<!--
<div class="bg-green-50 border border-green-200 rounded-md p-3 hidden">
<p class="text-sm text-green-600 text-center">Password reset link sent!</p>
</div>
<div class="bg-red-50 border border-red-200 rounded-md p-3 hidden">
<p class="text-sm text-red-500 text-center">Email not found.</p>
</div>
-->
<div class="pt-2">
<button type="submit" class="w-full px-6 py-3 bg-primary text-white text-base font-medium rounded-md hover:bg-primary-dark focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary transition duration-150 ease-in-out font-monda font-action">Send Reset Link</button>
</div>
<div class="text-center mt-4">
<a href="/login/" class="text-sm text-primary hover:underline">Back to Login</a>
</div>
</form>
</div>
</div>