Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Profile | InvoiceGenius AI</title> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/sidebar.js"></script> | |
| <script src="components/footer.js"></script> | |
| </head> | |
| <body class="bg-gray-50 min-h-screen"> | |
| <custom-navbar></custom-navbar> | |
| <div class="flex"> | |
| <custom-sidebar></custom-sidebar> | |
| <main class="flex-1 p-8"> | |
| <div class="max-w-4xl mx-auto"> | |
| <div class="mb-8"> | |
| <h1 class="text-3xl font-bold text-gray-800">Profile</h1> | |
| <p class="text-gray-600 mt-2">Manage your personal information</p> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden mb-8"> | |
| <div class="px-6 py-4 border-b border-gray-100"> | |
| <h2 class="text-lg font-semibold">Personal Information</h2> | |
| </div> | |
| <div class="p-6"> | |
| <div class="flex items-center space-x-6 mb-6"> | |
| <div class="relative"> | |
| <div class="w-20 h-20 rounded-full bg-indigo-100 flex items-center justify-center"> | |
| <i data-feather="user" class="text-indigo-600 w-8 h-8"></i> | |
| </div> | |
| <button class="absolute bottom-0 right-0 bg-white rounded-full p-2 border border-gray-200 shadow-sm"> | |
| <i data-feather="edit-2" class="w-4 h-4 text-gray-600"></i> | |
| </button> | |
| </div> | |
| <div> | |
| <h3 class="text-xl font-medium">John Smith</h3> | |
| <p class="text-gray-600">john@example.com</p> | |
| <p class="text-gray-600 mt-1">Member since June 2022</p> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">First Name</label> | |
| <input type="text" value="John" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Last Name</label> | |
| <input type="text" value="Smith" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Email</label> | |
| <input type="email" value="john@example.com" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Phone</label> | |
| <input type="tel" value="(555) 123-4567" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| </div> | |
| </div> | |
| <button class="mt-6 bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg flex items-center"> | |
| <i data-feather="save" class="mr-2"></i> Save Changes | |
| </button> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden"> | |
| <div class="px-6 py-4 border-b border-gray-100"> | |
| <h2 class="text-lg font-semibold">Security</h2> | |
| </div> | |
| <div class="p-6"> | |
| <div class="space-y-6"> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Current Password</label> | |
| <input type="password" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">New Password</label> | |
| <input type="password" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Confirm New Password</label> | |
| <input type="password" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| </div> | |
| </div> | |
| <button class="mt-6 bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg flex items-center"> | |
| <i data-feather="lock" class="mr-2"></i> Update Password | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| <custom-footer></custom-footer> | |
| <script>feather.replace();</script> | |
| <script src="script.js"></script> | |
| </body> | |
| </html> |