50 lines
4.0 KiB
Plaintext
50 lines
4.0 KiB
Plaintext
<div class="max-w-md mx-auto"> <!-- Added max-width and centering -->
|
|
|
|
<!-- Login Section -->
|
|
<form class="space-y-6 mb-10"> <!-- Increased spacing -->
|
|
<h2 class="text-2xl font-semibold text-text-title mb-6 text-center">Login</h2> <!-- Centered and larger heading -->
|
|
<div>
|
|
<label for="username" class="block text-sm font-medium text-text-muted mb-1">Username</label> <!-- Adjusted label style -->
|
|
<input type="text" id="username" name="username" placeholder="Enter your username" 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" required> <!-- Line input style -->
|
|
</div>
|
|
<div>
|
|
<label for="password" class="block text-sm font-medium text-text-muted mb-1">Password</label> <!-- Adjusted label style -->
|
|
<input type="password" id="password" name="password" placeholder="Enter your password" 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" required> <!-- Line input style -->
|
|
</div>
|
|
<!-- Placeholder for error message -->
|
|
<p class="text-sm text-red-500 text-center">Bad Login</p> <!-- Centered error message -->
|
|
<div class="pt-2"> <!-- Added padding top -->
|
|
<button type="submit" class="w-full px-6 py-3 bg-primary text-white text-base font-medium rounded-md shadow-sm hover:bg-primary-dark focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary transition duration-150 ease-in-out">Login</button> <!-- Larger, full-width button -->
|
|
</div>
|
|
<div class="text-center mt-4"> <!-- Centered link -->
|
|
<a href="#" class="text-sm text-primary hover:underline">Forgot your password?</a>
|
|
</div>
|
|
</form>
|
|
|
|
<hr class="my-8 border-gray-300">
|
|
|
|
<!-- Create Account Section -->
|
|
<form class="space-y-6"> <!-- Increased spacing -->
|
|
<h2 class="text-2xl font-semibold text-text-title mb-6 text-center">Create Account</h2> <!-- Centered and larger heading -->
|
|
<div>
|
|
<label for="new_username" class="block text-sm font-medium text-text-muted mb-1">Username</label> <!-- Adjusted label style -->
|
|
<input type="text" id="new_username" name="new_username" placeholder="Choose a username" 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" required> <!-- Line input style -->
|
|
</div>
|
|
<div>
|
|
<label for="new_password" class="block text-sm font-medium text-text-muted mb-1">Password</label> <!-- Adjusted label style -->
|
|
<input type="password" id="new_password" name="new_password" placeholder="Create a password" 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" required>
|
|
<p class="mt-1 text-xs text-text-muted">Must be at least 8 characters long.</p> <!-- Info text -->
|
|
</div>
|
|
<div>
|
|
<label for="confirm_password" class="block text-sm font-medium text-text-muted mb-1">Confirm Password</label> <!-- Adjusted label style -->
|
|
<input type="password" id="confirm_password" name="confirm_password" placeholder="Confirm your password" 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" required> <!-- Line input style -->
|
|
</div>
|
|
<!-- Placeholder for error message -->
|
|
<p class="text-sm text-red-500 text-center">Passwords do not match</p> <!-- Centered error message -->
|
|
<div class="pt-2"> <!-- Added padding top -->
|
|
<button type="submit" class="w-full px-6 py-3 bg-primary text-white text-base font-medium rounded-md shadow-sm hover:bg-primary-dark focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary transition duration-150 ease-in-out">Create Account</button> <!-- Larger, full-width button -->
|
|
</div>
|
|
</form>
|
|
|
|
</div>
|