kode1-collaborative-ide / dashboard.html
Oceanlover's picture
{
602fea8 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dashboard - Kode1</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>
<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;
}
</style>
</head>
<body class="bg-slate-900 text-slate-100">
<!-- Navigation -->
<nav class="bg-slate-800 border-b border-slate-700 px-6 py-3 flex items-center justify-between">
<div class="flex items-center space-x-2">
<div class="w-8 h-8 rounded-lg bg-indigo-600 flex items-center justify-center">
<i data-feather="code" class="text-white"></i>
</div>
<span class="text-xl font-bold">Kode1</span>
</div>
<div class="flex items-center space-x-4">
<button class="flex items-center space-x-1 bg-indigo-600 hover:bg-indigo-700 px-4 py-2 rounded-lg transition">
<i data-feather="plus"></i>
<span>New Project</span>
</button>
<button class="flex items-center space-x-1 bg-slate-700 hover:bg-slate-600 px-4 py-2 rounded-lg transition">
<i data-feather="share-2"></i>
<span>Share</span>
</button>
<div class="w-8 h-8 rounded-full bg-slate-600 flex items-center justify-center">
<i data-feather="user"></i>
</div>
</div>
</nav>
<!-- Main Content -->
<div class="container mx-auto px-6 py-8">
<div class="flex justify-between items-center mb-8">
<h1 class="text-3xl font-bold">Dashboard</h1>
<button class="flex items-center space-x-1 bg-indigo-600 hover:bg-indigo-700 px-4 py-2 rounded-lg transition">
<i data-feather="plus"></i>
<span>Create Project</span>
</button>
</div>
<!-- Stats Cards -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
<div class="bg-slate-800 rounded-xl p-6 border border-slate-700">
<div class="flex items-center">
<div class="p-3 rounded-lg bg-indigo-500/10 mr-4">
<i data-feather="folder" class="text-indigo-400"></i>
</div>
<div>
<p class="text-slate-400">Projects</p>
<p class="text-2xl font-bold">12</p>
</div>
</div>
</div>
<div class="bg-slate-800 rounded-xl p-6 border border-slate-700">
<div class="flex items-center">
<div class="p-3 rounded-lg bg-green-500/10 mr-4">
<i data-feather="users" class="text-green-400"></i>
</div>
<div>
<p class="text-slate-400">Collaborators</p>
<p class="text-2xl font-bold">24</p>
</div>
</div>
</div>
<div class="bg-slate-800 rounded-xl p-6 border border-slate-700">
<div class="flex items-center">
<div class="p-3 rounded-lg bg-amber-500/10 mr-4">
<i data-feather="clock" class="text-amber-400"></i>
</div>
<div>
<p class="text-slate-400">Hours Coded</p>
<p class="text-2xl font-bold">142</p>
</div>
</div>
</div>
</div>
<!-- Recent Projects -->
<div class="mb-8">
<div class="flex justify-between items-center mb-4">
<h2 class="text-xl font-bold">Recent Projects</h2>
<a href="#" class="text-indigo-400 hover:text-indigo-300">View All</a>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Project Card 1 -->
<div class="bg-slate-800 rounded-xl border border-slate-700 overflow-hidden hover:border-indigo-500 transition">
<div class="h-32 bg-gradient-to-r from-indigo-500 to-purple-600"></div>
<div class="p-5">
<div class="flex justify-between items-start">
<h3 class="font-bold text-lg">E-commerce Dashboard</h3>
<span class="text-xs bg-slate-700 px-2 py-1 rounded">React</span>
</div>
<p class="text-slate-400 text-sm mt-2">Full-featured dashboard with analytics and reporting</p>
<div class="flex items-center mt-4">
<div class="flex -space-x-2">
<img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/1" alt="Collaborator">
<img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/2" alt="Collaborator">
<img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/3" alt="Collaborator">
</div>
<span class="text-xs text-slate-400 ml-2">3 collaborators</span>
</div>
</div>
</div>
<!-- Project Card 2 -->
<div class="bg-slate-800 rounded-xl border border-slate-700 overflow-hidden hover:border-indigo-500 transition">
<div class="h-32 bg-gradient-to-r from-amber-500 to-orange-600"></div>
<div class="p-5">
<div class="flex justify-between items-start">
<h3 class="font-bold text-lg">API Gateway</h3>
<span class="text-xs bg-slate-700 px-2 py-1 rounded">Node.js</span>
</div>
<p class="text-slate-400 text-sm mt-2">Secure API gateway with rate limiting and auth</p>
<div class="flex items-center mt-4">
<div class="flex -space-x-2">
<img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/4" alt="Collaborator">
<img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/5" alt="Collaborator">
</div>
<span class="text-xs text-slate-400 ml-2">2 collaborators</span>
</div>
</div>
</div>
<!-- Project Card 3 -->
<div class="bg-slate-800 rounded-xl border border-slate-700 overflow-hidden hover:border-indigo-500 transition">
<div class="h-32 bg-gradient-to-r from-emerald-500 to-teal-600"></div>
<div class="p-5">
<div class="flex justify-between items-start">
<h3 class="font-bold text-lg">Mobile App</h3>
<span class="text-xs bg-slate-700 px-2 py-1 rounded">React Native</span>
</div>
<p class="text-slate-400 text-sm mt-2">Cross-platform mobile application</p>
<div class="flex items-center mt-4">
<div class="flex -space-x-2">
<img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/6" alt="Collaborator">
<img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/7" alt="Collaborator">
<img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/8" alt="Collaborator">
</div>
<span class="text-xs text-slate-400 ml-2">4 collaborators</span>
</div>
</div>
</div>
</div>
</div>
<!-- Activity Feed -->
<div>
<h2 class="text-xl font-bold mb-4">Recent Activity</h2>
<div class="bg-slate-800 rounded-xl border border-slate-700 overflow-hidden">
<div class="divide-y divide-slate-700">
<div class="p-4 flex items-start">
<div class="w-8 h-8 rounded-full bg-indigo-500 flex items-center justify-center mr-3 flex-shrink-0">
<i data-feather="git-commit" class="text-white text-sm"></i>
</div>
<div>
<p class="font-medium">Alex Morgan pushed to <span class="text-indigo-400">main</span></p>
<p class="text-slate-400 text-sm">Added new authentication flow</p>
<p class="text-slate-500 text-xs mt-1">2 hours ago</p>
</div>
</div>
<div class="p-4 flex items-start">
<div class="w-8 h-8 rounded-full bg-green-500 flex items-center justify-center mr-3 flex-shrink-0">
<i data-feather="user-plus" class="text-white text-sm"></i>
</div>
<div>
<p class="font-medium">Taylor Kim joined project <span class="text-indigo-400">E-commerce Dashboard</span></p>
<p class="text-slate-400 text-sm">Added as frontend developer</p>
<p class="text-slate-500 text-xs mt-1">5 hours ago</p>
</div>
</div>
<div class="p-4 flex items-start">
<div class="w-8 h-8 rounded-full bg-amber-500 flex items-center justify-center mr-3 flex-shrink-0">
<i data-feather="message-square" class="text-white text-sm"></i>
</div>
<div>
<p class="font-medium">Jordan Smith commented on <span class="text-indigo-400">API Gateway</span></p>
<p class="text-slate-400 text-sm">"We should consider adding rate limiting"</p>
<p class="text-slate-500 text-xs mt-1">Yesterday</p>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
feather.replace();
</script>
</body>
</html>