DatPro commited on
Commit
cf55431
·
verified ·
1 Parent(s): 5351022

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +545 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Sales
3
- emoji: 🐨
4
- colorFrom: purple
5
- colorTo: gray
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: sales
3
+ emoji: 🐳
4
+ colorFrom: blue
5
+ colorTo: blue
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,545 @@
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="vi">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Multi-Platform Sales Management</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
+ <style>
10
+ .sidebar {
11
+ transition: all 0.3s ease;
12
+ }
13
+ .dashboard-card:hover {
14
+ transform: translateY(-5px);
15
+ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
16
+ }
17
+ .platform-icon {
18
+ width: 40px;
19
+ height: 40px;
20
+ border-radius: 50%;
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: center;
24
+ color: white;
25
+ font-size: 20px;
26
+ }
27
+ .chart-container {
28
+ position: relative;
29
+ height: 300px;
30
+ }
31
+ .notification-badge {
32
+ position: absolute;
33
+ top: -5px;
34
+ right: -5px;
35
+ width: 20px;
36
+ height: 20px;
37
+ border-radius: 50%;
38
+ background-color: #EF4444;
39
+ color: white;
40
+ display: flex;
41
+ align-items: center;
42
+ justify-content: center;
43
+ font-size: 10px;
44
+ }
45
+ .product-image {
46
+ width: 60px;
47
+ height: 60px;
48
+ object-fit: cover;
49
+ border-radius: 8px;
50
+ }
51
+ .order-status {
52
+ padding: 4px 8px;
53
+ border-radius: 12px;
54
+ font-size: 12px;
55
+ font-weight: 500;
56
+ }
57
+ </style>
58
+ </head>
59
+ <body class="bg-gray-100 font-sans">
60
+ <div class="flex h-screen overflow-hidden">
61
+ <!-- Sidebar -->
62
+ <div class="sidebar bg-indigo-800 text-white w-64 flex-shrink-0 flex flex-col">
63
+ <div class="p-4 flex items-center justify-between border-b border-indigo-700">
64
+ <div class="flex items-center">
65
+ <i class="fas fa-store-alt text-2xl mr-3"></i>
66
+ <span class="text-xl font-bold">SalesHub</span>
67
+ </div>
68
+ <button id="sidebarToggle" class="text-white focus:outline-none lg:hidden">
69
+ <i class="fas fa-bars"></i>
70
+ </button>
71
+ </div>
72
+ <div class="p-4 flex items-center space-x-3 bg-indigo-900">
73
+ <div class="relative">
74
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-10 h-10 rounded-full">
75
+ <div class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-indigo-900"></div>
76
+ </div>
77
+ <div>
78
+ <div class="font-medium">Nguyễn Thị Mai</div>
79
+ <div class="text-xs text-indigo-300">Admin</div>
80
+ </div>
81
+ </div>
82
+ <nav class="flex-1 overflow-y-auto">
83
+ <div class="p-4">
84
+ <div class="text-xs uppercase text-indigo-400 font-semibold mb-2">Tổng quan</div>
85
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg bg-indigo-700 text-white">
86
+ <i class="fas fa-tachometer-alt"></i>
87
+ <span>Bảng điều khiển</span>
88
+ </a>
89
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white mt-1">
90
+ <i class="fas fa-chart-line"></i>
91
+ <span>Phân tích</span>
92
+ </a>
93
+ </div>
94
+ <div class="p-4">
95
+ <div class="text-xs uppercase text-indigo-400 font-semibold mb-2">Bán hàng</div>
96
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white">
97
+ <i class="fas fa-shopping-cart"></i>
98
+ <span>Đơn hàng</span>
99
+ <span class="ml-auto bg-indigo-600 text-xs px-2 py-1 rounded-full">15</span>
100
+ </a>
101
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white mt-1">
102
+ <i class="fas fa-box-open"></i>
103
+ <span>Sản phẩm</span>
104
+ </a>
105
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white mt-1">
106
+ <i class="fas fa-users"></i>
107
+ <span>Khách hàng</span>
108
+ </a>
109
+ </div>
110
+ <div class="p-4">
111
+ <div class="text-xs uppercase text-indigo-400 font-semibold mb-2">Đa nền tảng</div>
112
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white">
113
+ <div class="platform-icon bg-blue-500">
114
+ <i class="fab fa-facebook-f"></i>
115
+ </div>
116
+ <span>Facebook</span>
117
+ </a>
118
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white mt-1">
119
+ <div class="platform-icon bg-red-500">
120
+ <i class="fab fa-youtube"></i>
121
+ </div>
122
+ <span>YouTube</span>
123
+ </a>
124
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white mt-1">
125
+ <div class="platform-icon bg-purple-600">
126
+ <i class="fab fa-shopify"></i>
127
+ </div>
128
+ <span>Shopee</span>
129
+ </a>
130
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white mt-1">
131
+ <div class="platform-icon bg-orange-500">
132
+ <i class="fab fa-lazada"></i>
133
+ </div>
134
+ <span>Lazada</span>
135
+ </a>
136
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white mt-1">
137
+ <div class="platform-icon bg-green-600">
138
+ <i class="fab fa-tiktok"></i>
139
+ </div>
140
+ <span>TikTok Shop</span>
141
+ </a>
142
+ </div>
143
+ <div class="p-4">
144
+ <div class="text-xs uppercase text-indigo-400 font-semibold mb-2">Cài đặt</div>
145
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white">
146
+ <i class="fas fa-cog"></i>
147
+ <span>Cài đặt chung</span>
148
+ </a>
149
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white mt-1">
150
+ <i class="fas fa-user-shield"></i>
151
+ <span>Quản lý người dùng</span>
152
+ </a>
153
+ </div>
154
+ </nav>
155
+ <div class="p-4 border-t border-indigo-700">
156
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white">
157
+ <i class="fas fa-sign-out-alt"></i>
158
+ <span>Đăng xuất</span>
159
+ </a>
160
+ </div>
161
+ </div>
162
+
163
+ <!-- Main Content -->
164
+ <div class="flex-1 overflow-auto">
165
+ <!-- Header -->
166
+ <header class="bg-white shadow-sm">
167
+ <div class="flex items-center justify-between p-4">
168
+ <div class="flex items-center space-x-4">
169
+ <h1 class="text-xl font-semibold text-gray-800">Bảng điều khiển</h1>
170
+ <div class="relative">
171
+ <input type="text" placeholder="Tìm kiếm..." class="pl-10 pr-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500">
172
+ <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
173
+ </div>
174
+ </div>
175
+ <div class="flex items-center space-x-4">
176
+ <div class="relative">
177
+ <button class="p-2 rounded-full hover:bg-gray-100 focus:outline-none">
178
+ <i class="fas fa-bell text-gray-600"></i>
179
+ <div class="notification-badge">3</div>
180
+ </button>
181
+ </div>
182
+ <div class="relative">
183
+ <button class="p-2 rounded-full hover:bg-gray-100 focus:outline-none">
184
+ <i class="fas fa-envelope text-gray-600"></i>
185
+ <div class="notification-badge">5</div>
186
+ </button>
187
+ </div>
188
+ <div class="flex items-center space-x-2">
189
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-8 h-8 rounded-full">
190
+ <span class="text-sm font-medium">Mai Nguyễn</span>
191
+ </div>
192
+ </div>
193
+ </div>
194
+ </header>
195
+
196
+ <!-- Dashboard Content -->
197
+ <main class="p-6">
198
+ <!-- Stats Cards -->
199
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
200
+ <div class="dashboard-card bg-white rounded-xl shadow-sm p-6 transition duration-300">
201
+ <div class="flex items-center justify-between">
202
+ <div>
203
+ <p class="text-sm font-medium text-gray-500">Tổng doanh thu</p>
204
+ <p class="text-2xl font-bold mt-1">32,450,000₫</p>
205
+ <p class="text-sm text-green-500 mt-1">+12.5% so với tháng trước</p>
206
+ </div>
207
+ <div class="p-3 rounded-lg bg-green-100 text-green-600">
208
+ <i class="fas fa-wallet text-xl"></i>
209
+ </div>
210
+ </div>
211
+ </div>
212
+ <div class="dashboard-card bg-white rounded-xl shadow-sm p-6 transition duration-300">
213
+ <div class="flex items-center justify-between">
214
+ <div>
215
+ <p class="text-sm font-medium text-gray-500">Tổng đơn hàng</p>
216
+ <p class="text-2xl font-bold mt-1">1,245</p>
217
+ <p class="text-sm text-blue-500 mt-1">+8.2% so với tháng trước</p>
218
+ </div>
219
+ <div class="p-3 rounded-lg bg-blue-100 text-blue-600">
220
+ <i class="fas fa-shopping-bag text-xl"></i>
221
+ </div>
222
+ </div>
223
+ </div>
224
+ <div class="dashboard-card bg-white rounded-xl shadow-sm p-6 transition duration-300">
225
+ <div class="flex items-center justify-between">
226
+ <div>
227
+ <p class="text-sm font-medium text-gray-500">Khách hàng mới</p>
228
+ <p class="text-2xl font-bold mt-1">324</p>
229
+ <p class="text-sm text-purple-500 mt-1">+5.7% so với tháng trước</p>
230
+ </div>
231
+ <div class="p-3 rounded-lg bg-purple-100 text-purple-600">
232
+ <i class="fas fa-user-plus text-xl"></i>
233
+ </div>
234
+ </div>
235
+ </div>
236
+ <div class="dashboard-card bg-white rounded-xl shadow-sm p-6 transition duration-300">
237
+ <div class="flex items-center justify-between">
238
+ <div>
239
+ <p class="text-sm font-medium text-gray-500">Tỷ lệ hoàn thành</p>
240
+ <p class="text-2xl font-bold mt-1">92.5%</p>
241
+ <p class="text-sm text-yellow-500 mt-1">-2.3% so với tháng trước</p>
242
+ </div>
243
+ <div class="p-3 rounded-lg bg-yellow-100 text-yellow-600">
244
+ <i class="fas fa-check-circle text-xl"></i>
245
+ </div>
246
+ </div>
247
+ </div>
248
+ </div>
249
+
250
+ <!-- Charts and Platforms -->
251
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
252
+ <!-- Sales Chart -->
253
+ <div class="lg:col-span-2 bg-white rounded-xl shadow-sm p-6">
254
+ <div class="flex items-center justify-between mb-4">
255
+ <h2 class="text-lg font-semibold">Doanh thu theo tháng</h2>
256
+ <div class="flex space-x-2">
257
+ <button class="px-3 py-1 text-sm bg-indigo-100 text-indigo-700 rounded-lg">Tháng</button>
258
+ <button class="px-3 py-1 text-sm bg-gray-100 text-gray-700 rounded-lg">Năm</button>
259
+ </div>
260
+ </div>
261
+ <div class="chart-container">
262
+ <canvas id="salesChart"></canvas>
263
+ </div>
264
+ </div>
265
+
266
+ <!-- Platform Distribution -->
267
+ <div class="bg-white rounded-xl shadow-sm p-6">
268
+ <h2 class="text-lg font-semibold mb-4">Phân bổ theo nền tảng</h2>
269
+ <div class="chart-container">
270
+ <canvas id="platformChart"></canvas>
271
+ </div>
272
+ <div class="mt-4 space-y-3">
273
+ <div class="flex items-center justify-between">
274
+ <div class="flex items-center space-x-2">
275
+ <div class="platform-icon bg-blue-500">
276
+ <i class="fab fa-facebook-f"></i>
277
+ </div>
278
+ <span>Facebook</span>
279
+ </div>
280
+ <span class="font-medium">42%</span>
281
+ </div>
282
+ <div class="flex items-center justify-between">
283
+ <div class="flex items-center space-x-2">
284
+ <div class="platform-icon bg-purple-600">
285
+ <i class="fab fa-shopify"></i>
286
+ </div>
287
+ <span>Shopee</span>
288
+ </div>
289
+ <span class="font-medium">28%</span>
290
+ </div>
291
+ <div class="flex items-center justify-between">
292
+ <div class="flex items-center space-x-2">
293
+ <div class="platform-icon bg-green-600">
294
+ <i class="fab fa-tiktok"></i>
295
+ </div>
296
+ <span>TikTok Shop</span>
297
+ </div>
298
+ <span class="font-medium">18%</span>
299
+ </div>
300
+ <div class="flex items-center justify-between">
301
+ <div class="flex items-center space-x-2">
302
+ <div class="platform-icon bg-orange-500">
303
+ <i class="fab fa-lazada"></i>
304
+ </div>
305
+ <span>Lazada</span>
306
+ </div>
307
+ <span class="font-medium">12%</span>
308
+ </div>
309
+ </div>
310
+ </div>
311
+ </div>
312
+
313
+ <!-- Recent Orders and Top Products -->
314
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
315
+ <!-- Recent Orders -->
316
+ <div class="bg-white rounded-xl shadow-sm overflow-hidden">
317
+ <div class="p-6">
318
+ <div class="flex items-center justify-between mb-4">
319
+ <h2 class="text-lg font-semibold">Đơn hàng gần đây</h2>
320
+ <a href="#" class="text-sm text-indigo-600 hover:underline">Xem tất cả</a>
321
+ </div>
322
+ <div class="overflow-x-auto">
323
+ <table class="min-w-full divide-y divide-gray-200">
324
+ <thead class="bg-gray-50">
325
+ <tr>
326
+ <th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Mã đơn</th>
327
+ <th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Khách hàng</th>
328
+ <th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Ngày</th>
329
+ <th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Tổng tiền</th>
330
+ <th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Trạng thái</th>
331
+ </tr>
332
+ </thead>
333
+ <tbody class="bg-white divide-y divide-gray-200">
334
+ <tr class="hover:bg-gray-50">
335
+ <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">#DH-2458</td>
336
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">Trần Văn An</td>
337
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">15/06/2023</td>
338
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">1,250,000₫</td>
339
+ <td class="px-4 py-4 whitespace-nowrap">
340
+ <span class="order-status bg-green-100 text-green-800">Đã giao</span>
341
+ </td>
342
+ </tr>
343
+ <tr class="hover:bg-gray-50">
344
+ <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">#DH-2457</td>
345
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">Lê Thị Bình</td>
346
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">15/06/2023</td>
347
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">850,000₫</td>
348
+ <td class="px-4 py-4 whitespace-nowrap">
349
+ <span class="order-status bg-yellow-100 text-yellow-800">Đang giao</span>
350
+ </td>
351
+ </tr>
352
+ <tr class="hover:bg-gray-50">
353
+ <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">#DH-2456</td>
354
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">Phạm Văn Cường</td>
355
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">14/06/2023</td>
356
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">2,150,000₫</td>
357
+ <td class="px-4 py-4 whitespace-nowrap">
358
+ <span class="order-status bg-blue-100 text-blue-800">Đang xử lý</span>
359
+ </td>
360
+ </tr>
361
+ <tr class="hover:bg-gray-50">
362
+ <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">#DH-2455</td>
363
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">Nguyễn Thị Dung</td>
364
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">14/06/2023</td>
365
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">1,750,000₫</td>
366
+ <td class="px-4 py-4 whitespace-nowrap">
367
+ <span class="order-status bg-green-100 text-green-800">Đã giao</span>
368
+ </td>
369
+ </tr>
370
+ <tr class="hover:bg-gray-50">
371
+ <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-indigo-600">#DH-2454</td>
372
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">Hoàng Văn Đức</td>
373
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">13/06/2023</td>
374
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">980,000₫</td>
375
+ <td class="px-4 py-4 whitespace-nowrap">
376
+ <span class="order-status bg-red-100 text-red-800">Đã hủy</span>
377
+ </td>
378
+ </tr>
379
+ </tbody>
380
+ </table>
381
+ </div>
382
+ </div>
383
+ </div>
384
+
385
+ <!-- Top Products -->
386
+ <div class="bg-white rounded-xl shadow-sm overflow-hidden">
387
+ <div class="p-6">
388
+ <div class="flex items-center justify-between mb-4">
389
+ <h2 class="text-lg font-semibold">Sản phẩm bán chạy</h2>
390
+ <a href="#" class="text-sm text-indigo-600 hover:underline">Xem tất cả</a>
391
+ </div>
392
+ <div class="space-y-4">
393
+ <div class="flex items-center p-3 hover:bg-gray-50 rounded-lg">
394
+ <img src="https://via.placeholder.com/150" alt="Product" class="product-image">
395
+ <div class="ml-4 flex-1">
396
+ <h3 class="font-medium">Điện thoại iPhone 13 Pro Max</h3>
397
+ <p class="text-sm text-gray-500">Đã bán: 245</p>
398
+ </div>
399
+ <div class="text-right">
400
+ <p class="font-medium">28,990,000₫</p>
401
+ <p class="text-sm text-green-500">+15.2%</p>
402
+ </div>
403
+ </div>
404
+ <div class="flex items-center p-3 hover:bg-gray-50 rounded-lg">
405
+ <img src="https://via.placeholder.com/150" alt="Product" class="product-image">
406
+ <div class="ml-4 flex-1">
407
+ <h3 class="font-medium">Laptop Dell XPS 15</h3>
408
+ <p class="text-sm text-gray-500">Đã bán: 187</p>
409
+ </div>
410
+ <div class="text-right">
411
+ <p class="font-medium">36,500,000₫</p>
412
+ <p class="text-sm text-green-500">+8.7%</p>
413
+ </div>
414
+ </div>
415
+ <div class="flex items-center p-3 hover:bg-gray-50 rounded-lg">
416
+ <img src="https://via.placeholder.com/150" alt="Product" class="product-image">
417
+ <div class="ml-4 flex-1">
418
+ <h3 class="font-medium">Tai nghe AirPods Pro 2</h3>
419
+ <p class="text-sm text-gray-500">Đã bán: 156</p>
420
+ </div>
421
+ <div class="text-right">
422
+ <p class="font-medium">5,990,000₫</p>
423
+ <p class="text-sm text-green-500">+22.1%</p>
424
+ </div>
425
+ </div>
426
+ <div class="flex items-center p-3 hover:bg-gray-50 rounded-lg">
427
+ <img src="https://via.placeholder.com/150" alt="Product" class="product-image">
428
+ <div class="ml-4 flex-1">
429
+ <h3 class="font-medium">Smartwatch Apple Watch S8</h3>
430
+ <p class="text-sm text-gray-500">Đã bán: 132</p>
431
+ </div>
432
+ <div class="text-right">
433
+ <p class="font-medium">12,490,000₫</p>
434
+ <p class="text-sm text-green-500">+5.3%</p>
435
+ </div>
436
+ </div>
437
+ <div class="flex items-center p-3 hover:bg-gray-50 rounded-lg">
438
+ <img src="https://via.placeholder.com/150" alt="Product" class="product-image">
439
+ <div class="ml-4 flex-1">
440
+ <h3 class="font-medium">Máy ảnh Sony A7 IV</h3>
441
+ <p class="text-sm text-gray-500">Đã bán: 98</p>
442
+ </div>
443
+ <div class="text-right">
444
+ <p class="font-medium">52,500,000₫</p>
445
+ <p class="text-sm text-green-500">+3.8%</p>
446
+ </div>
447
+ </div>
448
+ </div>
449
+ </div>
450
+ </div>
451
+ </div>
452
+ </main>
453
+ </div>
454
+ </div>
455
+
456
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
457
+ <script>
458
+ // Toggle sidebar on mobile
459
+ document.getElementById('sidebarToggle').addEventListener('click', function() {
460
+ document.querySelector('.sidebar').classList.toggle('hidden');
461
+ });
462
+
463
+ // Sales Chart
464
+ const salesCtx = document.getElementById('salesChart').getContext('2d');
465
+ const salesChart = new Chart(salesCtx, {
466
+ type: 'line',
467
+ data: {
468
+ labels: ['Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6'],
469
+ datasets: [{
470
+ label: 'Doanh thu',
471
+ data: [12500000, 18500000, 21000000, 24500000, 28500000, 32450000],
472
+ backgroundColor: 'rgba(99, 102, 241, 0.1)',
473
+ borderColor: 'rgba(99, 102, 241, 1)',
474
+ borderWidth: 2,
475
+ tension: 0.3,
476
+ fill: true
477
+ }]
478
+ },
479
+ options: {
480
+ responsive: true,
481
+ maintainAspectRatio: false,
482
+ plugins: {
483
+ legend: {
484
+ display: false
485
+ }
486
+ },
487
+ scales: {
488
+ y: {
489
+ beginAtZero: true,
490
+ grid: {
491
+ drawBorder: false
492
+ },
493
+ ticks: {
494
+ callback: function(value) {
495
+ return (value / 1000000) + 'M';
496
+ }
497
+ }
498
+ },
499
+ x: {
500
+ grid: {
501
+ display: false
502
+ }
503
+ }
504
+ }
505
+ }
506
+ });
507
+
508
+ // Platform Chart
509
+ const platformCtx = document.getElementById('platformChart').getContext('2d');
510
+ const platformChart = new Chart(platformCtx, {
511
+ type: 'doughnut',
512
+ data: {
513
+ labels: ['Facebook', 'Shopee', 'TikTok Shop', 'Lazada'],
514
+ datasets: [{
515
+ data: [42, 28, 18, 12],
516
+ backgroundColor: [
517
+ 'rgba(59, 130, 246, 0.8)',
518
+ 'rgba(124, 58, 237, 0.8)',
519
+ 'rgba(22, 163, 74, 0.8)',
520
+ 'rgba(249, 115, 22, 0.8)'
521
+ ],
522
+ borderWidth: 0
523
+ }]
524
+ },
525
+ options: {
526
+ responsive: true,
527
+ maintainAspectRatio: false,
528
+ plugins: {
529
+ legend: {
530
+ display: false
531
+ }
532
+ },
533
+ cutout: '70%'
534
+ }
535
+ });
536
+
537
+ // Simulate loading
538
+ setTimeout(() => {
539
+ document.querySelectorAll('.dashboard-card').forEach(card => {
540
+ card.classList.remove('opacity-0');
541
+ });
542
+ }, 300);
543
+ </script>
544
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=DatPro/sales" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
545
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ tạo cho tôi một trang web quản lý bán hàng đa nền tảng