Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Projects - DevinAI Clone</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> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet"> | |
| <style> | |
| * { | |
| font-family: 'Inter', sans-serif; | |
| } | |
| .code-font { | |
| font-family: 'JetBrains Mono', monospace; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 min-h-screen"> | |
| <custom-navbar></custom-navbar> | |
| <custom-sidebar></custom-sidebar> | |
| <main class="ml-0 md:ml-64 pt-16 px-4 md:px-8 pb-8"> | |
| <div class="max-w-7xl mx-auto"> | |
| <!-- Header Section --> | |
| <div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-8 mt-6"> | |
| <div> | |
| <h1 class="text-3xl md:text-4xl font-bold text-gray-900">Projects</h1> | |
| <p class="text-gray-600 mt-2">Manage and collaborate on your AI-powered coding projects</p> | |
| </div> | |
| <div class="mt-4 md:mt-0 flex gap-3"> | |
| <button class="bg-gray-200 hover:bg-gray-300 text-gray-800 px-5 py-2.5 rounded-lg font-medium flex items-center"> | |
| <i data-feather="filter" class="w-4 h-4 mr-2"></i> | |
| Filter | |
| </button> | |
| <button class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-2.5 rounded-lg font-semibold flex items-center shadow-lg hover:shadow-xl transition-all duration-300"> | |
| <i data-feather="plus" class="w-5 h-5 mr-2"></i> | |
| New Project | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Projects Grid --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-8"> | |
| <!-- Project Card 1 --> | |
| <div class="bg-white rounded-xl shadow-md border border-gray-200 overflow-hidden hover-card"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start mb-4"> | |
| <div class="w-12 h-12 bg-gradient-to-r from-blue-500 to-purple-500 rounded-lg flex items-center justify-center"> | |
| <i data-feather="shopping-cart" class="w-6 h-6 text-white"></i> | |
| </div> | |
| <span class="bg-blue-100 text-blue-800 text-xs font-semibold px-3 py-1 rounded-full">Active</span> | |
| </div> | |
| <h3 class="text-xl font-bold text-gray-900 mb-2">E-commerce Platform</h3> | |
| <p class="text-gray-600 mb-4">Full-stack online store with AI-powered recommendations and analytics dashboard.</p> | |
| <div class="flex items-center justify-between text-sm text-gray-500 mb-6"> | |
| <div class="flex items-center"> | |
| <i data-feather="calendar" class="w-4 h-4 mr-1"></i> | |
| Updated 2h ago | |
| </div> | |
| <div class="flex items-center"> | |
| <i data-feather="git-branch" class="w-4 h-4 mr-1"></i> | |
| 3 branches | |
| </div> | |
| </div> | |
| <div class="flex justify-between"> | |
| <a href="#" class="text-blue-600 hover:text-blue-800 font-medium">Open Project</a> | |
| <div class="flex items-center"> | |
| <div class="w-2 h-2 bg-green-500 rounded-full mr-2"></div> | |
| <span class="text-sm text-gray-600">AI Running</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Project Card 2 --> | |
| <div class="bg-white rounded-xl shadow-md border border-gray-200 overflow-hidden hover-card"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start mb-4"> | |
| <div class="w-12 h-12 bg-gradient-to-r from-green-500 to-teal-500 rounded-lg flex items-center justify-center"> | |
| <i data-feather="smartphone" class="w-6 h-6 text-white"></i> | |
| </div> | |
| <span class="bg-green-100 text-green-800 text-xs font-semibold px-3 py-1 rounded-full">Complete</span> | |
| </div> | |
| <h3 class="text-xl font-bold text-gray-900 mb-2">Mobile App UI</h3> | |
| <p class="text-gray-600 mb-4">React Native application with custom animations and gesture-based navigation.</p> | |
| <div class="flex items-center justify-between text-sm text-gray-500 mb-6"> | |
| <div class="flex items-center"> | |
| <i data-feather="calendar" class="w-4 h-4 mr-1"></i> | |
| Updated 1d ago | |
| </div> | |
| <div class="flex items-center"> | |
| <i data-feather="git-branch" class="w-4 h-4 mr-1"></i> | |
| 2 branches | |
| </div> | |
| </div> | |
| <div class="flex justify-between"> | |
| <a href="#" class="text-blue-600 hover:text-blue-800 font-medium">Open Project</a> | |
| <div class="flex items-center"> | |
| <div class="w-2 h-2 bg-gray-400 rounded-full mr-2"></div> | |
| <span class="text-sm text-gray-600">Paused</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Project Card 3 --> | |
| <div class="bg-white rounded-xl shadow-md border border-gray-200 overflow-hidden hover-card"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start mb-4"> | |
| <div class="w-12 h-12 bg-gradient-to-r from-orange-500 to-red-500 rounded-lg flex items-center justify-center"> | |
| <i data-feather="bar-chart-2" class="w-6 h-6 text-white"></i> | |
| </div> | |
| <span class="bg-blue-100 text-blue-800 text-xs font-semibold px-3 py-1 rounded-full">Active</span> | |
| </div> | |
| <h3 class="text-xl font-bold text-gray-900 mb-2">Data Analytics Dashboard</h3> | |
| <p class="text-gray-600 mb-4">Real-time data visualization and predictive analytics with machine learning models.</p> | |
| <div class="flex items-center justify-between text-sm text-gray-500 mb-6"> | |
| <div class="flex items-center"> | |
| <i data-feather="calendar" class="w-4 h-4 mr-1"></i> | |
| Updated 3d ago | |
| </div> | |
| <div class="flex items-center"> | |
| <i data-feather="git-branch" class="w-4 h-4 mr-1"></i> | |
| 5 branches | |
| </div> | |
| </div> | |
| <div class="flex justify-between"> | |
| <a href="#" class="text-blue-600 hover:text-blue-800 font-medium">Open Project</a> | |
| <div class="flex items-center"> | |
| <div class="w-2 h-2 bg-green-500 rounded-full mr-2"></div> | |
| <span class="text-sm text-gray-600">AI Running</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Project Details Table --> | |
| <div class="bg-white rounded-xl shadow-lg border border-gray-200 overflow-hidden mb-8"> | |
| <div class="px-6 py-4 border-b border-gray-200"> | |
| <h2 class="text-xl font-bold text-gray-900 flex items-center"> | |
| <i data-feather="list" class="w-5 h-5 mr-2 text-blue-600"></i> | |
| All Projects | |
| </h2> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="w-full"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Project Name</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Last Updated</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">AI Agent</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th> | |
| </tr> | |
| </thead> | |
| <tbody class="divide-y divide-gray-200"> | |
| <tr> | |
| <td class="px-6 py-4"> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 bg-blue-100 rounded-lg flex items-center justify-center mr-3"> | |
| <i data-feather="code" class="w-4 h-4 text-blue-600"></i> | |
| </div> | |
| <div> | |
| <div class="font-medium text-gray-900">API Gateway</div> | |
| <div class="text-sm text-gray-500">Microservices architecture</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4"> | |
| <span class="px-3 py-1 text-xs font-semibold rounded-full bg-blue-100 text-blue-800">In Progress</span> | |
| </td> | |
| <td class="px-6 py-4 text-sm text-gray-500">2 hours ago</td> | |
| <td class="px-6 py-4"> | |
| <div class="flex items-center"> | |
| <div class="w-2 h-2 bg-green-500 rounded-full mr-2"></div> | |
| <span class="text-sm text-gray-700">Code Review</span> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4"> | |
| <div class="flex space-x-3"> | |
| <a href="#" class="text-blue-600 hover:text-blue-900"> | |
| <i data-feather="edit-2" class="w-4 h-4"></i> | |
| </a> | |
| <a href="#" class="text-green-600 hover:text-green-900"> | |
| <i data-feather="play" class="w-4 h-4"></i> | |
| </a> | |
| <a href="#" class="text-red-600 hover:text-red-900"> | |
| <i data-feather="trash-2" class="w-4 h-4"></i> | |
| </a> | |
| </div> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4"> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 bg-green-100 rounded-lg flex items-center justify-center mr-3"> | |
| <i data-feather="lock" class="w-4 h-4 text-green-600"></i> | |
| </div> | |
| <div> | |
| <div class="font-medium text-gray-900">Auth Service</div> | |
| <div class="text-sm text-gray-500">JWT-based authentication</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4"> | |
| <span class="px-3 py-1 text-xs font-semibold rounded-full bg-green-100 text-green-800">Completed</span> | |
| </td> | |
| <td class="px-6 py-4 text-sm text-gray-500">1 day ago</td> | |
| <td class="px-6 py-4"> | |
| <div class="flex items-center"> | |
| <div class="w-2 h-2 bg-gray-400 rounded-full mr-2"></div> | |
| <span class="text-sm text-gray-700">Idle</span> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4"> | |
| <div class="flex space-x-3"> | |
| <a href="#" class="text-blue-600 hover:text-blue-900"> | |
| <i data-feather="edit-2" class="w-4 h-4"></i> | |
| </a> | |
| <a href="#" class="text-green-600 hover:text-green-900"> | |
| <i data-feather="play" class="w-4 h-4"></i> | |
| </a> | |
| <a href="#" class="text-red-600 hover:text-red-900"> | |
| <i data-feather="trash-2" class="w-4 h-4"></i> | |
| </a> | |
| </div> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <custom-footer></custom-footer> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/sidebar.js"></script> | |
| <script src="components/footer.js"></script> | |
| <script src="script.js"></script> | |
| <script> | |
| feather.replace(); | |
| // Update active state in sidebar | |
| document.addEventListener('DOMContentLoaded', function() { | |
| const sidebarLinks = document.querySelector('custom-sidebar').shadowRoot.querySelectorAll('.menu-item'); | |
| sidebarLinks.forEach(link => { | |
| link.classList.remove('active'); | |
| if (link.textContent.includes('Projects')) { | |
| link.classList.add('active'); | |
| } | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> |