| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <title>Admin Panel - IT Development Agency</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="https://unpkg.com/feather-icons"></script> |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script> |
| <script src="components/navbar.js"></script> |
| <script src="components/footer.js"></script> |
| </head> |
| <body class="bg-gray-50"> |
| <custom-navbar></custom-navbar> |
|
|
| <main class="container mx-auto px-4 py-8"> |
| <div class="flex justify-between items-center mb-8"> |
| <h1 class="text-3xl font-bold text-gray-800">Admin Panel</h1> |
| <button id="logout-btn" class="bg-red-600 hover:bg-red-700 text-white px-4 py-2 rounded-lg transition duration-300"> |
| Logout |
| </button> |
| </div> |
|
|
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-8"> |
| |
| <div class="bg-white rounded-xl shadow-md p-6"> |
| <h2 class="text-xl font-semibold text-gray-800 mb-4">Projects</h2> |
| <div class="space-y-4"> |
| <div class="flex justify-between items-center p-3 bg-gray-50 rounded-lg"> |
| <div> |
| <h3 class="font-medium">E-commerce Website</h3> |
| <p class="text-sm text-gray-600">Status: In Progress</p> |
| </div> |
| <button class="text-indigo-600 hover:text-indigo-700"> |
| <i data-feather="edit"></i> |
| </button> |
| </div> |
| <div class="flex justify-between items-center p-3 bg-gray-50 rounded-lg"> |
| <div> |
| <h3 class="font-medium">AI Chatbot</h3> |
| <p class="text-sm text-gray-600">Status: Completed</p> |
| </div> |
| <button class="text-indigo-600 hover:text-indigo-700"> |
| <i data-feather="edit"></i> |
| </button> |
| </div> |
| </div> |
| <button class="w-full mt-4 bg-indigo-600 hover:bg-indigo-700 text-white py-2 rounded-lg transition duration-300"> |
| Add New Project |
| </button> |
| </div> |
|
|
| |
| <div class="bg-white rounded-xl shadow-md p-6"> |
| <h2 class="text-xl font-semibold text-gray-800 mb-4">Clients</h2> |
| <div class="space-y-4"> |
| <div class="flex justify-between items-center p-3 bg-gray-50 rounded-lg"> |
| <div> |
| <h3 class="font-medium">TechCorp Inc.</h3> |
| <p class="text-sm text-gray-600">2 active projects</p> |
| </div> |
| <button class="text-indigo-600 hover:text-indigo-700"> |
| <i data-feather="edit"></i> |
| </button> |
| </div> |
| <div class="flex justify-between items-center p-3 bg-gray-50 rounded-lg"> |
| <div> |
| <h3 class="font-medium">StartUpXYZ</h3> |
| <p class="text-sm text-gray-600">1 completed project</p> |
| </div> |
| <button class="text-indigo-600 hover:text-indigo-700"> |
| <i data-feather="edit"></i> |
| </button> |
| </div> |
| </div> |
| <button class="w-full mt-4 bg-indigo-600 hover:bg-indigo-700 text-white py-2 rounded-lg transition duration-300"> |
| Add New Client |
| </button> |
| </div> |
|
|
| |
| <div class="bg-white rounded-xl shadow-md p-6"> |
| <h2 class="text-xl font-semibold text-gray-800 mb-4">Analytics</h2> |
| <div class="space-y-4"> |
| <div class="text-center p-4 bg-indigo-50 rounded-lg"> |
| <p class="text-2xl font-bold text-indigo-600">12</p> |
| <p class="text-sm text-gray-600">Active Projects</p> |
| </div> |
| <div class="text-center p-4 bg-green-50 rounded-lg"> |
| <p class="text-2xl font-bold text-green-600">$45K</p> |
| <p class="text-sm text-gray-600">Monthly Revenue</p> |
| </div> |
| <div class="text-center p-4 bg-blue-50 rounded-lg"> |
| <p class="text-2xl font-bold text-blue-600">8</p> |
| <p class="text-sm text-gray-600">New Clients</p> |
| </div> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="bg-white rounded-xl shadow-md p-6 mt-8"> |
| <h2 class="text-xl font-semibold text-gray-800 mb-4">Recent Activity</h2> |
| <div class="space-y-3"> |
| <div class="flex items-center text-sm text-gray-600"> |
| <i data-feather="check-circle" class="text-green-500 mr-2"></i> |
| Project "Mobile App" completed |
| </div> |
| <div class="flex items-center text-sm text-gray-600"> |
| <i data-feather="user-plus" class="text-blue-500 mr-2"></i> |
| New client registered: DigitalAgency |
| </div> |
| <div class="flex items-center text-sm text-gray-600"> |
| <i data-feather="message-circle" class="text-indigo-500 mr-2"></i> |
| New message from TechSolutions |
| </div> |
| </div> |
| </div> |
| </main> |
|
|
| <custom-footer></custom-footer> |
|
|
| <script> |
| feather.replace(); |
| |
| document.getElementById('logout-btn').addEventListener('click', () => { |
| window.location.href = 'index.html'; |
| }); |
| </script> |
| <script src="script.js"></script> |
| </body> |
| </html> |