Download index.html from avrahamdigital/dash-performance-comercial: direct link, hf CLI and curl.
- Browser
- Download file 12.4 kB
-
https://huggingface.co/spaces/avrahamdigital/dash-performance-comercial/resolve/main/index.html
- Command line
-
hf download hf://spaces/avrahamdigital/dash-performance-comercial/index.html
-
curl -L -o index.html https://huggingface.co/spaces/avrahamdigital/dash-performance-comercial/resolve/main/index.html
12.4 kB
| <html lang="pt-BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Dashboard de Vendas - Performance Comercial</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); | |
| } | |
| .card-glass { | |
| background: rgba(15, 23, 42, 0.7); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| .neon-text { | |
| text-shadow: 0 0 5px rgba(100, 200, 255, 0.5); | |
| } | |
| .neon-border { | |
| box-shadow: 0 0 10px rgba(100, 200, 255, 0.3); | |
| } | |
| .progress-bar { | |
| height: 8px; | |
| border-radius: 4px; | |
| background: rgba(255, 255, 255, 0.1); | |
| } | |
| .progress-fill { | |
| height: 100%; | |
| border-radius: 4px; | |
| transition: width 0.5s ease; | |
| } | |
| .status-badge { | |
| padding: 0.25rem 0.5rem; | |
| border-radius: 9999px; | |
| font-size: 0.75rem; | |
| font-weight: 600; | |
| } | |
| .dropdown-content { | |
| display: none; | |
| position: absolute; | |
| min-width: 160px; | |
| z-index: 1; | |
| } | |
| .dropdown:hover .dropdown-content { | |
| display: block; | |
| } | |
| @media (max-width: 768px) { | |
| .mobile-stack { | |
| flex-direction: column; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body class="gradient-bg text-gray-100 min-h-screen"> | |
| <div class="container mx-auto px-4 py-8"> | |
| <!-- Header --> | |
| <header class="flex flex-col md:flex-row justify-between items-center mb-8"> | |
| <div class="flex items-center mb-4 md:mb-0"> | |
| <i class="fas fa-chart-line text-3xl text-blue-400 mr-3"></i> | |
| <h1 class="text-2xl md:text-3xl font-bold neon-text">Performance Comercial</h1> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <span class="text-sm text-gray-300 mr-2">Período:</span> | |
| <div class="dropdown inline-block relative"> | |
| <button class="bg-gray-800 text-white px-4 py-2 rounded-lg inline-flex items-center"> | |
| <span class="mr-1">Este Mês</span> | |
| <i class="fas fa-chevron-down"></i> | |
| </button> | |
| <ul class="dropdown-content absolute text-gray-200 pt-1 bg-gray-800 rounded-lg shadow-lg w-full"> | |
| <li><a href="#" class="hover:bg-gray-700 px-4 py-2 block">Hoje</a></li> | |
| <li><a href="#" class="hover:bg-gray-700 px-4 py-2 block">Esta Semana</a></li> | |
| <li><a href="#" class="hover:bg-gray-700 px-4 py-2 block">Este Mês</a></li> | |
| <li><a href="#" class="hover:bg-gray-700 px-4 py-2 block">Personalizado</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="relative"> | |
| <span class="text-sm text-gray-300 mr-2">Vendedor:</span> | |
| <div class="dropdown inline-block relative"> | |
| <button class="bg-gray-800 text-white px-4 py-2 rounded-lg inline-flex items-center"> | |
| <span class="mr-1">Todos</span> | |
| <i class="fas fa-chevron-down"></i> | |
| </button> | |
| <ul class="dropdown-content absolute text-gray-200 pt-1 bg-gray-800 rounded-lg shadow-lg w-full"> | |
| <li><a href="#" class="hover:bg-gray-700 px-4 py-2 block">Todos</a></li> | |
| <li><a href="#" class="hover:bg-gray-700 px-4 py-2 block">João Silva</a></li> | |
| <li><a href="#" class="hover:bg-gray-700 px-4 py-2 block">Maria Souza</a></li> | |
| <li><a href="#" class="hover:bg-gray-700 px-4 py-2 block">Carlos Oliveira</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Summary Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8"> | |
| <div class="card-glass p-6 rounded-xl neon-border"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-400 text-sm">Faturamento Total</p> | |
| <h3 class="text-2xl font-bold text-green-400">R$ 245,780</h3> | |
| <p class="text-sm text-gray-300">+12% vs mês passado</p> | |
| </div> | |
| <div class="bg-blue-500/20 p-3 rounded-full"> | |
| <i class="fas fa-dollar-sign text-blue-400 text-xl"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="card-glass p-6 rounded-xl neon-border"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-400 text-sm">Vendas Realizadas</p> | |
| <h3 class="text-2xl font-bold text-purple-400">48</h3> | |
| <p class="text-sm text-gray-300">82% da meta</p> | |
| </div> | |
| <div class="bg-purple-500/20 p-3 rounded-full"> | |
| <i class="fas fa-shopping-cart text-purple-400 text-xl"></i> | |
| </div> | |
| </div> | |
| <div class="progress-bar mt-4"> | |
| <div class="progress-fill bg-purple-500" style="width: 82%"></div> | |
| </div> | |
| </div> | |
| <div class="card-glass p-6 rounded-xl neon-border"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-400 text-sm">Atividades</p> | |
| <h3 class="text-2xl font-bold text-yellow-400">327</h3> | |
| <p class="text-sm text-gray-300">15% acima da meta</p> | |
| </div> | |
| <div class="bg-yellow-500/20 p-3 rounded-full"> | |
| <i class="fas fa-tasks text-yellow-400 text-xl"></i> | |
| </div> | |
| </div> | |
| <div class="progress-bar mt-4"> | |
| <div class="progress-fill bg-yellow-500" style="width: 115%"></div> | |
| </div> | |
| </div> | |
| <div class="card-glass p-6 rounded-xl neon-border"> | |
| <div class="flex justify-between items-start"> | |
| <div> | |
| <p class="text-gray-400 text-sm">Taxa de Conversão</p> | |
| <h3 class="text-2xl font-bold text-pink-400">14.7%</h3> | |
| <p class="text-sm text-gray-300">+2.3pp vs mês passado</p> | |
| </div> | |
| <div class="bg-pink-500/20 p-3 rounded-full"> | |
| <i class="fas fa-percentage text-pink-400 text-xl"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8"> | |
| <!-- Sales Performance --> | |
| <div class="card-glass p-6 rounded-xl neon-border lg:col-span-2"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h2 class="text-xl font-bold">Performance de Vendas</h2> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 bg-blue-600/30 text-blue-400 rounded-lg text-sm">Faturamento</button> | |
| <button class="px-3 py-1 bg-gray-700/50 text-gray-300 rounded-lg text-sm">Vendas</button> | |
| <button class="px-3 py-1 bg-gray-700/50 text-gray-300 rounded-lg text-sm">Conversão</button> | |
| </div> | |
| </div> | |
| <div class="h-64"> | |
| <canvas id="salesChart"></canvas> | |
| </div> | |
| </div> | |
| <!-- Activity Distribution --> | |
| <div class="card-glass p-6 rounded-xl neon-border"> | |
| <h2 class="text-xl font-bold mb-6">Distribuição de Atividades</h2> | |
| <div class="h-64"> | |
| <canvas id="activityChart"></canvas> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Bottom Section --> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6"> | |
| <!-- Team Ranking --> | |
| <div class="card-glass p-6 rounded-xl neon-border"> | |
| <h2 class="text-xl font-bold mb-6">Ranking de Vendedores</h2> | |
| <div class="space-y-4"> | |
| <!-- Rank 1 --> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 rounded-full bg-yellow-500 flex items-center justify-center text-white font-bold mr-3">1</div> | |
| <div class="flex-1"> | |
| <div class="flex justify-between mb-1"> | |
| <span class="font-medium">João Silva</span> | |
| <span class="text-green-400">R$ 78,450</span> | |
| </div> | |
| <div class="progress-bar"> | |
| <div class="progress-fill bg-yellow-500" style="width: 92%"></div> | |
| </div> | |
| <div class="flex justify-between text-xs text-gray-400 mt-1"> | |
| <span>128% da meta</span> | |
| <span>12 fechamentos</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Rank 2 --> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 rounded-full bg-gray-400 flex items-center justify-center text-white font-bold mr-3">2</div> | |
| <div class="flex-1"> | |
| <div class="flex justify-between mb-1"> | |
| <span class="font-medium">Maria Souza</span> | |
| <span class="text-blue-400">R$ 65,120</span> | |
| </div> | |
| <div class="progress-bar"> | |
| <div class="progress-fill bg-blue-500" style="width: 78%"></div> | |
| </div> | |
| <div class="flex justify-between text-xs text-gray-400 mt-1"> | |
| <span>98% da meta</span> | |
| <span>10 fechamentos</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Rank 3 --> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 rounded-full bg-amber-600 flex items-center justify-center text-white font-bold mr-3">3</div> | |
| <div class="flex-1"> | |
| <div class="flex justify-between mb-1"> | |
| <span class="font-medium">Carlos Oliveira</span> | |
| <span class="text-purple-400">R$ 52,900</span> | |
| </div> | |
| <div class="progress-bar"> | |
| <div class="progress-fill bg-purple-500" style="width: 65%"></div> | |
| </div> | |
| <div class="flex justify-between text-xs text-gray-400 mt-1"> | |
| <span>82% da meta</span> | |
| <span>8 fechamentos</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Other ranks --> | |
| <div class="text-center pt-2"> | |
| <button class="text-blue-400 text-sm hover:underline">Ver ranking completo</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Projections & Bonuses --> | |
| <div class="card-glass p- | |
| </html> |