transformered commited on
Commit
0c32f5f
·
verified ·
1 Parent(s): 75d2a1d

Initial DeepSite commit

Browse files
Files changed (2) hide show
  1. README.md +9 -6
  2. index.html +528 -19
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Deepsite Project 4sn6v
3
- emoji: 🦀
4
- colorFrom: indigo
5
- colorTo: pink
6
  sdk: static
7
- pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
1
  ---
2
+ title: DeepSite Project
3
+ colorFrom: green
4
+ colorTo: red
 
5
  sdk: static
6
+ emoji: 📱
7
+ tags:
8
+ - deepsite-v4
9
  ---
10
 
11
+ # DeepSite Project
12
+
13
+ This project has been created with [DeepSite](https://deepsite.hf.co) AI Vibe Coding.
index.html CHANGED
@@ -1,19 +1,528 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en" dir="ltr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Modern Analytics Dashboard 📊</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <script src="https://unpkg.com/lucide@latest"></script>
10
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
11
+ <style>
12
+ * {
13
+ font-family: 'Inter', sans-serif;
14
+ }
15
+ .gradient-bg {
16
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
17
+ }
18
+ .card-shadow {
19
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
20
+ }
21
+ .card-hover:hover {
22
+ transform: translateY(-5px);
23
+ transition: all 0.3s ease;
24
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
25
+ }
26
+ .chart-bar {
27
+ animation: growBar 1.5s ease-out forwards;
28
+ }
29
+ @keyframes growBar {
30
+ from { height: 0; }
31
+ }
32
+ .sidebar {
33
+ transition: all 0.3s ease;
34
+ }
35
+ @media (max-width: 768px) {
36
+ .sidebar {
37
+ transform: translateX(-100%);
38
+ }
39
+ .sidebar.active {
40
+ transform: translateX(0);
41
+ }
42
+ }
43
+ .progress-ring {
44
+ transform: rotate(-90deg);
45
+ }
46
+ .progress-ring__circle {
47
+ transition: stroke-dashoffset 0.35s;
48
+ transform-origin: 50% 50%;
49
+ }
50
+ </style>
51
+ </head>
52
+ <body class="bg-gray-50 text-gray-800 dark:bg-gray-900 dark:text-gray-200">
53
+ <!-- Mobile Menu Button -->
54
+ <button id="mobileMenuBtn" class="md:hidden fixed top-4 left-4 z-50 bg-white dark:bg-gray-800 p-3 rounded-full shadow-lg">
55
+ <i data-lucide="menu"></i>
56
+ </button>
57
+
58
+ <!-- Sidebar -->
59
+ <aside class="sidebar fixed inset-y-0 left-0 z-40 w-64 bg-white dark:bg-gray-900 border-r border-gray-200 dark:border-gray-800 overflow-y-auto">
60
+ <!-- Logo -->
61
+ <div class="p-6">
62
+ <div class="flex items-center space-x-3">
63
+ <div class="w-10 h-10 gradient-bg rounded-lg flex items-center justify-center">
64
+ <i data-lucide="bar-chart-3" class="text-white"></i>
65
+ </div>
66
+ <div>
67
+ <h1 class="text-xl font-bold text-gray-900 dark:text-white">AnalyticsPro</h1>
68
+ <p class="text-sm text-gray-500 dark:text-gray-400">Dashboard v2.1</p>
69
+ </div>
70
+ </div>
71
+ </div>
72
+
73
+ <!-- Navigation -->
74
+ <nav class="px-4 pb-6">
75
+ <div class="mb-8">
76
+ <h3 class="px-4 text-xs font-semibold text-gray-500 dark:text-gray-400 uppercase tracking-wider mb-3">Main</h3>
77
+ <ul>
78
+ <li>
79
+ <a href="#" class="flex items-center space-x-3 px-4 py-3 rounded-lg text-blue-600 dark:text-blue-400 bg-blue-50 dark:bg-blue-900/30 mb-2">
80
+ <i data-lucide="home"></i>
81
+ <span>Dashboard</span>
82
+ </a>
83
+ </li>
84
+ <li>
85
+ <a href="#" class="flex items-center space-x-3 px-4 py-3 rounded-lg text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 mb-2">
86
+ <i data-lucide="trending-up"></i>
87
+ <span>Analytics</span>
88
+ </a>
89
+ </li>
90
+ <li>
91
+ <a href="#" class="flex items-center space-x-3 px-4 py-3 rounded-lg text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 mb-2">
92
+ <i data-lucide="users"></i>
93
+ <span>Users</span>
94
+ </a>
95
+ </li>
96
+ <li>
97
+ <a href="#" class="flex items-center space-x-3 px-4 py-3 rounded-lg text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 mb-2">
98
+ <i data-lucide="settings"></i>
99
+ <span>Settings</span>
100
+ </a>
101
+ </li>
102
+ </ul>
103
+ </div>
104
+
105
+ <div class="mb-8">
106
+ <h3 class="px-4 text-xs font-semibold text-gray-500 dark:text-gray-400 uppercase tracking-wider mb-3">Tools</h3>
107
+ <ul>
108
+ <li>
109
+ <a href="#" class="flex items-center space-x-3 px-4 py-3 rounded-lg text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 mb-2">
110
+ <i data-lucide="file-text"></i>
111
+ <span>Reports</span>
112
+ </a>
113
+ </li>
114
+ <li>
115
+ <a href="#" class="flex items-center space-x-3 px-4 py-3 rounded-lg text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 mb-2">
116
+ <i data-lucide="bell"></i>
117
+ <span>Notifications</span>
118
+ <span class="ml-auto bg-red-500 text-white text-xs px-2 py-1 rounded-full">3</span>
119
+ </a>
120
+ </li>
121
+ </ul>
122
+ </div>
123
+ </nav>
124
+
125
+ <!-- User Profile -->
126
+ <div class="px-4 mt-auto">
127
+ <div class="flex items-center space-x-3 p-4 bg-gray-50 dark:bg-gray-800 rounded-lg">
128
+ <div class="w-10 h-10 bg-gradient-to-r from-blue-500 to-purple-500 rounded-full flex items-center justify-center">
129
+ <span class="text-white font-semibold">JD</span>
130
+ </div>
131
+ <div class="flex-1">
132
+ <h4 class="font-medium text-gray-900 dark:text-white">John Doe</h4>
133
+ <p class="text-sm text-gray-500 dark:text-gray-400">Admin</p>
134
+ </div>
135
+ <button class="p-2 hover:bg-gray-200 dark:hover:bg-gray-700 rounded-lg">
136
+ <i data-lucide="log-out"></i>
137
+ </button>
138
+ </div>
139
+ </div>
140
+ </aside>
141
+
142
+ <!-- Main Content -->
143
+ <main class="md:ml-64 p-4 md:p-6">
144
+ <!-- Header -->
145
+ <header class="mb-8">
146
+ <div class="flex flex-col md:flex-row md:items-center justify-between">
147
+ <div>
148
+ <h1 class="text-2xl md:text-3xl font-bold text-gray-900 dark:text-white">Dashboard Overview</h1>
149
+ <p class="text-gray-600 dark:text-gray-400 mt-2">Welcome back! Here's what's happening with your analytics today.</p>
150
+ </div>
151
+ <div class="mt-4 md:mt-0 flex items-center space-x-4">
152
+ <div class="relative">
153
+ <i data-lucide="search" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
154
+ <input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 border border-gray-300 dark:border-gray-700 rounded-lg bg-white dark:bg-gray-800 focus:outline-none focus:ring-2 focus:ring-blue-500">
155
+ </div>
156
+ <button class="p-2 bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-700 rounded-lg">
157
+ <i data-lucide="bell"></i>
158
+ </button>
159
+ </div>
160
+ </div>
161
+ </header>
162
+
163
+ <!-- Stats Cards -->
164
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
165
+ <div class="bg-white dark:bg-gray-800 rounded-xl p-6 card-shadow card-hover">
166
+ <div class="flex items-center justify-between">
167
+ <div>
168
+ <p class="text-gray-500 dark:text-gray-400 text-sm font-medium">Total Revenue</p>
169
+ <h3 class="text-2xl font-bold text-gray-900 dark:text-white mt-2">$45,231</h3>
170
+ <p class="text-green-500 text-sm mt-1 flex items-center">
171
+ <i data-lucide="trending-up" class="w-4 h-4 mr-1"></i>
172
+ +20.1% from last month
173
+ </p>
174
+ </div>
175
+ <div class="w-12 h-12 bg-blue-100 dark:bg-blue-900/30 rounded-lg flex items-center justify-center">
176
+ <i data-lucide="dollar-sign" class="text-blue-600 dark:text-blue-400"></i>
177
+ </div>
178
+ </div>
179
+ </div>
180
+
181
+ <div class="bg-white dark:bg-gray-800 rounded-xl p-6 card-shadow card-hover">
182
+ <div class="flex items-center justify-between">
183
+ <div>
184
+ <p class="text-gray-500 dark:text-gray-400 text-sm font-medium">Active Users</p>
185
+ <h3 class="text-2xl font-bold text-gray-900 dark:text-white mt-2">2,543</h3>
186
+ <p class="text-green-500 text-sm mt-1 flex items-center">
187
+ <i data-lucide="trending-up" class="w-4 h-4 mr-1"></i>
188
+ +12.5% from last week
189
+ </p>
190
+ </div>
191
+ <div class="w-12 h-12 bg-green-100 dark:bg-green-900/30 rounded-lg flex items-center justify-center">
192
+ <i data-lucide="users" class="text-green-600 dark:text-green-400"></i>
193
+ </div>
194
+ </div>
195
+ </div>
196
+
197
+ <div class="bg-white dark:bg-gray-800 rounded-xl p-6 card-shadow card-hover">
198
+ <div class="flex items-center justify-between">
199
+ <div>
200
+ <p class="text-gray-500 dark:text-gray-400 text-sm font-medium">Conversion Rate</p>
201
+ <h3 class="text-2xl font-bold text-gray-900 dark:text-white mt-2">3.24%</h3>
202
+ <p class="text-red-500 text-sm mt-1 flex items-center">
203
+ <i data-lucide="trending-down" class="w-4 h-4 mr-1"></i>
204
+ -1.2% from yesterday
205
+ </p>
206
+ </div>
207
+ <div class="w-12 h-12 bg-purple-100 dark:bg-purple-900/30 rounded-lg flex items-center justify-center">
208
+ <i data-lucide="refresh-cw" class="text-purple-600 dark:text-purple-400"></i>
209
+ </div>
210
+ </div>
211
+ </div>
212
+
213
+ <div class="bg-white dark:bg-gray-800 rounded-xl p-6 card-shadow card-hover">
214
+ <div class="flex items-center justify-between">
215
+ <div>
216
+ <p class="text-gray-500 dark:text-gray-400 text-sm font-medium">Avg. Session</p>
217
+ <h3 class="text-2xl font-bold text-gray-900 dark:text-white mt-2">4m 32s</h3>
218
+ <p class="text-green-500 text-sm mt-1 flex items-center">
219
+ <i data-lucide="trending-up" class="w-4 h-4 mr-1"></i>
220
+ +8.7% from last month
221
+ </p>
222
+ </div>
223
+ <div class="w-12 h-12 bg-orange-100 dark:bg-orange-900/30 rounded-lg flex items-center justify-center">
224
+ <i data-lucide="clock" class="text-orange-600 dark:text-orange-400"></i>
225
+ </div>
226
+ </div>
227
+ </div>
228
+ </div>
229
+
230
+ <!-- Charts Section -->
231
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-8 mb-8">
232
+ <!-- Line Chart -->
233
+ <div class="bg-white dark:bg-gray-800 rounded-xl p-6 card-shadow">
234
+ <div class="flex items-center justify-between mb-6">
235
+ <h3 class="text-lg font-semibold text-gray-900 dark:text-white">Revenue Overview</h3>
236
+ <select class="border border-gray-300 dark:border-gray-700 rounded-lg px-3 py-1 bg-white dark:bg-gray-800 text-sm">
237
+ <option>Last 7 days</option>
238
+ <option>Last 30 days</option>
239
+ <option>Last 90 days</option>
240
+ </select>
241
+ </div>
242
+ <div class="h-64">
243
+ <canvas id="revenueChart"></canvas>
244
+ </div>
245
+ </div>
246
+
247
+ <!-- Donut Chart -->
248
+ <div class="bg-white dark:bg-gray-800 rounded-xl p-6 card-shadow">
249
+ <div class="flex items-center justify-between mb-6">
250
+ <h3 class="text-lg font-semibold text-gray-900 dark:text-white">Traffic Sources</h3>
251
+ <select class="border border-gray-300 dark:border-gray-700 rounded-lg px-3 py-1 bg-white dark:bg-gray-800 text-sm">
252
+ <option>This month</option>
253
+ <option>Last month</option>
254
+ </select>
255
+ </div>
256
+ <div class="h-64">
257
+ <canvas id="trafficChart"></canvas>
258
+ </div>
259
+ </div>
260
+ </div>
261
+
262
+ <!-- Progress Charts (Inspired by MCI) -->
263
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
264
+ <div class="bg-white dark:bg-gray-800 rounded-xl p-6 card-shadow">
265
+ <h3 class="text-lg font-semibold text-gray-900 dark:text-white mb-4 text-center">Call Package</h3>
266
+ <div class="relative mx-auto" style="width: 140px; height: 140px;">
267
+ <svg class="progress-ring" width="140" height="140">
268
+ <circle class="progress-ring__circle" stroke="#e5e7eb" stroke-width="10" fill="transparent" r="60" cx="70" cy="70"/>
269
+ <circle class="progress-ring__circle" stroke="#0095da" stroke-width="10" fill="transparent" r="60" cx="70" cy="70" stroke-dasharray="377" stroke-dashoffset="377"/>
270
+ </svg>
271
+ <div class="absolute inset-0 flex flex-col items-center justify-center">
272
+ <div class="text-2xl font-bold text-gray-900 dark:text-white">0 min</div>
273
+ <div class="text-sm text-gray-500 dark:text-gray-400 mt-1">No active package</div>
274
+ </div>
275
+ </div>
276
+ </div>
277
+
278
+ <div class="bg-white dark:bg-gray-800 rounded-xl p-6 card-shadow">
279
+ <h3 class="text-lg font-semibold text-gray-900 dark:text-white mb-4 text-center">Internet Package</h3>
280
+ <div class="relative mx-auto" style="width: 140px; height: 140px;">
281
+ <svg class="progress-ring" width="140" height="140">
282
+ <circle class="progress-ring__circle" stroke="#e5e7eb" stroke-width="10" fill="transparent" r="60" cx="70" cy="70"/>
283
+ <circle class="progress-ring__circle" stroke="#00AECD" stroke-width="10" fill="transparent" r="60" cx="70" cy="70" stroke-dasharray="377" stroke-dashoffset="113"/>
284
+ </svg>
285
+ <div class="absolute inset-0 flex flex-col items-center justify-center">
286
+ <div class="text-2xl font-bold text-gray-900 dark:text-white">53.26 GB</div>
287
+ <div class="text-xs text-gray-500 dark:text-gray-400 mt-1">remaining from</div>
288
+ <div class="text-sm font-semibold text-gray-900 dark:text-white">60.06 GB</div>
289
+ </div>
290
+ </div>
291
+ </div>
292
+
293
+ <div class="bg-white dark:bg-gray-800 rounded-xl p-6 card-shadow">
294
+ <h3 class="text-lg font-semibold text-gray-900 dark:text-white mb-4 text-center">SMS Package</h3>
295
+ <div class="relative mx-auto" style="width: 140px; height: 140px;">
296
+ <svg class="progress-ring" width="140" height="140">
297
+ <circle class="progress-ring__circle" stroke="#e5e7eb" stroke-width="10" fill="transparent" r="60" cx="70" cy="70"/>
298
+ <circle class="progress-ring__circle" stroke="#ff4f00" stroke-width="10" fill="transparent" r="60" cx="70" cy="70" stroke-dasharray="377" stroke-dashoffset="377"/>
299
+ </svg>
300
+ <div class="absolute inset-0 flex flex-col items-center justify-center">
301
+ <div class="text-2xl font-bold text-gray-900 dark:text-white">0 SMS</div>
302
+ <div class="text-sm text-gray-500 dark:text-gray-400 mt-1">No active package</div>
303
+ </div>
304
+ </div>
305
+ </div>
306
+ </div>
307
+
308
+ <!-- Quick Actions (Inspired by MCI Tools) -->
309
+ <div class="bg-white dark:bg-gray-800 rounded-xl p-6 card-shadow mb-8">
310
+ <h3 class="text-lg font-semibold text-gray-900 dark:text-white mb-6">Quick Actions</h3>
311
+ <div class="grid grid-cols-2 md:grid-cols-5 gap-4">
312
+ <a href="#" class="flex flex-col items-center p-4 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors">
313
+ <div class="w-12 h-12 bg-gradient-to-tr from-[#F76B1C] to-[#FAD961] rounded-full flex items-center justify-center mb-3">
314
+ <i data-lucide="refresh-cw" class="text-white"></i>
315
+ </div>
316
+ <span class="text-sm font-medium text-gray-900 dark:text-white text-center">Convert to Permanent</span>
317
+ </a>
318
+ <a href="#" class="flex flex-col items-center p-4 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors">
319
+ <div class="w-12 h-12 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-3">
320
+ <i data-lucide="wifi" class="text-gray-600 dark:text-gray-400"></i>
321
+ </div>
322
+ <span class="text-sm font-medium text-gray-900 dark:text-white text-center">Internet</span>
323
+ </a>
324
+ <a href="#" class="flex flex-col items-center p-4 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors">
325
+ <div class="w-12 h-12 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-3">
326
+ <i data-lucide="zap" class="text-gray-600 dark:text-gray-400"></i>
327
+ </div>
328
+ <span class="text-sm font-medium text-gray-900 dark:text-white text-center">Suggested</span>
329
+ </a>
330
+ <a href="#" class="flex flex-col items-center p-4 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors">
331
+ <div class="w-12 h-12 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-3">
332
+ <i data-lucide="gift" class="text-gray-600 dark:text-gray-400"></i>
333
+ </div>
334
+ <span class="text-sm font-medium text-gray-900 dark:text-white text-center">Incentive</span>
335
+ </a>
336
+ <a href="#" class="flex flex-col items-center p-4 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors">
337
+ <div class="w-12 h-12 bg-gray-100 dark:bg-gray-700 rounded-full flex items-center justify-center mb-3">
338
+ <i data-lucide="credit-card" class="text-gray-600 dark:text-gray-400"></i>
339
+ </div>
340
+ <span class="text-sm font-medium text-gray-900 dark:text-white text-center">Wallet</span>
341
+ </a>
342
+ </div>
343
+ </div>
344
+
345
+ <!-- Recent Activity -->
346
+ <div class="bg-white dark:bg-gray-800 rounded-xl p-6 card-shadow">
347
+ <div class="flex items-center justify-between mb-6">
348
+ <h3 class="text-lg font-semibold text-gray-900 dark:text-white">Recent Activity</h3>
349
+ <a href="#" class="text-blue-600 dark:text-blue-400 text-sm font-medium">View all</a>
350
+ </div>
351
+ <div class="space-y-4">
352
+ <div class="flex items-center p-4 rounded-lg border border-gray-200 dark:border-gray-700">
353
+ <div class="w-10 h-10 bg-blue-100 dark:bg-blue-900/30 rounded-lg flex items-center justify-center mr-4">
354
+ <i data-lucide="user-plus" class="text-blue-600 dark:text-blue-400"></i>
355
+ </div>
356
+ <div class="flex-1">
357
+ <h4 class="font-medium text-gray-900 dark:text-white">New user registered</h4>
358
+ <p class="text-sm text-gray-500 dark:text-gray-400">John Doe joined the platform</p>
359
+ </div>
360
+ <span class="text-sm text-gray-500 dark:text-gray-400">2 min ago</span>
361
+ </div>
362
+ <div class="flex items-center p-4 rounded-lg border border-gray-200 dark:border-gray-700">
363
+ <div class="w-10 h-10 bg-green-100 dark:bg-green-900/30 rounded-lg flex items-center justify-center mr-4">
364
+ <i data-lucide="shopping-cart" class="text-green-600 dark:text-green-400"></i>
365
+ </div>
366
+ <div class="flex-1">
367
+ <h4 class="font-medium text-gray-900 dark:text-white">New order placed</h4>
368
+ <p class="text-sm text-gray-500 dark:text-gray-400">Order #ORD-7890 was placed</p>
369
+ </div>
370
+ <span class="text-sm text-gray-500 dark:text-gray-400">1 hour ago</span>
371
+ </div>
372
+ <div class="flex items-center p-4 rounded-lg border border-gray-200 dark:border-gray-700">
373
+ <div class="w-10 h-10 bg-purple-100 dark:bg-purple-900/30 rounded-lg flex items-center justify-center mr-4">
374
+ <i data-lucide="file-text" class="text-purple-600 dark:text-purple-400"></i>
375
+ </div>
376
+ <div class="flex-1">
377
+ <h4 class="font-medium text-gray-900 dark:text-white">Report generated</h4>
378
+ <p class="text-sm text-gray-500 dark:text-gray-400">Monthly sales report ready</p>
379
+ </div>
380
+ <span class="text-sm text-gray-500 dark:text-gray-400">3 hours ago</span>
381
+ </div>
382
+ </div>
383
+ </div>
384
+ </main>
385
+
386
+ <!-- Footer -->
387
+ <footer class="md:ml-64 p-4 border-t border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-900">
388
+ <div class="flex flex-col md:flex-row justify-between items-center">
389
+ <div class="text-gray-600 dark:text-gray-400 text-sm mb-4 md:mb-0">
390
+ © 2024 AnalyticsPro. All rights reserved.
391
+ </div>
392
+ <div class="flex items-center space-x-6">
393
+ <a href="#" class="text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white">
394
+ <i data-lucide="help-circle"></i>
395
+ </a>
396
+ <a href="#" class="text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white">
397
+ <i data-lucide="settings"></i>
398
+ </a>
399
+ <a href="#" class="text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white">
400
+ <i data-lucide="mail"></i>
401
+ </a>
402
+ </div>
403
+ </div>
404
+ </footer>
405
+
406
+ <!-- JavaScript -->
407
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
408
+ <script>
409
+ // Initialize Lucide icons
410
+ lucide.createIcons();
411
+
412
+ // Mobile menu toggle
413
+ const mobileMenuBtn = document.getElementById('mobileMenuBtn');
414
+ const sidebar = document.querySelector('.sidebar');
415
+
416
+ mobileMenuBtn.addEventListener('click', () => {
417
+ sidebar.classList.toggle('active');
418
+ });
419
+
420
+ // Close sidebar when clicking outside on mobile
421
+ document.addEventListener('click', (event) => {
422
+ if (window.innerWidth < 768 && !sidebar.contains(event.target) && !mobileMenuBtn.contains(event.target)) {
423
+ sidebar.classList.remove('active');
424
+ }
425
+ });
426
+
427
+ // Initialize progress rings
428
+ function updateProgressRing(circle, percent) {
429
+ const radius = circle.r.baseVal.value;
430
+ const circumference = radius * 2 * Math.PI;
431
+ const offset = circumference - (percent / 100) * circumference;
432
+ circle.style.strokeDasharray = `${circumference} ${circumference}`;
433
+ circle.style.strokeDashoffset = offset;
434
+ }
435
+
436
+ // Update progress rings
437
+ document.querySelectorAll('.progress-ring__circle').forEach((circle, index) => {
438
+ if (index === 1) { // Internet package - 88.7% used (11.3% remaining)
439
+ updateProgressRing(circle, 88.7);
440
+ } else if (index === 2) { // SMS package - 0%
441
+ updateProgressRing(circle, 0);
442
+ } else { // Call package - 0%
443
+ updateProgressRing(circle, 0);
444
+ }
445
+ });
446
+
447
+ // Initialize charts
448
+ const ctx1 = document.getElementById('revenueChart').getContext('2d');
449
+ const revenueChart = new Chart(ctx1, {
450
+ type: 'line',
451
+ data: {
452
+ labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'],
453
+ datasets: [{
454
+ label: 'Revenue',
455
+ data: [3000, 4200, 3800, 5100, 4900, 6200, 7000],
456
+ borderColor: '#0095da',
457
+ backgroundColor: 'rgba(0, 149, 218, 0.1)',
458
+ borderWidth: 2,
459
+ fill: true,
460
+ tension: 0.4
461
+ }]
462
+ },
463
+ options: {
464
+ responsive: true,
465
+ maintainAspectRatio: false,
466
+ plugins: {
467
+ legend: {
468
+ display: false
469
+ }
470
+ },
471
+ scales: {
472
+ y: {
473
+ beginAtZero: true,
474
+ grid: {
475
+ color: 'rgba(0, 0, 0, 0.05)'
476
+ }
477
+ },
478
+ x: {
479
+ grid: {
480
+ display: false
481
+ }
482
+ }
483
+ }
484
+ }
485
+ });
486
+
487
+ const ctx2 = document.getElementById('trafficChart').getContext('2d');
488
+ const trafficChart = new Chart(ctx2, {
489
+ type: 'doughnut',
490
+ data: {
491
+ labels: ['Direct', 'Social', 'Referral', 'Email', 'Search'],
492
+ datasets: [{
493
+ data: [35, 25, 20, 12, 8],
494
+ backgroundColor: [
495
+ '#0095da',
496
+ '#ff4f00',
497
+ '#00AECD',
498
+ '#764ba2',
499
+ '#667eea'
500
+ ],
501
+ borderWidth: 0
502
+ }]
503
+ },
504
+ options: {
505
+ responsive: true,
506
+ maintainAspectRatio: false,
507
+ plugins: {
508
+ legend: {
509
+ position: 'bottom'
510
+ }
511
+ }
512
+ }
513
+ });
514
+
515
+ // Dark mode toggle (simple implementation)
516
+ const darkModeToggle = document.createElement('button');
517
+ darkModeToggle.className = 'fixed bottom-4 right-4 z-50 bg-gray-800 text-white p-3 rounded-full shadow-lg';
518
+ darkModeToggle.innerHTML = '<i data-lucide="moon"></i>';
519
+ document.body.appendChild(darkModeToggle);
520
+
521
+ darkModeToggle.addEventListener('click', () => {
522
+ document.documentElement.classList.toggle('dark');
523
+ lucide.createIcons(); // Refresh icons
524
+ });
525
+ </script>
526
+ <script src="https://deepsite.hf.co/deepsite-badge.js"></script>
527
+ </body>
528
+ </html>