forked from ejulfaey/dashboard-atom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
509 lines (500 loc) · 29.7 KB
/
index.html
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dashboard ATOM</title>
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
<script defer src="https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js"></script>
<style>
[x-cloak] {
display: none !important;
}
</style>
</head>
<body class="relative antialiased bg-gray-100">
<!-- Start Nav -->
<div class="fixed bottom-4 right-4 xl:right-20">
<a href="https://www.buymeacoffee.com/ejulfaey" target="_blank"
class="transform duration-500 ease-in-out animate-bounce bg-yellow-400 px-4 py-3 font-mono font-semibold rounded-lg shadow hover:shadow-xl flex justify-between items-center gap-4">
<img class="w-8 h-8 rounded"
src="https://img.buymeacoffee.com/api/?name=Ejul&size=300&bg-image=bmc&background=5F7FFF"
alt="buymeacoffee">
Buy Me A Coffee
</a>
</div>
<nav class="p-4 md:py-8 xl:px-0 md:container md:mx-w-6xl md:mx-auto">
<div class="hidden lg:flex lg:justify-between lg:items-center">
<a href="#" class="flex items-start gap-2 group">
<div class="bg-blue-600 text-white p-2 rounded-md group-hover:bg-blue-800">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
</svg>
</div>
<p class="text-sm font-light uppercase">
Dashboard
<span class="text-base block font-bold tracking-widest">
Atom
</span>
</p>
</a>
<ul class="flex items-center space-x-4 text-sm font-semibold">
<li><a href="#" class="px-2 xl:px-4 py-2 text-gray-800 rounded-md hover:bg-gray-200">My Account</a></li>
<li class="relative" x-data="{ open: false }">
<a x-on:click="open = !open" x-on:click.outside="open = false" href="#"
class="px-2 xl:px-4 py-2 text-gray-600 rounded-md hover:bg-gray-200 flex gap-2 items-center">
Transactions
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 stroke-current stroke-2 text-gray-800 transform duration-500 ease-in-out" :class="open ? 'rotate-90' : ''" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" />
</svg> </a>
<ul x-cloak x-show="open" x-transition
class="absolute top-10 left-0 bg-white p-4 rounded-md shadow overflow-hidden w-64">
<li>
<a href="#"
class="p-4 block text-sm text-gray-600 rounded flex items-center gap-2 hover:bg-gray-100">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M9 5l7 7-7 7" />
</svg>
Transaction ABC
</a>
</li>
<li>
<a href="#"
class="p-4 block text-sm text-gray-600 rounded flex items-center gap-2 hover:bg-gray-100">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M9 5l7 7-7 7" />
</svg>
Transaction DEF
</a>
</li>
<li>
<a href="#"
class="p-4 block text-sm text-gray-600 rounded flex items-center gap-2 hover:bg-gray-100">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M9 5l7 7-7 7" />
</svg>
Transaction GHI
</a>
</li>
</ul>
</li>
<li><a href="#" class="px-2 xl:px-4 py-2 text-gray-600 rounded-md hover:bg-gray-200">Cards </a></li>
<li><a href="#" class="px-2 xl:px-4 py-2 text-gray-600 rounded-md hover:bg-gray-200">Offers</a></li>
</ul>
<ul class="flex space-x-2 xl:space-x-4 text-sm font-semibold">
<li>
<a href="#">
<div class="p-2 rounded hover:bg-gray-200">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 stroke-current text-gray-800"
fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" />
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
</svg>
</div>
</a>
</li>
<li>
<a href="#">
<div class="p-2 rounded hover:bg-gray-200">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 stroke-current text-gray-800"
fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
</svg>
</div>
</a>
</li>
<li>
<a href="#">
<div class="p-2 rounded hover:bg-gray-200">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 stroke-current text-gray-800"
fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9" />
</svg>
</div>
</a>
</li>
</ul>
<ul class="flex items-center gap-6">
<li>
<a href="#" class="text-sm font-sans text-gray-800 font-semibold tracking-wider">
Derol Hakim
</a>
</li>
<li>
<a href="#">
<div class="p-2 rounded hover:bg-gray-200">
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 stroke-current text-gray-800"
fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1" />
</svg>
</div>
</a>
</li>
</ul>
</div>
<div x-data="{ open: false }" class="lg:hidden relative flex justify-between w-full">
<a href="#" class="flex items-start gap-2 group">
<div class="bg-blue-600 text-white p-3 rounded-md group-hover:bg-blue-800">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
</svg>
</div>
<p class="text-sm font-light uppercase">
Dashboard
<span class="text-base block font-bold tracking-widest">
Atom
</span>
</p>
</a>
<button x-on:click="open = !open" type="button" class="bg-gray-200 p-3 rounded-md">
<svg x-show="!open" xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h7" />
</svg>
<svg x-show="open" xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
</svg>
</button>
<div x-show="open" x-transition class="absolute top-14 left-0 right-0 w-full bg-white rounded-md border">
<ul class="p-4">
<li class="px-4 py-2 rounded hover:bg-gray-200">
<a href="#" class="flex items-center gap-4">
<svg xmlns="http://www.w3.org/2000/svg" class="w-3 h-3" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M9 5l7 7-7 7" />
</svg>
My Account
</a>
</li>
<li class="px-4 py-2 rounded hover:bg-gray-200">
<a href="#" class="flex items-center gap-4">
<svg xmlns="http://www.w3.org/2000/svg" class="w-3 h-3" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M9 5l7 7-7 7" />
</svg>
Transactions
</a>
</li>
<li class="px-4 py-2 rounded hover:bg-gray-200">
<a href="#" class="flex items-center gap-4">
<svg xmlns="http://www.w3.org/2000/svg" class="w-3 h-3" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M9 5l7 7-7 7" />
</svg>
Cards
</a>
</li>
<li class="px-4 py-2 rounded hover:bg-gray-200">
<a href="#" class="flex items-center gap-4">
<svg xmlns="http://www.w3.org/2000/svg" class="w-3 h-3" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M9 5l7 7-7 7" />
</svg>
Offers
</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- End Nav -->
<!-- Start Main -->
<main class="container mx-w-6xl mx-auto py-4">
<div class="flex flex-col space-y-8">
<!-- First Row -->
<div class="grid grid-cols-1 md:grid-cols-4 xl:grid-cols-5 px-4 xl:p-0 gap-y-4 md:gap-6">
<div class="md:col-span-2 xl:col-span-3 bg-white p-6 rounded-2xl border border-gray-50">
<div class="flex flex-col space-y-6 md:h-full md:justify-between">
<div class="flex justify-between">
<span class="text-xs text-gray-500 font-semibold uppercase tracking-wider">
Main Account
</span>
<span class="text-xs text-gray-500 font-semibold uppercase tracking-wider">
Available Funds
</span>
</div>
<div class="flex gap-2 md:gap-4 justify-between items-center">
<div class="flex flex-col space-y-4">
<h2 class="text-gray-800 font-bold tracking-widest leading-tight">Derol's Savings
Account</h2>
<div class="flex items-center gap-4">
<p class="text-lg text-gray-600 tracking-wider">**** **** *321</p>
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none"
viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M17 8l4 4m0 0l-4 4m4-4H3" />
</svg>
</div>
</div>
<h2 class="text-lg md:text-xl xl:text-3xl text-gray-700 font-black tracking-wider">
<span class="md:text-xl">$</span>
92,817.45
</h2>
</div>
<div class="flex gap-2 md:gap-4">
<a href="#"
class="bg-blue-600 px-5 py-3 w-full text-center md:w-auto rounded-lg text-white text-xs tracking-wider font-semibold hover:bg-blue-800">
Transfer Money
</a>
<a href="#"
class="bg-blue-50 px-5 py-3 w-full text-center md:w-auto rounded-lg text-blue-600 text-xs tracking-wider font-semibold hover:bg-blue-600 hover:text-white">
Link Account
</a>
</div>
</div>
</div>
<div
class="col-span-2 p-6 rounded-2xl bg-gradient-to-r from-blue-500 to-blue-800 flex flex-col justify-between">
<div class="flex flex-col">
<p class="text-white font-bold">Lorem ipsum dolor sit amet</p>
<p class="mt-1 text-xs md:text-sm text-gray-50 font-light leading-tight max-w-sm">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Odio soluta saepe consequuntur
facilis ab a. Molestiae ad saepe assumenda praesentium rem dolore? Exercitationem, neque
obcaecati?
</p>
</div>
<div class="flex justify-between items-end">
<a href="#"
class="bg-blue-800 px-4 py-3 rounded-lg text-white text-xs tracking-wider font-semibold hover:bg-blue-600 hover:text-white">
Learn More
</a>
<img src="assets/calendar.png" alt="calendar" class="w-auto h-24 object-cover">
</div>
</div>
</div>
<!-- End First Row -->
<!-- Start Second Row -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 px-4 xl:p-0 gap-4 xl:gap-6">
<div class="col-span-1 md:col-span-2 lg:col-span-4 flex justify-between">
<h2 class="text-xs md:text-sm text-gray-700 font-bold tracking-wide md:tracking-wider">
Expenses By Category</h2>
<a href="#" class="text-xs text-gray-800 font-semibold uppercase">More</a>
</div>
<div class="bg-white p-6 rounded-xl border border-gray-50">
<div class="flex justify-between items-start">
<div class="flex flex-col">
<p class="text-xs text-gray-600 tracking-wide">Foods & Beverages</p>
<h3 class="mt-1 text-lg text-blue-500 font-bold">$ 818</h3>
<span class="mt-4 text-xs text-gray-500">Last Transaction 3 Hours ago</span>
</div>
<div class="bg-blue-500 p-2 md:p-1 xl:p-2 rounded-md">
<img src="assets/dish-2.png" alt="icon" class="w-auto h-8 md:h-6 xl:h-8 object-cover">
</div>
</div>
</div>
<div class="bg-white p-6 rounded-xl border border-gray-50">
<div class="flex justify-between items-start">
<div class="flex flex-col">
<p class="text-xs text-gray-600 tracking-wide">Groceries</p>
<h3 class="mt-1 text-lg text-green-500 font-bold">$ 8,918</h3>
<span class="mt-4 text-xs text-gray-500">Last Transaction 3 Days ago</span>
</div>
<div class="bg-green-500 p-2 md:p-1 xl:p-2 rounded-md">
<img src="assets/grocery.png" alt="icon" class="w-auto h-8 md:h-6 xl:h-8 object-cover">
</div>
</div>
</div>
<div class="bg-white p-6 rounded-xl border border-gray-50">
<div class="flex justify-between items-start">
<div class="flex flex-col">
<p class="text-xs text-gray-600 tracking-wide">Gaming</p>
<h3 class="mt-1 text-lg text-yellow-500 font-bold">$ 1,223</h3>
<span class="mt-4 text-xs text-gray-600">Last Transaction 4 Days ago</span>
</div>
<div class="bg-yellow-500 p-2 md:p-1 xl:p-2 rounded-md">
<img src="assets/gaming.png" alt="icon" class="w-auto h-8 md:h-6 xl:h-8 object-cover">
</div>
</div>
</div>
<div class="bg-white p-6 rounded-xl border border-gray-50">
<div class="flex justify-between items-start">
<div class="flex flex-col">
<p class="text-xs text-gray-600 tracking-wide">Trip & Holiday</p>
<h3 class="mt-1 text-lg text-indigo-500 font-bold">$ 5,918</h3>
<span class="mt-4 text-xs text-gray-500">Last Transaction 1 Month ago</span>
</div>
<div class="bg-indigo-500 p-2 md:p-1 xl:p-2 rounded-md">
<img src="assets/holiday.png" alt="icon" class="w-auto h-8 md:h-6 xl:h-8 object-cover">
</div>
</div>
</div>
</div>
<!-- End Second Row -->
<!-- Start Third Row -->
<div class="grid grid-cols-1 md:grid-cols-5 items-start px-4 xl:p-0 gap-y-4 md:gap-6">
<div class="col-start-1 col-end-5">
<h2 class="text-xs md:text-sm text-gray-800 font-bold tracking-wide">Summary Transactions</h2>
</div>
<div class="col-span-2 bg-white p-6 rounded-xl border border-gray-50 flex flex-col space-y-6">
<div class="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 flex justify-between items-center">
<div class="p-4 cursor-pointer border">
<span class="text-xs text-gray-500 font-semibold">Daily</span>
<h2 class="text-gray-800 font-bold tracking-wider">$ 27.80</h2>
</div>
<div class="p-4 cursor-pointer border">
<span class="text-xs text-gray-500 font-semibold">Weekly</span>
<h2 class="text-gray-800 font-bold tracking-wider">$ 192.92</h2>
</div>
<div class="p-4 cursor-pointer border">
<span class="text-xs text-gray-500 font-semibold">Monthly</span>
<h2 class="text-gray-800 font-bold tracking-wider">$ 501.10</h2>
</div>
</div>
<canvas id="myChart"></canvas>
</div>
<div class="col-span-3 bg-white p-6 rounded-xl border border-gray-50 flex flex-col space-y-6">
<div class="flex justify-between items-center">
<h2 class="text-sm text-gray-600 font-bold tracking-wide">Latest Transactions</h2>
<a href="#"
class="px-4 py-2 text-xs bg-blue-100 text-blue-500 rounded uppercase tracking-wider font-semibold hover:bg-blue-300">More</a>
</div>
<ul class="divide-y-2 divide-gray-100 overflow-x-auto w-full">
<li class="py-3 flex justify-between text-sm text-gray-500 font-semibold">
<p class="px-4 font-semibold">Today</p>
<p class="px-4 text-gray-600">McDonald</p>
<p class="px-4 tracking-wider">Cash</p>
<p class="px-4 text-blue-600">Food</p>
<p class="md:text-base text-gray-800 flex items-center gap-2">
16.90
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M19 9l-7 7-7-7" />
</svg>
</p>
</li>
<li class="py-3 flex justify-between text-sm text-gray-500 font-semibold">
<p class="px-4 font-semibold">Today</p>
<p class="px-4 text-gray-600">McDonald</p>
<p class="px-4 tracking-wider">Cash</p>
<p class="px-4 text-blue-600">Food</p>
<p class="md:text-base text-gray-800 flex items-center gap-2">
16.90
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M19 9l-7 7-7-7" />
</svg>
</p>
</li>
<li class="py-3 flex justify-between text-sm text-gray-500 font-semibold">
<p class="px-4 font-semibold">Today</p>
<p class="px-4 text-gray-600">McDonald</p>
<p class="px-4 tracking-wider">Cash</p>
<p class="px-4 text-blue-600">Food</p>
<p class="md:text-base text-gray-800 flex items-center gap-2">
16.90
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M19 9l-7 7-7-7" />
</svg>
</p>
</li>
<li class="py-3 flex justify-between text-sm text-gray-500 font-semibold">
<p class="px-4 font-semibold">Today</p>
<p class="px-4 text-gray-600">McDonald</p>
<p class="px-4 tracking-wider">Cash</p>
<p class="px-4 text-blue-600">Food</p>
<p class="md:text-base text-gray-800 flex items-center gap-2">
16.90
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M19 9l-7 7-7-7" />
</svg>
</p>
</li>
<li class="py-3 flex justify-between text-sm text-gray-500 font-semibold">
<p class="px-4 font-semibold">Today</p>
<p class="px-4 text-gray-600">McDonald</p>
<p class="px-4 tracking-wider">Cash</p>
<p class="px-4 text-blue-600">Food</p>
<p class="md:text-base text-gray-800 flex items-center gap-2">
16.90
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M19 9l-7 7-7-7" />
</svg>
</p>
</li>
<li class="py-3 flex justify-between text-sm text-gray-500 font-semibold">
<p class="px-4 font-semibold">Today</p>
<p class="px-4 text-gray-600">McDonald</p>
<p class="px-4 tracking-wider">Cash</p>
<p class="px-4 text-blue-600">Food</p>
<p class="md:text-base text-gray-800 flex items-center gap-2">
16.90
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M19 9l-7 7-7-7" />
</svg>
</p>
</li>
</ul>
</div>
</div>
<!-- End Third Row -->
</div>
</main>
<!-- End Main -->
<script src="https://cdn.jsdelivr.net/npm/chart.js@3.6.2/dist/chart.min.js"></script>
<script>
const ctx = document.getElementById('myChart').getContext('2d');
const data = {
labels: [
'Food & beverages',
'Groceries',
'Gaming',
'Trip & holiday',
],
datasets: [{
label: 'Total Expenses',
data: [148, 150, 130, 170],
backgroundColor: [
'#3B82F6',
'#10B981',
'#6366F1',
'#F59E0B'
]
}]
};
const config = {
type: 'polarArea',
data: data,
options: {
plugins: {
legend: {
position: 'bottom',
},
}
}
};
const chart = new Chart(ctx, config);
</script>
</body>
</html>