Spaces:
Running
Running
File size: 15,738 Bytes
fe44f69 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 |
<!DOCTYPE html>
<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> |