File size: 2,891 Bytes
744bca2 | 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 | <!DOCTYPE html>
<html lang="en" class="h-full">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PulseFaker Analytics</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#6366f1',
secondary: '#8b5cf6',
}
}
}
}
</script>
</head>
<body class="bg-gray-50 dark:bg-gray-900 text-gray-900 dark:text-gray-100 h-full transition-colors duration-300">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-8">
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
<metrics-card title="Active Users" icon="users" value="0" change="0" color="primary"></metrics-card>
<metrics-card title="Conversion Rate" icon="trending-up" value="0" change="0" color="secondary"></metrics-card>
<metrics-card title="API Latency" icon="clock" value="0" change="0" color="primary"></metrics-card>
<metrics-card title="Revenue Today" icon="dollar-sign" value="0" change="0" color="secondary"></metrics-card>
</div>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
<div class="bg-white dark:bg-gray-800 rounded-xl shadow p-6">
<h3 class="text-lg font-semibold mb-4">User Growth</h3>
<canvas id="userChart" height="300"></canvas>
</div>
<div class="bg-white dark:bg-gray-800 rounded-xl shadow p-6">
<h3 class="text-lg font-semibold mb-4">Revenue Sources</h3>
<canvas id="revenueChart" height="300"></canvas>
</div>
<div class="bg-white dark:bg-gray-800 rounded-xl shadow p-6">
<h3 class="text-lg font-semibold mb-4">Performance Metrics</h3>
<canvas id="performanceChart" height="300"></canvas>
</div>
<div class="bg-white dark:bg-gray-800 rounded-xl shadow p-6">
<h3 class="text-lg font-semibold mb-4">Activity Timeline</h3>
<canvas id="activityChart" height="300"></canvas>
</div>
</div>
</main>
<script src="components/navbar.js"></script>
<script src="components/metrics-card.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html> |