Shape's picture
Review and fix the UI
03ffd7c verified
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PixelPulse CRM | Digital Marketing Freelancer</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>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
500: '#0ea5e9',
},
secondary: {
500: '#ec4899',
}
}
}
}
}
</script>
</head>
<body class="bg-gray-900 text-gray-100 min-h-screen">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-8 mt-16">
<div class="grid grid-cols-1 lg:grid-cols-4 gap-6">
<!-- Sidebar -->
<custom-sidebar></custom-sidebar>
<!-- Main Content -->
<div class="lg:col-span-3 space-y-6">
<!-- Dashboard Stats -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<div class="bg-gray-800 rounded-lg p-6 border-l-4 border-primary-500">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-400">Active Projects</p>
<h3 class="text-2xl font-bold">12</h3>
</div>
<i data-feather="briefcase" class="text-primary-500"></i>
</div>
</div>
<div class="bg-gray-800 rounded-lg p-6 border-l-4 border-secondary-500">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-400">Pending Invoices</p>
<h3 class="text-2xl font-bold">$3,450</h3>
</div>
<i data-feather="dollar-sign" class="text-secondary-500"></i>
</div>
</div>
<div class="bg-gray-800 rounded-lg p-6 border-l-4 border-primary-500">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-400">Upcoming Tasks</p>
<h3 class="text-2xl font-bold">5</h3>
</div>
<i data-feather="check-circle" class="text-primary-500"></i>
</div>
</div>
</div>
<!-- Recent Clients -->
<div class="bg-gray-800 rounded-lg p-6">
<div class="flex items-center justify-between mb-4">
<h2 class="text-xl font-semibold">Recent Clients</h2>
<a href="#" class="text-primary-500 hover:text-primary-400 flex items-center">
View All <i data-feather="chevron-right" class="ml-1 w-4 h-4"></i>
</a>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-700">
<thead>
<tr>
<th class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Client</th>
<th class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Project</th>
<th class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Status</th>
<th class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Last Contact</th>
</tr>
</thead>
<tbody class="divide-y divide-gray-700">
<tr class="hover:bg-gray-700/50">
<td class="px-4 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-gray-600 flex items-center justify-center">
<i data-feather="user" class="text-gray-300"></i>
</div>
<div class="ml-4">
<div class="text-sm font-medium">Acme Corp</div>
<div class="text-sm text-gray-400">acme@example.com</div>
</div>
</div>
</td>
<td class="px-4 py-4 whitespace-nowrap text-sm">Website Redesign</td>
<td class="px-4 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-900 text-green-200">Active</span>
</td>
<td class="px-4 py-4 whitespace-nowrap text-sm text-gray-400">2 days ago</td>
</tr>
<tr class="hover:bg-gray-700/50">
<td class="px-4 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-gray-600 flex items-center justify-center">
<i data-feather="user" class="text-gray-300"></i>
</div>
<div class="ml-4">
<div class="text-sm font-medium">Stark Industries</div>
<div class="text-sm text-gray-400">tony@stark.com</div>
</div>
</div>
</td>
<td class="px-4 py-4 whitespace-nowrap text-sm">SEO Campaign</td>
<td class="px-4 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-900 text-yellow-200">Pending</span>
</td>
<td class="px-4 py-4 whitespace-nowrap text-sm text-gray-400">1 week ago</td>
</tr>
<tr class="hover:bg-gray-700/50">
<td class="px-4 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-gray-600 flex items-center justify-center">
<i data-feather="user" class="text-gray-300"></i>
</div>
<div class="ml-4">
<div class="text-sm font-medium">Wayne Enterprises</div>
<div class="text-sm text-gray-400">bruce@wayne.com</div>
</div>
</div>
</td>
<td class="px-4 py-4 whitespace-nowrap text-sm">Social Media</td>
<td class="px-4 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-900 text-blue-200">On Hold</span>
</td>
<td class="px-4 py-4 whitespace-nowrap text-sm text-gray-400">3 weeks ago</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- Upcoming Tasks -->
<div class="bg-gray-800 rounded-lg p-6">
<div class="flex items-center justify-between mb-4">
<h2 class="text-xl font-semibold">Upcoming Tasks</h2>
<a href="#" class="text-primary-500 hover:text-primary-400 flex items-center">
View All <i data-feather="chevron-right" class="ml-1 w-4 h-4"></i>
</a>
</div>
<div class="space-y-4">
<div class="flex items-start p-4 rounded-lg bg-gray-700/50 hover:bg-gray-700 transition-colors">
<div class="flex-shrink-0 mt-1">
<div class="h-3 w-3 rounded-full bg-secondary-500"></div>
</div>
<div class="ml-3 flex-1">
<div class="flex items-center justify-between">
<h3 class="font-medium">Client Meeting - Acme Corp</h3>
<span class="text-xs text-gray-400">Tomorrow</span>
</div>
<p class="text-sm text-gray-400 mt-1">Discuss website redesign milestones</p>
</div>
</div>
<div class="flex items-start p-4 rounded-lg bg-gray-700/50 hover:bg-gray-700 transition-colors">
<div class="flex-shrink-0 mt-1">
<div class="h-3 w-3 rounded-full bg-primary-500"></div>
</div>
<div class="ml-3 flex-1">
<div class="flex items-center justify-between">
<h3 class="font-medium">Deliver SEO Report</h3>
<span class="text-xs text-gray-400">In 2 days</span>
</div>
<p class="text-sm text-gray-400 mt-1">Finalize and send Stark Industries report</p>
</div>
</div>
<div class="flex items-start p-4 rounded-lg bg-gray-700/50 hover:bg-gray-700 transition-colors">
<div class="flex-shrink-0 mt-1">
<div class="h-3 w-3 rounded-full bg-secondary-500"></div>
</div>
<div class="ml-3 flex-1">
<div class="flex items-center justify-between">
<h3 class="font-medium">Invoice Due</h3>
<span class="text-xs text-gray-400">In 5 days</span>
</div>
<p class="text-sm text-gray-400 mt-1">Send invoice for Wayne Enterprises project</p>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<script src="components/navbar.js"></script>
<script src="components/sidebar.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>