Spaces:
Running
Running
Create a complete authentication system for TaxWizard Pro with the following pages:
89b2aec verified Download signup.html from EleutheroiEdge/undefined: direct link, hf CLI and curl.
- Browser
- Download file 6.49 kB
-
https://huggingface.co/spaces/EleutheroiEdge/undefined/resolve/main/signup.html
- Command line
-
hf download hf://spaces/EleutheroiEdge/undefined/signup.html
-
curl -L -o signup.html https://huggingface.co/spaces/EleutheroiEdge/undefined/resolve/main/signup.html
6.49 kB
| ```html | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>TaxWizard Pro - Sign Up</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script> | |
| <style> | |
| #vanta-bg { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| z-index: -1; | |
| opacity: 0.15; | |
| } | |
| .auth-card { | |
| max-width: 28rem; | |
| margin: 0 auto; | |
| } | |
| .plan-card { | |
| transition: all 0.2s ease; | |
| } | |
| .plan-card:hover { | |
| transform: translateY(-3px); | |
| } | |
| .plan-card.selected { | |
| border-color: #3b82f6; | |
| box-shadow: 0 0 0 1px #3b82f6; | |
| } | |
| .password-strength { | |
| height: 4px; | |
| transition: width 0.3s ease; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 dark:bg-gray-900 min-h-screen flex items-center justify-center p-4"> | |
| <div id="vanta-bg" class="dark:opacity-30"></div> | |
| <!-- Theme Toggle --> | |
| <button id="themeToggle" class="fixed top-4 right-4 z-50 p-2 rounded-full bg-white dark:bg-gray-800 shadow-lg"> | |
| <i data-feather="moon" class="hidden dark:block text-yellow-300"></i> | |
| <i data-feather="sun" class="dark:hidden text-yellow-500"></i> | |
| </button> | |
| <!-- Main Auth Card --> | |
| <div class="auth-card bg-white dark:bg-gray-800 rounded-xl shadow-lg overflow-hidden border border-gray-200 dark:border-gray-700 w-full"> | |
| <div class="p-8"> | |
| <div class="text-center mb-8"> | |
| <div class="flex justify-center items-center mb-4"> | |
| <div class="bg-blue-100 dark:bg-blue-900 p-3 rounded-full"> | |
| <i data-feather="dollar-sign" class="text-blue-600 dark:text-blue-400 w-8 h-8"></i> | |
| </div> | |
| <span class="ml-2 text-xs font-semibold bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-200 px-2 py-1 rounded-full">BETA</span> | |
| </div> | |
| <h1 class="text-2xl font-bold mb-1">Create your account</h1> | |
| <p class="text-gray-600 dark:text-gray-400">Start optimizing your tax strategy today</p> | |
| </div> | |
| <!-- Error Messages --> | |
| <div id="authError" class="hidden bg-red-100 dark:bg-red-900/50 border-l-4 border-red-500 dark:border-red-400 p-4 mb-6"> | |
| <div class="flex items-center"> | |
| <i data-feather="alert-circle" class="h-5 w-5 text-red-500 dark:text-red-400 mr-3"></i> | |
| <p id="errorMessage" class="text-sm text-red-700 dark:text-red-300"></p> | |
| </div> | |
| </div> | |
| <!-- Signup Form --> | |
| <form id="signupForm" class="space-y-4"> | |
| <div> | |
| <label for="signupEmail" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Email</label> | |
| <input type="email" id="signupEmail" name="email" required | |
| class="w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white" | |
| placeholder="you@example.com"> | |
| <p id="emailError" class="hidden mt-1 text-sm text-red-600 dark:text-red-400"></p> | |
| </div> | |
| <div> | |
| <label for="signupPassword" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Password</label> | |
| <input type="password" id="signupPassword" name="password" required | |
| class="w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white" | |
| placeholder="••••••••"> | |
| <div class="mt-1 flex items-center justify-between"> | |
| <div class="w-full bg-gray-200 dark:bg-gray-600 rounded-full h-1"> | |
| <div id="passwordStrength" class="password-strength h-1 rounded-full" style="width: 0%"></div> | |
| </div> | |
| <span id="strengthText" class="ml-2 text-xs text-gray-500 dark:text-gray-400">Weak</span> | |
| </div> | |
| <p id="passwordError" class="hidden mt-1 text-sm text-red-600 dark:text-red-400"></p> | |
| </div> | |
| <div> | |
| <label for="confirmPassword" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Confirm Password</label> | |
| <input type="password" id="confirmPassword" name="confirmPassword" required | |
| class="w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white" | |
| placeholder="••••••••"> | |
| <p id="confirmPasswordError" class="hidden mt-1 text-sm text-red-600 dark:text-red-400"></p> | |
| </div> | |
| <!-- Account Type Selection --> | |
| <div class="space-y-2"> | |
| <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Account Type</label> | |
| <div class="grid grid-cols-2 gap-3"> | |
| <div class="plan-card border border-gray-300 dark:border-gray-600 rounded-lg p-4 cursor-pointer" data-plan="free"> | |
| <div class="flex items-center mb-2"> | |
| <input type="radio" name="accountType" id="freePlan" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 dark:border-gray-600" checked> | |
| <label for="freePlan" class="ml-2 block text-sm font-medium text-gray-700 dark:text-gray-300">Free</label> | |
| </div> | |
| <p class="text-sm text-gray-500 dark:text-gray-400">1 portfolio</p> | |
| <p class="mt-2 text-lg font-bold">$0<span class="text-sm font-normal text-gray-500 dark:text-gray-400">/month</span></p> | |
| </div> | |
| <div class="plan-card border border |