Spaces:
Running
Running
Make an Ecommerce website for tech accessories like chargers, airpods, cables etc. Make the frontend and backend, Make it fully work. Make a full complete website for pakistani audience. Use modern languages and techniques. Also allow the admin to add products and update things as well
625a56c verified | <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Login - TechBazaar.pk</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script> | |
| tailwind.config = { | |
| darkMode: 'class', | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: { | |
| 500: '#8B5CF6', | |
| }, | |
| secondary: { | |
| 500: '#10B981', | |
| }, | |
| dark: { | |
| 900: '#0F172A', | |
| 800: '#1E293B', | |
| 700: '#334155', | |
| } | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background-color: #0F172A; | |
| color: #F1F5F9; | |
| } | |
| .form-input { | |
| background-color: #1E293B; | |
| border: 1px solid #334155; | |
| } | |
| .form-input:focus { | |
| border-color: #8B5CF6; | |
| box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-dark-900"> | |
| <div class="min-h-screen flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8"> | |
| <div class="max-w-md w-full space-y-8"> | |
| <div> | |
| <div class="mx-auto h-12 w-12 rounded-full bg-primary-500 flex items-center justify-center"> | |
| <i data-feather="lock" class="text-white"></i> | |
| </div> | |
| <h2 class="mt-6 text-center text-3xl font-extrabold"> | |
| Sign in to your account | |
| </h2> | |
| <p class="mt-2 text-center text-sm text-slate-400"> | |
| Or | |
| <a href="register.html" class="font-medium text-primary-500 hover:text-primary-400"> | |
| create a new account | |
| </a> | |
| </p> | |
| </div> | |
| <form class="mt-8 space-y-6" action="#" method="POST"> | |
| <input type="hidden" name="remember" value="true"> | |
| <div class="rounded-md shadow-sm -space-y-px"> | |
| <div> | |
| <label for="email-address" class="sr-only">Email address</label> | |
| <input id="email-address" name="email" type="email" autocomplete="email" required class="form-input appearance-none rounded-none relative block w-full px-3 py-3 border placeholder-slate-500 text-white rounded-t-md focus:outline-none focus:z-10 sm:text-sm" placeholder="Email address"> | |
| </div> | |
| <div> | |
| <label for="password" class="sr-only">Password</label> | |
| <input id="password" name="password" type="password" autocomplete="current-password" required class="form-input appearance-none rounded-none relative block w-full px-3 py-3 border placeholder-slate-500 text-white rounded-b-md focus:outline-none focus:z-10 sm:text-sm" placeholder="Password"> | |
| </div> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <input id="remember-me" name="remember-me" type="checkbox" class="h-4 w-4 text-primary-500 focus:ring-primary-500 border-gray-300 rounded"> | |
| <label for="remember-me" class="ml-2 block text-sm text-slate-400"> | |
| Remember me | |
| </label> | |
| </div> | |
| <div class="text-sm"> | |
| <a href="#" class="font-medium text-primary-500 hover:text-primary-400"> | |
| Forgot your password? | |
| </a> | |
| </div> | |
| </div> | |
| <div> | |
| <button type="submit" class="group relative w-full flex justify-center py-3 px-4 border border-transparent text-sm font-medium rounded-md text-white bg-primary-500 hover:bg-primary-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500"> | |
| <span class="absolute left-0 inset-y-0 flex items-center pl-3"> | |
| <i data-feather="log-in" class="h-5 w-5 text-primary-300 group-hover:text-primary-200"></i> | |
| </span> | |
| Sign in | |
| </button> | |
| </div> | |
| </form> | |
| <div class="mt-6"> | |
| <div class="relative"> | |
| <div class="absolute inset-0 flex items-center"> | |
| <div class="w-full border-t border-dark-700"></div> | |
| </div> | |
| <div class="relative flex justify-center text-sm"> | |
| <span class="px-2 bg-dark-900 text-slate-400"> | |
| Or continue with | |
| </span> | |
| </div> | |
| </div> | |
| <div class="mt-6 grid grid-cols-3 gap-3"> | |
| <div> | |
| <a href="#" class="w-full inline-flex justify-center py-2 px-4 border border-dark-700 rounded-md shadow-sm bg-dark-800 text-sm font-medium text-slate-300 hover:bg-dark-700"> | |
| <i data-feather="facebook" class="h-5 w-5"></i> | |
| </a> | |
| </div> | |
| <div> | |
| <a href="#" class="w-full inline-flex justify-center py-2 px-4 border border-dark-700 rounded-md shadow-sm bg-dark-800 text-sm font-medium text-slate-300 hover:bg-dark-700"> | |
| <i data-feather="smartphone" class="h-5 w-5"></i> | |
| </a> | |
| </div> | |
| <div> | |
| <a href="#" class="w-full inline-flex justify-center py-2 px-4 border border-dark-700 rounded-md shadow-sm bg-dark-800 text-sm font-medium text-slate-300 hover:bg-dark-700"> | |
| <i data-feather="mail" class="h-5 w-5"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |