Spaces:
Running
Running
File size: 29,698 Bytes
8dd2768 c99b77c | 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 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LeadSync Navigator - Sales Management</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<style>
.sidebar {
transition: all 0.3s ease;
}
.lead-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.progress-ring__circle {
transition: stroke-dashoffset 0.7s;
transform: rotate(-90deg);
transform-origin: 50% 50%;
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<div class="sidebar bg-indigo-700 text-white w-64 flex-shrink-0 hidden md:block">
<div class="p-4 flex items-center border-b border-indigo-600">
<i data-feather="navigation" class="mr-2"></i>
<h1 class="text-xl font-bold">LeadSync</h1>
</div>
<nav class="p-4">
<div class="mb-6">
<h2 class="text-xs uppercase text-indigo-300 font-semibold mb-2">Dashboard</h2>
<ul>
<li class="mb-1">
<a href="#" class="flex items-center p-2 rounded bg-indigo-800">
<i data-feather="home" class="mr-2"></i>
<span>Overview</span>
</a>
</li>
<li class="mb-1">
<a href="#" class="flex items-center p-2 rounded hover:bg-indigo-800">
<i data-feather="activity" class="mr-2"></i>
<span>Analytics</span>
</a>
</li>
</ul>
</div>
<div class="mb-6">
<h2 class="text-xs uppercase text-indigo-300 font-semibold mb-2">Sales</h2>
<ul>
<li class="mb-1">
<a href="#" class="flex items-center p-2 rounded hover:bg-indigo-800">
<i data-feather="users" class="mr-2"></i>
<span>Leads</span>
<span class="ml-auto bg-indigo-600 text-xs px-2 py-1 rounded-full">24</span>
</a>
</li>
<li class="mb-1">
<a href="#" class="flex items-center p-2 rounded hover:bg-indigo-800">
<i data-feather="briefcase" class="mr-2"></i>
<span>Opportunities</span>
<span class="ml-auto bg-indigo-600 text-xs px-2 py-1 rounded-full">8</span>
</a>
</li>
<li class="mb-1">
<a href="#" class="flex items-center p-2 rounded hover:bg-indigo-800">
<i data-feather="dollar-sign" class="mr-2"></i>
<span>Deals</span>
<span class="ml-auto bg-indigo-600 text-xs px-2 py-1 rounded-full">5</span>
</a>
</li>
</ul>
</div>
<div class="mb-6">
<h2 class="text-xs uppercase text-indigo-300 font-semibold mb-2">Tools</h2>
<ul>
<li class="mb-1">
<a href="#" class="flex items-center p-2 rounded hover:bg-indigo-800">
<i data-feather="calendar" class="mr-2"></i>
<span>Calendar</span>
</a>
</li>
<li class="mb-1">
<a href="#" class="flex items-center p-2 rounded hover:bg-indigo-800">
<i data-feather="mail" class="mr-2"></i>
<span>Campaigns</span>
</a>
</li>
<li class="mb-1">
<a href="#" class="flex items-center p-2 rounded hover:bg-indigo-800">
<i data-feather="settings" class="mr-2"></i>
<span>Settings</span>
</a>
</li>
</ul>
</div>
</nav>
</div>
<!-- Main Content -->
<div class="flex-1 overflow-auto">
<!-- Top Navigation -->
<header class="bg-white shadow-sm">
<div class="flex items-center justify-between p-4">
<div class="flex items-center">
<button class="md:hidden mr-4">
<i data-feather="menu"></i>
</button>
<h1 class="text-xl font-semibold">Lead Dashboard</h1>
</div>
<div class="flex items-center space-x-4">
<div class="relative">
<input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500">
<i data-feather="search" class="absolute left-3 top-2.5 text-gray-400"></i>
</div>
<div class="relative">
<button class="p-2 rounded-full bg-gray-100">
<i data-feather="bell"></i>
<span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span>
</button>
</div>
<div class="flex items-center">
<img src="http://static.photos/people/200x200/1" alt="User" class="w-8 h-8 rounded-full">
<span class="ml-2 hidden md:inline">John Doe</span>
</div>
</div>
</div>
</header>
<!-- Dashboard Content -->
<main class="p-6">
<!-- Stats Cards -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
<div class="bg-white rounded-lg shadow p-6">
<div class="flex justify-between items-center">
<div>
<p class="text-gray-500 text-sm">Total Leads</p>
<h3 class="text-2xl font-bold mt-1">124</h3>
<p class="text-green-500 text-sm flex items-center mt-2">
<i data-feather="trending-up" class="w-4 h-4 mr-1"></i>
<span>12% from last month</span>
</p>
</div>
<div class="p-3 rounded-full bg-indigo-100 text-indigo-600">
<i data-feather="users"></i>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6">
<div class="flex justify-between items-center">
<div>
<p class="text-gray-500 text-sm">Opportunities</p>
<h3 class="text-2xl font-bold mt-1">24</h3>
<p class="text-green-500 text-sm flex items-center mt-2">
<i data-feather="trending-up" class="w-4 h-4 mr-1"></i>
<span>8% from last month</span>
</p>
</div>
<div class="p-3 rounded-full bg-blue-100 text-blue-600">
<i data-feather="briefcase"></i>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6">
<div class="flex justify-between items-center">
<div>
<p class="text-gray-500 text-sm">Closed Won</p>
<h3 class="text-2xl font-bold mt-1">8</h3>
<p class="text-green-500 text-sm flex items-center mt-2">
<i data-feather="trending-up" class="w-4 h-4 mr-1"></i>
<span>23% from last month</span>
</p>
</div>
<div class="p-3 rounded-full bg-green-100 text-green-600">
<i data-feather="check-circle"></i>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6">
<div class="flex justify-between items-center">
<div>
<p class="text-gray-500 text-sm">Avg. Deal Size</p>
<h3 class="text-2xl font-bold mt-1">$12,450</h3>
<p class="text-red-500 text-sm flex items-center mt-2">
<i data-feather="trending-down" class="w-4 h-4 mr-1"></i>
<span>3% from last month</span>
</p>
</div>
<div class="p-3 rounded-full bg-purple-100 text-purple-600">
<i data-feather="dollar-sign"></i>
</div>
</div>
</div>
</div>
<!-- Lead Pipeline -->
<div class="bg-white rounded-lg shadow mb-6">
<div class="flex items-center justify-between p-6 border-b">
<h2 class="text-lg font-semibold">Lead Pipeline</h2>
<button class="text-indigo-600 hover:text-indigo-800 flex items-center">
<i data-feather="plus" class="w-4 h-4 mr-1"></i>
<span>Add Lead</span>
</button>
</div>
<div class="p-6">
<div class="flex overflow-x-auto pb-4">
<div class="flex space-x-4">
<div class="min-w-[280px]">
<div class="bg-gray-100 p-3 rounded-t-lg flex justify-between items-center">
<h3 class="font-medium">New Leads</h3>
<span class="bg-gray-200 text-xs px-2 py-1 rounded-full">12</span>
</div>
<div class="space-y-3 mt-3">
<div class="lead-card bg-white p-4 rounded-lg shadow border-l-4 border-blue-500 transition duration-300 ease-in-out">
<div class="flex justify-between items-start">
<div>
<h4 class="font-medium">Acme Corp</h4>
<p class="text-sm text-gray-500">Michael Scott</p>
</div>
<div class="flex space-x-1">
<button class="text-gray-400 hover:text-blue-500">
<i data-feather="edit-2" class="w-4 h-4"></i>
</button>
<button class="text-gray-400 hover:text-red-500">
<i data-feather="trash-2" class="w-4 h-4"></i>
</button>
</div>
</div>
<div class="mt-3 flex justify-between items-center">
<div class="text-xs text-gray-500">Created: 2 days ago</div>
<div class="text-xs px-2 py-1 bg-blue-100 text-blue-800 rounded-full">New</div>
</div>
</div>
<div class="lead-card bg-white p-4 rounded-lg shadow border-l-4 border-blue-500 transition duration-300 ease-in-out">
<div class="flex justify-between items-start">
<div>
<h4 class="font-medium">Dunder Mifflin</h4>
<p class="text-sm text-gray-500">Pam Beesly</p>
</div>
<div class="flex space-x-1">
<button class="text-gray-400 hover:text-blue-500">
<i data-feather="edit-2" class="w-4 h-4"></i>
</button>
<button class="text-gray-400 hover:text-red-500">
<i data-feather="trash-2" class="w-4 h-4"></i>
</button>
</div>
</div>
<div class="mt-3 flex justify-between items-center">
<div class="text-xs text-gray-500">Created: 1 day ago</div>
<div class="text-xs px-2 py-1 bg-blue-100 text-blue-800 rounded-full">New</div>
</div>
</div>
</div>
</div>
<div class="min-w-[280px]">
<div class="bg-gray-100 p-3 rounded-t-lg flex justify-between items-center">
<h3 class="font-medium">Contacted</h3>
<span class="bg-gray-200 text-xs px-2 py-1 rounded-full">8</span>
</div>
<div class="space-y-3 mt-3">
<div class="lead-card bg-white p-4 rounded-lg shadow border-l-4 border-purple-500 transition duration-300 ease-in-out">
<div class="flex justify-between items-start">
<div>
<h4 class="font-medium">Sabre Inc</h4>
<p class="text-sm text-gray-500">Jan Levinson</p>
</div>
<div class="flex space-x-1">
<button class="text-gray-400 hover:text-blue-500">
<i data-feather="edit-2" class="w-4 h-4"></i>
</button>
<button class="text-gray-400 hover:text-red-500">
<i data-feather="trash-2" class="w-4 h-4"></i>
</button>
</div>
</div>
<div class="mt-3 flex justify-between items-center">
<div class="text-xs text-gray-500">Last contact: Today</div>
<div class="text-xs px-2 py-1 bg-purple-100 text-purple-800 rounded-full">Scheduled</div>
</div>
</div>
</div>
</div>
<div class="min-w-[280px]">
<div class="bg-gray-100 p-3 rounded-t-lg flex justify-between items-center">
<h3 class="font-medium">Negotiation</h3>
<span class="bg-gray-200 text-xs px-2 py-1 rounded-full">3</span>
</div>
<div class="space-y-3 mt-3">
<div class="lead-card bg-white p-4 rounded-lg shadow border-l-4 border-yellow-500 transition duration-300 ease-in-out">
<div class="flex justify-between items-start">
<div>
<h4 class="font-medium">Wernham Hogg</h4>
<p class="text-sm text-gray-500">David Brent</p>
</div>
<div class="flex space-x-1">
<button class="text-gray-400 hover:text-blue-500">
<i data-feather="edit-2" class="w-4 h-4"></i>
</button>
<button class="text-gray-400 hover:text-red-500">
<i data-feather="trash-2" class="w-4 h-4"></i>
</button>
</div>
</div>
<div class="mt-3 flex justify-between items-center">
<div class="text-xs text-gray-500">Value: $24,500</div>
<div class="text-xs px-2 py-1 bg-yellow-100 text-yellow-800 rounded-full">Critical</div>
</div>
</div>
</div>
</div>
<div class="min-w-[280px]">
<div class="bg-gray-100 p-3 rounded-t-lg flex justify-between items-center">
<h3 class="font-medium">Closed Won</h3>
<span class="bg-gray-200 text-xs px-2 py-1 rounded-full">5</span>
</div>
<div class="space-y-3 mt-3">
<div class="lead-card bg-white p-4 rounded-lg shadow border-l-4 border-green-500 transition duration-300 ease-in-out">
<div class="flex justify-between items-start">
<div>
<h4 class="font-medium">Michael Scott Paper Co.</h4>
<p class="text-sm text-gray-500">Michael Scott</p>
</div>
<div class="flex space-x-1">
<button class="text-gray-400 hover:text-blue-500">
<i data-feather="edit-2" class="w-4 h-4"></i>
</button>
<button class="text-gray-400 hover:text-red-500">
<i data-feather="trash-2" class="w-4 h-4"></i>
</button>
</div>
</div>
<div class="mt-3 flex justify-between items-center">
<div class="text-xs text-gray-500">Closed: Yesterday</div>
<div class="text-xs px-2 py-1 bg-green-100 text-green-800 rounded-full">$18,250</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Recent Activity & Performance Chart -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<div class="lg:col-span-2 bg-white rounded-lg shadow">
<div class="p-6 border-b">
<h2 class="text-lg font-semibold">Sales Performance</h2>
</div>
<div class="p-6">
<div class="h-64 bg-gray-50 rounded-lg flex items-center justify-center">
<div class="text-center">
<div class="w-24 h-24 mx-auto mb-4 relative">
<svg class="w-full h-full" viewBox="0 0 36 36">
<path
d="M18 2.0845
a 15.9155 15.9155 0 0 1 0 31.831
a 15.9155 15.9155 0 0 1 0 -31.831"
fill="none"
stroke="#e6e6e6"
stroke-width="3"
/>
<path
d="M18 2.0845
a 15.9155 15.9155 0 0 1 0 31.831
a 15.9155 15.9155 0 0 1 0 -31.831"
fill="none"
stroke="#4f46e5"
stroke-width="3"
stroke-dasharray="75, 100"
class="progress-ring__circle"
/>
</svg>
<div class="absolute inset-0 flex items-center justify-center">
<span class="text-xl font-bold">75%</span>
</div>
</div>
<p class="text-gray-500">Quarterly Target</p>
<h3 class="text-xl font-semibold mt-1">$124,500 / $165,000</h3>
</div>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow">
<div class="p-6 border-b">
<h2 class="text-lg font-semibold">Recent Activity</h2>
</div>
<div class="p-6">
<div class="space-y-4">
<div class="flex">
<div class="flex-shrink-0 mr-3">
<div class="p-2 bg-blue-100 text-blue-600 rounded-full">
<i data-feather="phone" class="w-4 h-4"></i>
</div>
</div>
<div>
<p class="text-sm">
<span class="font-medium">You</span> had a call with
<span class="font-medium">Acme Corp</span>
</p>
<p class="text-xs text-gray-500 mt-1">30 minutes ago</p>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0 mr-3">
<div class="p-2 bg-green-100 text-green-600 rounded-full">
<i data-feather="check-circle" class="w-4 h-4"></i>
</div>
</div>
<div>
<p class="text-sm">
<span class="font-medium">Dunder Mifflin</span> deal closed for
<span class="font-medium">$18,250</span>
</p>
<p class="text-xs text-gray-500 mt-1">2 hours ago</p>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0 mr-3">
<div class="p-2 bg-purple-100 text-purple-600 rounded-full">
<i data-feather="mail" class="w-4 h-4"></i>
</div>
</div>
<div>
<p class="text-sm">
<span class="font-medium">You</span> sent a proposal to
<span class="font-medium">Wernham Hogg</span>
</p>
<p class="text-xs text-gray-500 mt-1">5 hours ago</p>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0 mr-3">
<div class="p-2 bg-yellow-100 text-yellow-600 rounded-full">
<i data-feather="calendar" class="w-4 h-4"></i>
</div>
</div>
<div>
<p class="text-sm">
Meeting scheduled with
<span class="font-medium">Sabre Inc</span> for tomorrow
</p>
<p class="text-xs text-gray-500 mt-1">Yesterday</p>
</div>
</div>
</div>
<button class="mt-4 text-indigo-600 hover:text-indigo-800 flex items-center text-sm">
<span>View all activity</span>
<i data-feather="chevron-right" class="w-4 h-4 ml-1"></i>
</button>
</div>
</div>
</div>
</main>
</div>
</div>
<script>
feather.replace();
// Simple animation for the progress ring
document.addEventListener('DOMContentLoaded', function() {
const circle = document.querySelector('.progress-ring__circle');
const radius = circle.r.baseVal.value;
const circumference = radius * 2 * Math.PI;
circle.style.strokeDasharray = `${circumference} ${circumference}`;
circle.style.strokeDashoffset = circumference;
const offset = circumference - (75 / 100) * circumference;
circle.style.strokeDashoffset = offset;
});
</script>
</body>
</html>
|