Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Social Profile Analyzer - Educational Demo</title> | |
| <!-- Font Awesome for Icons --> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| :root { | |
| --primary-color: #6366f1; | |
| --primary-dark: #4f46e5; | |
| --secondary-color: #ec4899; | |
| --success-color: #10b981; | |
| --warning-color: #f59e0b; | |
| --danger-color: #ef4444; | |
| --dark-bg: #0f172a; | |
| --card-bg: #1e293b; | |
| --text-primary: #f1f5f9; | |
| --text-secondary: #94a3b8; | |
| --border-color: #334155; | |
| --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); | |
| --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); | |
| --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; | |
| background: var(--dark-bg); | |
| color: var(--text-primary); | |
| line-height: 1.6; | |
| overflow-x: hidden; | |
| } | |
| /* Animated Background */ | |
| .bg-animation { | |
| position: fixed; | |
| width: 100%; | |
| height: 100%; | |
| top: 0; | |
| left: 0; | |
| z-index: -1; | |
| background: linear-gradient(125deg, #0f172a 0%, #1e293b 100%); | |
| overflow: hidden; | |
| } | |
| .bg-animation::before { | |
| content: ''; | |
| position: absolute; | |
| width: 200%; | |
| height: 200%; | |
| top: -50%; | |
| left: -50%; | |
| background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%); | |
| animation: rotate 30s linear infinite; | |
| } | |
| @keyframes rotate { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| /* Header */ | |
| header { | |
| background: rgba(30, 41, 59, 0.8); | |
| backdrop-filter: blur(10px); | |
| border-bottom: 1px solid var(--border-color); | |
| padding: 1rem 0; | |
| position: sticky; | |
| top: 0; | |
| z-index: 100; | |
| animation: slideDown 0.5s ease-out; | |
| } | |
| @keyframes slideDown { | |
| from { | |
| transform: translateY(-100%); | |
| opacity: 0; | |
| } | |
| to { | |
| transform: translateY(0); | |
| opacity: 1; | |
| } | |
| } | |
| .header-container { | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| padding: 0 2rem; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .logo { | |
| display: flex; | |
| align-items: center; | |
| gap: 1rem; | |
| font-size: 1.5rem; | |
| font-weight: bold; | |
| background: var(--gradient-1); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| .logo i { | |
| font-size: 2rem; | |
| -webkit-text-fill-color: var(--primary-color); | |
| } | |
| .built-with { | |
| color: var(--text-secondary); | |
| text-decoration: none; | |
| transition: color 0.3s; | |
| font-size: 0.9rem; | |
| } | |
| .built-with:hover { | |
| color: var(--primary-color); | |
| } | |
| /* Navigation Tabs */ | |
| .nav-tabs { | |
| display: flex; | |
| gap: 0.5rem; | |
| padding: 1rem 2rem; | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| overflow-x: auto; | |
| } | |
| .tab-btn { | |
| padding: 0.75rem 1.5rem; | |
| background: transparent; | |
| border: 1px solid var(--border-color); | |
| color: var(--text-secondary); | |
| border-radius: 0.5rem; | |
| cursor: pointer; | |
| transition: all 0.3s; | |
| white-space: nowrap; | |
| font-size: 0.95rem; | |
| } | |
| .tab-btn:hover { | |
| background: rgba(99, 102, 241, 0.1); | |
| border-color: var(--primary-color); | |
| color: var(--primary-color); | |
| transform: translateY(-2px); | |
| } | |
| .tab-btn.active { | |
| background: var(--primary-color); | |
| border-color: var(--primary-color); | |
| color: white; | |
| box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3); | |
| } | |
| /* Main Container */ | |
| .container { | |
| max-width: 1400px; | |
| margin: 2rem auto; | |
| padding: 0 2rem; | |
| } | |
| /* Tab Content */ | |
| .tab-content { | |
| display: none; | |
| animation: fadeIn 0.5s ease-out; | |
| } | |
| .tab-content.active { | |
| display: block; | |
| } | |
| @keyframes fadeIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(20px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| /* Profile Cards */ | |
| .profile-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); | |
| gap: 2rem; | |
| margin-bottom: 2rem; | |
| } | |
| .profile-card { | |
| background: var(--card-bg); | |
| border-radius: 1rem; | |
| padding: 1.5rem; | |
| border: 1px solid var(--border-color); | |
| transition: all 0.3s; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .profile-card::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| height: 4px; | |
| background: var(--gradient-1); | |
| transform: scaleX(0); | |
| transition: transform 0.3s; | |
| } | |
| .profile-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); | |
| border-color: var(--primary-color); | |
| } | |
| .profile-card:hover::before { | |
| transform: scaleX(1); | |
| } | |
| .platform-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 1rem; | |
| margin-bottom: 1.5rem; | |
| } | |
| .platform-icon { | |
| width: 50px; | |
| height: 50px; | |
| border-radius: 0.75rem; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.5rem; | |
| color: white; | |
| } | |
| .platform-icon.facebook { background: linear-gradient(135deg, #1877f2, #0c5dd8); } | |
| .platform-icon.twitter { background: linear-gradient(135deg, #1da1f2, #0c85d0); } | |
| .platform-icon.instagram { background: linear-gradient(135deg, #e4405f, #c13584, #833ab4); } | |
| .platform-info h3 { | |
| font-size: 1.25rem; | |
| margin-bottom: 0.25rem; | |
| } | |
| .platform-info p { | |
| color: var(--text-secondary); | |
| font-size: 0.9rem; | |
| } | |
| /* Stats Grid */ | |
| .stats-grid { | |
| display: grid; | |
| grid-template-columns: repeat(2, 1fr); | |
| gap: 1rem; | |
| margin-bottom: 1.5rem; | |
| } | |
| .stat-item { | |
| background: rgba(99, 102, 241, 0.1); | |
| padding: 1rem; | |
| border-radius: 0.5rem; | |
| border: 1px solid rgba(99, 102, 241, 0.2); | |
| } | |
| .stat-label { | |
| color: var(--text-secondary); | |
| font-size: 0.85rem; | |
| margin-bottom: 0.25rem; | |
| } | |
| .stat-value { | |
| font-size: 1.5rem; | |
| font-weight: bold; | |
| background: var(--gradient-1); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| /* Activity Chart */ | |
| .activity-chart { | |
| background: rgba(30, 41, 59, 0.5); | |
| padding: 1rem; | |
| border-radius: 0.5rem; | |
| margin-top: 1rem; | |
| } | |
| .chart-bars { | |
| display: flex; | |
| align-items: flex-end; | |
| justify-content: space-between; | |
| height: 80px; | |
| gap: 0.25rem; | |
| } | |
| .chart-bar { | |
| flex: 1; | |
| background: var(--gradient-1); | |
| border-radius: 0.25rem 0.25rem 0 0; | |
| transition: all 0.3s; | |
| cursor: pointer; | |
| position: relative; | |
| } | |
| .chart-bar:hover { | |
| opacity: 0.8; | |
| transform: scaleY(1.05); | |
| } | |
| .chart-bar::after { | |
| content: attr(data-day); | |
| position: absolute; | |
| bottom: -20px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| font-size: 0.7rem; | |
| color: var(--text-secondary); | |
| } | |
| /* Analysis Section */ | |
| .analysis-section { | |
| background: var(--card-bg); | |
| border-radius: 1rem; | |
| padding: 2rem; | |
| margin-top: 2rem; | |
| border: 1px solid var(--border-color); | |
| } | |
| .analysis-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 1rem; | |
| margin-bottom: 2rem; | |
| } | |
| .analysis-header i { | |
| font-size: 2rem; | |
| color: var(--primary-color); | |
| } | |
| .insights-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 1.5rem; | |
| } | |
| .insight-card { | |
| background: rgba(99, 102, 241, 0.05); | |
| padding: 1.5rem; | |
| border-radius: 0.75rem; | |
| border: 1px solid rgba(99, 102, 241, 0.2); | |
| transition: all 0.3s; | |
| } | |
| .insight-card:hover { | |
| background: rgba(99, 102, 241, 0.1); | |
| transform: translateX(5px); | |
| } | |
| .insight-icon { | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 0.5rem; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| margin-bottom: 1rem; | |
| font-size: 1.25rem; | |
| } | |
| .insight-icon.engagement { background: rgba(16, 185, 129, 0.2); color: var(--success-color); } | |
| .insight-icon.audience { background: rgba(245, 158, 11, 0.2); color: var(--warning-color); } | |
| .insight-icon.content { background: rgba(239, 68, 68, 0.2); color: var(--danger-color); } | |
| .insight-icon.growth { background: rgba(99, 102, 241, 0.2); color: var(--primary-color); } | |
| /* Input Section */ | |
| .input-section { | |
| background: var(--card-bg); | |
| border-radius: 1rem; | |
| padding: 2rem; | |
| margin-bottom: 2rem; | |
| border: 1px solid var(--border-color); | |
| } | |
| .input-group { | |
| display: flex; | |
| gap: 1rem; | |
| margin-bottom: 1rem; | |
| } | |
| .url-input { | |
| flex: 1; | |
| padding: 0.75rem 1rem; | |
| background: rgba(30, 41, 59, 0.5); | |
| border: 1px solid var(--border-color); | |
| border-radius: 0.5rem; | |
| color: var(--text-primary); | |
| font-size: 1rem; | |
| transition: all 0.3s; | |
| } | |
| .url-input:focus { | |
| outline: none; | |
| border-color: var(--primary-color); | |
| box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); | |
| } | |
| .analyze-btn { | |
| padding: 0.75rem 2rem; | |
| background: var(--gradient-1); | |
| color: white; | |
| border: none; | |
| border-radius: 0.5rem; | |
| font-size: 1rem; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.3s; | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| } | |
| .analyze-btn:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4); | |
| } | |
| .analyze-btn:active { | |
| transform: translateY(0); | |
| } | |
| /* Educational Content */ | |
| .edu-section { | |
| background: var(--card-bg); | |
| border-radius: 1rem; | |
| padding: 2rem; | |
| margin-bottom: 2rem; | |
| border: 1px solid var(--border-color); | |
| } | |
| .edu-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
| gap: 2rem; | |
| margin-top: 2rem; | |
| } | |
| .edu-card { | |
| background: rgba(99, 102, 241, 0.05); | |
| padding: 1.5rem; | |
| border-radius: 0.75rem; | |
| border: 1px solid rgba(99, 102, 241, 0.1); | |
| transition: all 0.3s; | |
| } | |
| .edu-card:hover { | |
| background: rgba(99, 102, 241, 0.1); | |
| transform: translateY(-5px); | |
| } | |
| .edu-number { | |
| width: 40px; | |
| height: 40px; | |
| background: var(--gradient-1); | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-weight: bold; | |
| margin-bottom: 1rem; | |
| } | |
| /* Progress Bars */ | |
| .progress-bar-container { | |
| margin: 1rem 0; | |
| } | |
| .progress-label { | |
| display: flex; | |
| justify-content: space-between; | |
| margin-bottom: 0.5rem; | |
| font-size: 0.9rem; | |
| } | |
| .progress-bar { | |
| height: 8px; | |
| background: rgba(99, 102, 241, 0.1); | |
| border-radius: 4px; | |
| overflow: hidden; | |
| } | |
| .progress-fill { | |
| height: 100%; | |
| background: var(--gradient-1); | |
| border-radius: 4px; | |
| transition: width 1s ease-out; | |
| } | |
| /* Loading Animation */ | |
| .loading { | |
| display: none; | |
| text-align: center; | |
| padding: 2rem; | |
| } | |
| .loading.active { | |
| display: block; | |
| } | |
| .spinner { | |
| width: 50px; | |
| height: 50px; | |
| border: 3px solid var(--border-color); | |
| border-top-color: var(--primary-color); | |
| border-radius: 50%; | |
| animation: spin 1s linear infinite; | |
| margin: 0 auto 1rem; | |
| } | |
| @keyframes spin { | |
| to { transform: rotate(360deg); } | |
| } | |
| /* Tooltip */ | |
| .tooltip { | |
| position: relative; | |
| display: inline-block; | |
| } | |
| .tooltip .tooltiptext { | |
| visibility: hidden; | |
| width: 200px; | |
| background-color: var(--dark-bg); | |
| color: var(--text-primary); | |
| text-align: center; | |
| border-radius: 0.5rem; | |
| padding: 0.5rem; | |
| position: absolute; | |
| z-index: 1; | |
| bottom: 125%; | |
| left: 50%; | |
| margin-left: -100px; | |
| opacity: 0; | |
| transition: opacity 0.3s; | |
| font-size: 0.85rem; | |
| border: 1px solid var(--border-color); | |
| } | |
| .tooltip:hover .tooltiptext { | |
| visibility: visible; | |
| opacity: 1; | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| .header-container { | |
| flex-direction: column; | |
| gap: 1rem; | |
| } | |
| .profile-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .stats-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .input-group { | |
| flex-direction: column; | |
| } | |
| .insights-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .nav-tabs { | |
| padding: 1rem; | |
| } | |
| .tab-btn { | |
| padding: 0.5rem 1rem; | |
| font-size: 0.85rem; | |
| } | |
| } | |
| /* Notification */ | |
| .notification { | |
| position: fixed; | |
| top: 100px; | |
| right: 20px; | |
| background: var(--card-bg); | |
| border: 1px solid var(--primary-color); | |
| border-radius: 0.5rem; | |
| padding: 1rem 1.5rem; | |
| display: none; | |
| align-items: center; | |
| gap: 1rem; | |
| animation: slideIn 0.3s ease-out; | |
| z-index: 1000; | |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); | |
| } | |
| .notification.show { | |
| display: flex; | |
| } | |
| .notification.success { | |
| border-color: var(--success-color); | |
| } | |
| .notification.error { | |
| border-color: var(--danger-color); | |
| } | |
| @keyframes slideIn { | |
| from { | |
| transform: translateX(100%); | |
| opacity: 0; | |
| } | |
| to { | |
| transform: translateX(0); | |
| opacity: 1; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="bg-animation"></div> | |
| <header> | |
| <div class="header-container"> | |
| <div class="logo"> | |
| <i class="fas fa-chart-line"></i> | |
| <span>Social Profile Analyzer</span> | |
| </div> | |
| <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" class="built-with"> | |
| Built with anycoder <i class="fas fa-external-link-alt"></i> | |
| </a> | |
| </div> | |
| </header> | |
| <nav class="nav-tabs"> | |
| <button class="tab-btn active" onclick="switchTab('dashboard')"> | |
| <i class="fas fa-tachometer-alt"></i> Dashboard | |
| </button> | |
| <button class="tab-btn" onclick="switchTab('analyze')"> | |
| <i class="fas fa-search"></i> Analyze | |
| </button> | |
| <button class="tab-btn" onclick="switchTab('educational')"> | |
| <i class="fas fa-graduation-cap"></i> Educational | |
| </button> | |
| <button class="tab-btn" onclick="switchTab('insights')"> | |
| <i class="fas fa-lightbulb"></i> Insights | |
| </button> | |
| </nav> | |
| <main class="container"> | |
| <!-- Dashboard Tab --> | |
| <div id="dashboard" class="tab-content active"> | |
| <div class="input-section"> | |
| <h2 style="margin-bottom: 1rem;">Quick Analysis</h2> | |
| <div class="input-group"> | |
| <input type="text" class="url-input" placeholder="Enter social media profile URL (e.g., https://facebook.com/username)" id="profileUrl"> | |
| <button class="analyze-btn" onclick="analyzeProfile()"> | |
| <i class="fas fa-search"></i> | |
| Analyze | |
| </button> | |
| </div> | |
| <div class="loading" id="loading"> | |
| <div class="spinner"></div> | |
| <p>Analyzing profile...</p> | |
| </div> | |
| </div> | |
| <div class="profile-grid"> | |
| <!-- Facebook Profile Card --> | |
| <div class="profile-card"> | |
| <div class="platform-header"> | |
| <div class="platform-icon facebook"> | |
| <i class="fab fa-facebook-f"></i> | |
| </div> | |
| <div class="platform-info"> | |
| <h3>Facebook</h3> | |
| <p>Sample Profile</p> | |
| </div> | |
| </div> | |
| <div class="stats-grid"> | |
| <div class="stat-item"> | |
| <div class="stat-label">Followers</div> | |
| <div class="stat-value">12.5K</div> | |
| </div> | |
| <div class="stat-item"> | |
| <div class="stat-label">Engagement</div> | |
| <div class="stat-value">8.2%</div> | |
| </div> | |
| <div class="stat-item"> | |
| <div class="stat-label">Posts</div> | |
| <div class="stat-value">342</div> | |
| </div> | |
| <div class="stat-item"> | |
| <div class="stat-label">Reach</div> | |
| <div class="stat-value">45.2K</div> | |
| </div> | |
| </div> | |
| <div class="activity-chart"> | |
| <h4 style="font-size: 0.9rem; margin-bottom: 1rem;">Weekly Activity</h4> | |
| <div class="chart-bars"> | |
| <div class="chart-bar" style="height: 60%" data-day="Mon"></div> | |
| <div class="chart-bar" style="height: 80%" data-day="Tue"></div> | |
| <div class="chart-bar" style="height: 40%" data-day="Wed"></div> | |
| <div class="chart-bar" style="height: 90%" data-day="Thu"></div> | |
| <div class="chart-bar" style="height: 70%" data-day="Fri"></div> | |
| <div class="chart-bar" style="height: 85%" data-day="Sat"></div> | |
| <div class="chart-bar" style="height: 50%" data-day="Sun"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Twitter Profile Card --> | |
| <div class="profile-card"> | |
| <div class="platform-header"> | |
| <div class="platform-icon twitter"> | |
| <i class="fab fa-twitter"></i> | |
| </div> | |
| <div class="platform-info"> | |
| <h3>Twitter</h3> | |
| <p>Sample Profile</p> | |
| </div> | |
| </div> | |
| <div class="stats-grid"> | |
| <div class="stat-item"> | |
| <div class="stat-label">Followers</div> | |
| <div class="stat-value">28.3K</div> | |
| </div> | |
| <div class="stat-item"> | |
| <div class="stat-label">Engagement</div> | |
| <div class="stat-value">12.5%</div> | |
| </div> | |
| <div class="stat-item"> | |
| <div class="stat-label">Tweets</div> | |
| <div class="stat-value">1,245</div> | |
| </div> | |
| <div class="stat-item"> | |
| <div class="stat-label">Impressions</div> | |
| <div class="stat-value">125K</div> | |
| </div> | |
| </div> | |
| <div class="activity-chart"> | |
| <h4 style="font-size: 0.9rem; margin-bottom: 1rem;">Weekly Activity</h4> | |
| <div class="chart-bars"> | |
| <div class="chart-bar" style="height: 70%; background: var(--gradient-2)" data-day="Mon"></div> | |
| <div class="chart-bar" style="height: 85%; background: var(--gradient-2)" data-day="Tue"></div> | |
| <div class="chart-bar" style="height: 60%; background: var(--gradient-2)" data-day="Wed"></div> | |
| <div class="chart-bar" style="height: 95%; background: var(--gradient-2)" data-day="Thu"></div> | |
| <div class="chart-bar" style="height: 80%; background: var(--gradient-2)" data-day="Fri"></div> | |
| <div class="chart-bar" style="height: 90%; background: var(--gradient-2)" data-day="Sat"></div> | |
| <div class="chart-bar" style="height: 65%; background: var(--gradient-2)" data-day="Sun"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Instagram Profile Card --> | |
| <div class="profile-card"> | |
| <div class="platform-header"> | |
| <div class="platform-icon instagram"> | |
| <i class="fab fa-instagram"></i> | |
| </div> | |
| <div class="platform-info"> | |
| <h3>Instagram</h3> | |
| <p>Sample Profile</p> | |
| </div> | |
| </div> | |
| <div class="stats-grid"> | |
| <div class="stat-item"> | |
| <div class="stat-label">Followers</div> | |
| <div class="stat-value">45.7K</div> | |
| </div> | |
| <div class="stat-item"> | |
| <div class="stat-label">Engagement</div> | |
| <div class="stat-value">6.8%</div> | |
| </div> | |
| <div class="stat-item"> | |
| <div class="stat-label">Posts</div> | |
| <div class="stat-value">528</div> | |
| </div> | |
| <div class="stat-item"> | |
| <div class="stat-label">Avg. Likes</div> | |
| <div class="stat-value">3.1K</div> | |
| </div> | |
| </div> | |
| <div class="activity-chart"> | |
| <h4 style="font-size: 0.9rem; margin-bottom: 1rem;">Weekly Activity</h4> | |
| <div class="chart-bars"> | |
| <div class="chart-bar" style="height: 55%; background: var(--gradient-3)" data-day="Mon"></div> | |
| <div class="chart-bar" style="height: 75%; background: var(--gradient-3)" data-day="Tue"></div> | |
| <div class="chart-bar" style="height: 85%; background: var(--gradient-3)" data-day="Wed"></div> | |
| <div class="chart-bar" style="height: 60%; background: var(--gradient-3)" data-day="Thu"></div> | |
| <div class="chart-bar" style="height: 90%; background: var(--gradient-3)" data-day="Fri"></div> | |
| <div class="chart-bar" style="height: 70%; background: var(--gradient-3)" data-day="Sat"></div> | |
| <div class="chart-bar" style="height: 80%; background: var(--gradient-3)" data-day="Sun"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="analysis-section"> | |
| <div class="analysis-header"> | |
| <i class="fas fa-chart-pie"></i> | |
| <div> | |
| <h2>Overall Analysis</h2> | |
| <p style="color: var(--text-secondary);">Combined performance across platforms</p> | |
| </div> | |
| </div> | |
| <div class="progress-bar-container"> | |
| <div class="progress-label"> | |
| <span>Profile Completeness</span> | |
| <span>85%</span> | |
| </div> | |
| <div class="progress-bar"> | |
| <div class="progress-fill" style="width: 85%"></div> | |
| </div> | |
| </div> | |
| <div class="progress-bar-container"> | |
| <div class="progress-label"> | |
| <span>Content Quality Score</span> | |
| <span>78%</span> | |
| </div> | |
| <div class="progress-bar"> | |
| <div class="progress-fill" style="width: 78%"></div> | |
| </div> | |
| </div> | |
| <div class="progress-bar-container"> | |
| <div class="progress-label"> | |
| <span>Audience Engagement</span> | |
| <span>92%</span> | |
| </div> | |
| <div class="progress-bar"> | |
| <div class="progress-fill" style="width: 92%"></div> | |
| </div> | |
| </div> | |
| <div class="progress-bar-container"> | |
| <div class="progress-label"> | |
| <span>Growth Potential</span> | |
| <span>67%</span> | |
| </div> | |
| <div class="progress-bar"> | |
| <div class="progress-fill" style="width: 67%"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Analyze Tab --> | |
| <div id="analyze" class="tab-content"> | |
| <div class="edu-section"> | |
| <h2 style="margin-bottom: 1rem;">Profile Analysis Tool</h2> | |
| <p style="color: var(--text-secondary); margin-bottom: 2rem;"> | |
| Enter a social media profile URL to get detailed analytics and insights about the account's performance. | |
| </p> | |
| <div class="input-group"> | |
| <input type="text" class="url-input" placeholder="https://facebook.com/username" id="analyzeUrl"> | |
| <button class="analyze-btn" onclick="startAnalysis()"> | |
| <i class="fas fa-microscope"></i> | |
| Start Analysis | |
| </button> | |
| </div> | |
| <div style="margin-top: 2rem;"> | |
| <h3 style="margin-bottom: 1rem;">Supported Platforms</h3> | |
| <div style="display: flex; gap: 1rem; flex-wrap: wrap;"> | |
| <div style="background: rgba(99, 102, 241, 0.1); padding: 0.75rem 1.5rem; border-radius: 0.5rem; border: 1px solid var(--border-color);"> | |
| <i class="fab fa-facebook" style="color: #1877f2; margin-right: 0.5rem;"></i> | |
| </div> | |
| <div style="background: rgba(99, 102, 241, 0.1); padding: 0.75rem 1.5rem; border-radius: 0.5rem; border: 1px solid var(--border-color);"> | |
| <i class="fab fa-twitter" style="color: #1da1f2; margin-right: 0.5rem;"></i> | |
| </div> | |
| <div style="background: rgba(99, 102, 241, 0.1); padding: 0.75rem 1.5rem; border-radius: 0.5rem; border: 1px solid var(--border-color);"> | |
| <i class="fab fa-instagram" style="color: #e4405f; margin-right: 0.5rem;"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="analysis-section" style="margin-top: 2rem;"> | |
| <h3 style="margin-bottom: 1.5rem;">Analysis Features</h3> | |
| <div class="insights-grid"> | |
| <div class="insight-card"> | |
| <div class="insight-icon engagement"> | |
| <i class="fas fa-heart"></i> | |
| </div> | |
| <h4>Engagement Rate</h4> | |
| <p style="color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.5rem;"> | |
| Calculate likes, comments, shares ratio to followers | |
| </p> | |
| </div> | |
| <div class="insight-card"> | |
| <div class="insight-icon audience"> | |
| <i class="fas fa-users"></i> | |
| </div> | |
| <h4>Audience Demographics</h4> | |
| <p style="color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.5rem;"> | |
| Analyze age groups, locations, and activity patterns | |
| </p> | |
| </div> | |
| <div class="insight-card"> | |
| <div class="insight-icon content"> | |
| <i class="fas fa-image"></i> | |
| </div> | |
| <h4>Content Performance</h4> | |
| <p style="color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.5rem;"> | |
| Track post types, timing, and best performing content | |
| </p> | |
| </div> | |
| <div class="insight-card"> | |
| <div class="insight-icon growth"> | |
| <i class="fas fa-chart-line"></i> | |
| </div> | |
| <h4>Growth Metrics</h4> | |
| <p style="color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.5rem;"> | |
| Monitor follower growth and reach over time | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Educational Tab --> | |
| <div id="educational" class="tab-content"> | |
| <div class="edu-section"> | |
| <h2 style="margin-bottom: 1rem;">Understanding Social Media Analytics</h2> | |
| <p style="color: var(--text-secondary); margin-bottom: 2rem;"> | |
| Learn how social media analytics work and what metrics matter most for profile performance. | |
| </p> | |
| <div class="edu-grid"> | |
| <div class="edu-card"> | |
| <div class="edu-number">1</div> | |
| <h3>Engagement Rate</h3> | |
| <p style="color: var(--text-secondary); margin-top: 1rem;"> | |
| Engagement rate measures how actively your audience interacts with your content. It's calculated as: | |
| </p> | |
| <div style="background: rgba(99, 102, 241, 0.1); padding: 1rem; border-radius: 0.5rem; margin-top: 1rem; font-family: monospace;"> | |
| (Likes + Comments + Shares) ÷ Followers × 100 | |
| </div> | |
| <p style="color: var(--text-secondary); margin-top: 1rem; font-size: 0.9rem;"> | |
| Good engagement rates typically range from 1-5% for most platforms. | |
| </p> | |
| </div> | |
| <div class="edu-card"> | |
| <div class="edu-number">2</div> | |
| <h3>Reach vs Impressions</h3> | |
| <p style="color: var(--text-secondary); margin-top: 1rem;"> | |
| <strong>Reach:</strong> Number of unique users who saw your content<br> | |
| <strong>Impressions:</strong> Total number of times your content was displayed | |
| </p> | |
| <div style="background: rgba(99, 102, 241 |