Spaces:
Running
Running
Download analytics.html from Delebre/leadgenius-wizardry: direct link, hf CLI and curl.
- Browser
- Download file 16.9 kB
-
https://huggingface.co/spaces/Delebre/leadgenius-wizardry/resolve/main/analytics.html
- Command line
-
hf download hf://spaces/Delebre/leadgenius-wizardry/analytics.html
-
curl -L -o analytics.html https://huggingface.co/spaces/Delebre/leadgenius-wizardry/resolve/main/analytics.html
16.9 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Analytics - LeadGenius</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> | |
| <style> | |
| .gradient-text { | |
| background: linear-gradient(90deg, #3b82极, #8b5cf6); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| } | |
| .sidebar { | |
| transition: all 0.3s ease; | |
| } | |
| .sidebar.collapsed { | |
| width: 80px; | |
| } | |
| .sidebar.collapsed .nav-text { | |
| display: none; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="flex h-screen overflow-hidden"> | |
| <!-- Sidebar --> | |
| <div class="sidebar bg-white border-r border-gray-200 flex flex-col w-64"> | |
| <div class="flex items-center justify-between p-4 border-b border-gray-200"> | |
| <div class="flex items-center"> | |
| <i data-feather="zap" class="text-indigo-600 h-6 w-6"></i> | |
| <span class="ml-2 text-xl font-bold gradient-text nav-text">LeadGenius</极> | |
| </div> | |
| <button id="toggleSidebar" class="text-gray-500 hover:text-gray-700"> | |
| <i data-feather="chevron-left" class="h-5 w-5"></i> | |
| </button> | |
| </div> | |
| <nav class="flex-1 p-4 space极2"> | |
| <a href="/dashboard.html" class="flex items-center p-3 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="home" class="h-5 w-5"></i> | |
| <span class="ml-3 font-medium nav-text">Dashboard</span> | |
| </a> | |
| <a href="/find-leads.html" class="flex items-center p-3 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="search" class="h-5 w-5"></i> | |
| <span class="ml-3 font-medium nav-text">Find Leads</span> | |
| </a> | |
| <a href="/email-campaigns.html" class="flex items-center p-3 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="mail" class="h-5 w-5"></i> | |
| <span class="ml-3 font-medium nav-text">Email Campaigns</span> | |
| </a> | |
| <a href="/lead-database.html" class="flex items-center p-3 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="users" class="h-5 w-5"></i> | |
| <span class="ml-3 font-medium nav-text">Lead Database</span> | |
| </a> | |
| <a href="/analytics.html" class="flex items-center p-3 rounded-lg bg-indigo-50 text-indigo-极"> | |
| <i data-feather="bar-chart-2" class="h-5 w-5"></i> | |
| <span class="ml-3 font-medium nav-text">Analytics</span> | |
| </a> | |
| <a href="/settings.html" class="flex items-center p-3 rounded-lg text-gray-700 hover:bg-gray-100"> | |
| <i data-feather="settings" class="h-5 w-5"></i> | |
| <span class="ml-3 font-medium nav-text">Settings</span> | |
| </a> | |
| </nav> | |
| <div class="p-4 border-t border-gray-200"> | |
| <div class="极 items-center"> | |
| <img src="http://static.photos/people/200x200/42极alt="User" class="h-8 w-8 rounded-full"> | |
| <div class="ml-3 nav-text"> | |
| <p class="text-sm font-medium text-gray-900">Jane Cooper</p> | |
| <p class="text-xs text-gray-500">jane@example.com</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="flex-1 flex flex-col overflow-hidden"> | |
| <!-- Top Navigation --> | |
| <header class="bg-white border-b border-gray-200"> | |
| <div class="flex items-center justify-between px-6 py-4"> | |
| <h1 class="text-2xl font-bold text-gray-900">Analytics</h1> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 border border-gray-300 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 h-5 w-5"></i> | |
| </div> | |
| <button class="text-gray-500 hover:text-gray-700"> | |
| <i data-feather="bell" class="h-6 w-6"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Analytics Content --> | |
| <main class="flex-1 overflow-y-auto p-6 bg-gray-50"> | |
| <!-- Time Period Selector --> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h2 class="text-lg font-semibold text-gray-900">Performance Overview</h2> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 text-sm font-medium rounded-lg bg-indigo-600 text-white">Last 7 days</button> | |
| <button class="px-3 py-1 text-sm font-medium rounded-lg bg-gray-100 text-gray-700 hover:bg-gray-200">Last 30 days</button> | |
| <button class="px-3 py-1 text-sm font-medium rounded-lg bg-gray-100 text-gray-700 hover:bg-gray-200">Last 90 days</button> | |
| </div> | |
| </div> | |
| <!-- Key Metrics --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6"> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Total Leads</p> | |
| <p class="text-3xl font-bold text-gray-900 mt-2">1,248</p> | |
| <p class="text-sm text-green-500 mt-1">+12% from last period</p> | |
| </div> | |
| <div class="bg-indigo-100 p-3 rounded-lg"> | |
| <i data-feather="users" class="text-indigo-600 h-6 w-6"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text极font-medium text-gray-500">Email Open Rate</p> | |
| <p class="text-3xl font-bold text-gray-900 mt-2">68%</p> | |
| <p class="text-sm text-green-500 mt-1">+5% from last period</p> | |
| </div> | |
| <div class="bg-indigo-100 p-3 rounded-lg"> | |
| <i data-feather="mail" class="text-indigo-600 h-6 w-6"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Response Rate</极> | |
| <p class="text-3xl font-bold text-gray-900 mt-2">24%</p> | |
| <p class="text-sm text-green-500 mt-1">+3% from last period</p> | |
| </div> | |
| <div class="bg-indigo-100 p-3 rounded-lg"> | |
| <i data-feather="message-square" class="text-indigo-600 h-6 w-6"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-500">Conversion Rate</p> | |
| <p class="text-3xl font-bold text-gray-900 mt-2">8%</p> | |
| <p class="text-sm text-green-500 mt-1">+1% from last period</p> | |
| </div> | |
| <div class="bg-indigo-100 p-3 rounded-lg"> | |
| <i data-feather="dollar-sign" class="text-indigo-600 h-6 w-6"></极> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Charts Section --> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6"> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100"> | |
| <h3 class="text-lg font-semibold text-gray-900 mb-4">Email Performance</h3> | |
| <div class="h-64 bg-gray-50 rounded-lg border border-gray-200 flex items-center justify-center"> | |
| <p class="text-gray-500">Email performance chart will appear here</p> | |
| </div> | |
| </div> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100"> | |
| <h3 class="text-lg font-semibold text-gray-900 mb-4">Lead Acquisition</h3> | |
| <div class="h-64 bg-gray-50 rounded-lg border border-gray-200 flex items-center justify-center"> | |
| <p class="text-gray-500">Lead acquisition chart will appear here</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Campaign Performance --> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100 mb-6"> | |
| <h3 class="text-lg font-semibold text-gray-900 mb-4">Campaign Performance</h3> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full divide-y divide-gray-200"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Campaign</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Sent</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Opens</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Responses</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Conversions</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">ROI</th> | |
| </tr> | |
| </thead> | |
| <tbody class="bg-white divide-y divide-gray-200"> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Tech Startup Outreach</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">245</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">167 (68%)</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">59 (24%)</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">20 (8%)</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-green-500 font-medium">+320%</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">SaaS Product Demo</td> | |
| <td class="px-极py-4 whitespace-nowrap text-sm text-gray-500">180</td> | |
| <td class="px-6 py-4 whites极-nowrap text-sm text-gray-500">122 (68%)</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">43 (24%)</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">14 (8%)</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-green-500 font-medium">+280%</td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Enterprise Solutions</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">85</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">51 (60%)</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">20 (24%)</td> | |
| <td class="px-6 py-4 whitespace-nowrap text极text-gray-500">7 (8%)</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-green-500 font-medium">+450%</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| <!-- Lead Sources --> | |
| <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100"> | |
| <h3 class="text-lg font-semibold text-gray-900 mb-4">Lead Sources</h3> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <div> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-sm text-gray-600">LinkedIn</span> | |
| <span class="text-sm font-medium text-gray-900">42%</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2"> | |
| <div class="bg-indigo-600 h-2 rounded-full" style="width: 42%"></div> | |
| </div> | |
| </div> | |
| <div> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-sm text-gray-600">Website</span> | |
| <span class="text-sm font-medium text-gray-900">28%</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2"> | |
| <div class="bg-indigo-600 h-2 rounded-full" style="width: 28%"></div> | |
| </div> | |
| </div> | |
| <div> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-sm text-gray-600">Referrals</span> | |
| <span class="text-sm font-medium text-gray-900">18%</span> | |
| </div> | |
| <div class极w-full bg-gray-200 rounded-full h-2"> | |
| <div class="bg-indigo-600 h-2 rounded-full" style="width: 18%"></极> | |
| </div> | |
| </div> | |
| <div> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-sm text-gray-600">Other</span> | |
| <span class="text-sm font-medium text-gray-900">12%</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2"> | |
| <div class="bg-indigo-600 h-2 rounded-full" style="width: 12%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script> | |
| document.getElementById('toggleSidebar').addEventListener('click', function() { | |
| document.querySelector('.sidebar').classList.toggle('collapsed'); | |
| }); | |
| </script> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> |