Spaces:
Running
Running
Ctrl+K
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Profit Generator Dashboard - Zivvy</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; padding: 20px; } .dashboard-container { max-width: 1400px; margin: 0 auto; animation: fadeIn 0.6s ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* Header Section */ .dashboard-header { background: white; border-radius: 20px; padding: 30px; margin-bottom: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); } .header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } h1 { font-size: 32px; background: linear-gradient(135deg, #667eea, #764ba2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: flex; align-items: center; gap: 10px; } .live-indicator { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: #10b981; color: white; border-radius: 20px; font-size: 14px; animation: pulse 2s infinite; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.8; } } .live-dot { width: 8px; height: 8px; background: white; border-radius: 50%; animation: blink 1s infinite; } @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } } /* Revenue Counter */ .revenue-hero { text-align: center; padding: 20px; background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); border-radius: 15px; } .revenue-label { font-size: 18px; color: #6b7280; margin-bottom: 10px; } .revenue-amount { font-size: 48px; font-weight: bold; color: #10b981; margin-bottom: 10px; font-variant-numeric: tabular-nums; } .revenue-growth { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; background: #d1fae5; color: #065f46; border-radius: 20px; font-size: 14px; } /* Stats Grid */ .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; } .stat-card { background: white; border-radius: 15px; padding: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: all 0.3s ease; cursor: pointer; } .stat-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); } .stat-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 15px; } .stat-card.active .stat-icon { background: #dbeafe; color: #2563eb; } .stat-card.pending .stat-icon { background: #fef3c7; color: #d97706; } .stat-card.expired .stat-icon { background: #fee2e2; color: #dc2626; } .stat-card.revenue .stat-icon { background: #d1fae5; color: #059669; } .stat-value { font-size: 32px; font-weight: bold; margin-bottom: 5px; } .stat-label { color: #6b7280; font-size: 14px; } .stat-trend { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 12px; } .trend-up { color: #10b981; } .trend-down { color: #ef4444; } /* Action Button */ .create-button { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; padding: 15px 30px; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s ease; } .create-button:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4); } /* PG List Section */ .pg-section { background: white; border-radius: 20px; padding: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); } .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; } .section-title { font-size: 20px; font-weight: 600; display: flex; align-items: center; gap: 10px; } .badge { background: #f3f4f6; color: #4b5563; padding: 4px 12px; border-radius: 20px; font-size: 14px; font-weight: normal; } /* PG Cards */ .pg-grid { display: grid; gap: 20px; } .pg-card { background: #f9fafb; border: 2px solid #e5e7eb; border-radius: 15px; padding: 20anniepx; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 20px; transition: all 0.3s ease; cursor: pointer; } .pg-card:hover { border-color: #667eea; background: white; box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1); } .pg-status { width: 10px; height: 10px; border-radius: 50%; } .pg-status.active { background: #10b981; } .pg-status.pending { background: #f59e0b; } .pg-status.expired { background: #ef4444; } .pg-info h3 { font-size: 16px; margin-bottom: 5px; } .pg-meta { display: flex; gap: 15px; font-size: 13px; color: #6b7280; } .pg-stats { display: flex; gap: 30px; } .pg-stat { text-align: center; } .pg-stat-value { font-size: 20px; font-weight: bold; color: #111827; } .pg-stat-label { font-size: 11px; color: #9ca3af; text-transform: uppercase; margin-top: 2px; } .pg-actions { display: flex; gap: 10px; } .action-btn { padding: 8px 16px; border-radius: 8px; border: none; font-size: 14px; cursor: pointer; transition: all 0.2s ease; } .action-btn.view { background: #eff6ff; color: #2563eb; } .action-btn.view:hover { background: #2563eb; color: white; } .action-btn.send { background: #f0fdf4; color: #16a34a; } .action-btn.send:hover { background: #16a34a; color: white; } /* Empty State */ .empty-state { text-align: center; padding: 60px 20px; } .empty-icon { font-size: 48px; margin-bottom: 20px; opacity: 0.3; } .empty-title { font-size: 20px; font-weight: 600; margin-bottom: 10px; color: #374151; } .empty-text { color: #6b7280; margin-bottom: 20px; } /* Celebration Animation */ @keyframes celebrate { 0% { transform: scale(1) rotate(0deg); } 25% { transform: scale(1.1) rotate(-5deg); } 50% { transform: scale(1) rotate(5deg); } 75% { transform: scale(1.1) rotate(-5deg); } 100% { transform: scale(1) rotate(0deg); } } .celebrating { animation: celebrate 0.5s ease-out; } </style> </head> <body> <div class="dashboard-container"> <!-- Main Header --> <div class="dashboard-header"> <div class="header-top"> <h1> π° Profit Generators Dashboard </h1> <div class="live-indicator"> <span class="live-dot"></span> <span>LIVE TRACKING</span> </div> </div> <!-- Revenue Hero Section --> <div class="revenue-hero"> <div class="revenue-label">Total Monthly Revenue Generated</div> <div class="revenue-amount" id="revenueCounter">$47,832</div> <div class="revenue-growth"> β 23% from last month </div> </div> </div> <!-- Stats Grid --> <div class="stats-grid"> <div class="stat-card active"> <div class="stat-icon">β¨</div> <div class="stat-value">8</div> <div class="stat-label">Active PGs</div> <div class="stat-trend trend-up">β 2 this week</div> </div> <div class="stat-card pending"> <div class="stat-icon">β³</div> <div class="stat-value">3</div> <div class="stat-label">Pending Setup</div> <div class="stat-trend">Ready to launch</div> </div> <div class="stat-card expired"> <div class="stat-icon">π</div> <div class="stat-value">5</div> <div class="stat-label">Need Renewal</div> <div class="stat-trend trend-down">β 1 expiring soon</div> </div> <div class="stat-card revenue"> <div class="stat-icon">π</div> <div class="stat-value">342</div> <div class="stat-label">Total Registrations</div> <div class="stat-trend trend-up">β 89 this month</div> </div> </div> <!-- Active PGs Section --> <div class="pg-section"> <div class="section-header"> <h2 class="section-title"> Active Profit Generators <span class="badge">8 Active</span> </h2> <button class="create-button"> β¨ Create New PG </button> </div> <div class="pg-grid"> <!-- PG Card Example --> <div class="pg-card"> <div class="pg-status active"></div> <div class="pg-info"> <h3>Kids Martial Arts Trial - 2 Weeks $69</h3> <div class="pg-meta"> <span>π
Created Aug 15</span> <span>π― Trial Offer</span> <span>β
Active</span> </div> </div> <div class="pg-stats"> <div class="pg-stat"> <div class="pg-stat-value">89</div> <div class="pg-stat-label">Signups</div> </div> <div class="pg-stat"> <div class="pg-stat-value">$6,141</div> <div class="pg-stat-label">Revenue</div> </div> <div class="pg-stat"> <div class="pg-stat-value">73%</div> <div class="pg-stat-label">Conv Rate</div> </div> </div> <div class="pg-actions"> <button class="action-btn view">View</button> <button class="action-btn send">Send Invites</button> </div> </div> <!-- More PG Cards --> <div class="pg-card"> <div class="pg-status active"></div> <div class="pg-info"> <h3>Parkour Introductory - 4 Weeks $99</h3> <div class="pg-meta"> <span>π
Created Jul 28</span> <span>π― Intro Offer</span> <span>β
Active</span> </div> </div> <div class="pg-stats"> <div class="pg-stat"> <div class="pg-stat-value">64</div> <div class="pg-stat-label">Signups</div> </div> <div class="pg-stat"> <div class="pg-stat-value">$6,336</div> <div class="pg-stat-label">Revenue</div> </div> <div class="pg-stat"> <div class="pg-stat-value">68%</div> <div class="pg-stat-label">Conv Rate</div> </div> </div> <div class="pg-actions"> <button class="action-btn view">View</button> <button class="action-btn send">Send Invites</button> </div> </div> <div class="pg-card"> <div class="pg-status pending"></div> <div class="pg-info"> <h3>Summer Bootcamp - 6 Weeks $179</h3> <div class="pg-meta"> <span>π
Created Today</span> <span>π― Seasonal Offer</span> <span>β³ Pending</span> </div> </div> <div class="pg-stats"> <div class="pg-stat"> <div class="pg-stat-value">0</div> <div class="pg-stat-label">Signups</div> </div> <div class="pg-stat"> <div class="pg-stat-value">$0</div> <div class="pg-stat-label">Revenue</div> </div> <div class="pg-stat"> <div class="pg-stat-value">-</div> <div class="pg-stat-label">Conv Rate</div> </div> </div> <div class="pg-actions"> <button class="action-btn view">Setup</button> <button class="action-btn send">Preview</button> </div> </div> </div> </div> </div> <script> // Animate revenue counter let currentRevenue = 47832; setInterval(() => { const increment = Math.floor(Math.random() * 500) + 100; currentRevenue += increment; document.getElementById('revenueCounter').textContent = '$' + currentRevenue.toLocaleString(); // Add celebration animation document.getElementById('revenueCounter').classList.add('celebrating'); setTimeout(() => { document.getElementById('revenueCounter').classList.remove('celebrating'); }, 500); }, 5000); // Add hover effects to cards document.querySelectorAll('.pg-card').forEach(card => { card.addEventListener('click', function() { this.style.transform = 'scale(0.98)'; setTimeout(() => { this.style.transform = 'scale(1)'; }, 100); }); }); </script> </body> </html> - Initial Deployment
0478b67 verified