-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathindex.tsx
803 lines (792 loc) · 32.4 KB
/
index.tsx
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
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
/* eslint-disable jsx-a11y/anchor-is-valid */
import { Badge, Dropdown, Table, useTheme } from "flowbite-react";
import type { FC } from "react";
import Chart from "react-apexcharts";
import NavbarSidebarLayout from "../layouts/navbar-sidebar";
const DashboardPage: FC = function () {
return (
<NavbarSidebarLayout>
<div className="px-4 pt-6">
<SalesThisWeek />
<div className="my-6">
<LatestTransactions />
</div>
<LatestCustomers />
<div className="my-6">
<AcquisitionOverview />
</div>
</div>
</NavbarSidebarLayout>
);
};
const SalesThisWeek: FC = function () {
return (
<div className="rounded-lg bg-white p-4 shadow dark:bg-gray-800 sm:p-6 xl:p-8">
<div className="mb-4 flex items-center justify-between">
<div className="shrink-0">
<span className="text-2xl font-bold leading-none text-gray-900 dark:text-white sm:text-3xl">
$45,385
</span>
<h3 className="text-base font-normal text-gray-600 dark:text-gray-400">
Sales this week
</h3>
</div>
<div className="flex flex-1 items-center justify-end text-base font-bold text-green-600 dark:text-green-400">
12.5%
<svg
className="h-5 w-5"
fill="currentColor"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
fillRule="evenodd"
d="M5.293 7.707a1 1 0 010-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L11 5.414V17a1 1 0 11-2 0V5.414L6.707 7.707a1 1 0 01-1.414 0z"
clipRule="evenodd"
/>
</svg>
</div>
</div>
<SalesChart />
<div className="mt-5 flex items-center justify-between border-t border-gray-200 pt-3 dark:border-gray-700 sm:pt-6">
<Datepicker />
<div className="shrink-0">
<a
href="#"
className="inline-flex items-center rounded-lg p-2 text-xs font-medium uppercase text-primary-700 hover:bg-gray-100 dark:text-primary-500 dark:hover:bg-gray-700 sm:text-sm"
>
Sales Report
<svg
className="ml-1 h-4 w-4 sm:h-5 sm:w-5"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2}
d="M9 5l7 7-7 7"
/>
</svg>
</a>
</div>
</div>
</div>
);
};
const SalesChart: FC = function () {
const { mode } = useTheme();
const isDarkTheme = mode === "dark";
const borderColor = isDarkTheme ? "#374151" : "#F3F4F6";
const labelColor = isDarkTheme ? "#93ACAF" : "#6B7280";
const opacityFrom = isDarkTheme ? 0 : 1;
const opacityTo = isDarkTheme ? 0 : 1;
const options: ApexCharts.ApexOptions = {
stroke: {
curve: "smooth",
},
chart: {
type: "area",
fontFamily: "Inter, sans-serif",
foreColor: labelColor,
toolbar: {
show: false,
},
},
fill: {
type: "gradient",
gradient: {
opacityFrom,
opacityTo,
type: "vertical",
},
},
dataLabels: {
enabled: false,
},
tooltip: {
style: {
fontSize: "14px",
fontFamily: "Inter, sans-serif",
},
},
grid: {
show: true,
borderColor: borderColor,
strokeDashArray: 1,
padding: {
left: 35,
bottom: 15,
},
},
markers: {
size: 5,
strokeColors: "#ffffff",
hover: {
size: undefined,
sizeOffset: 3,
},
},
xaxis: {
categories: [
"01 Feb",
"02 Feb",
"03 Feb",
"04 Feb",
"05 Feb",
"06 Feb",
"07 Feb",
],
labels: {
style: {
colors: [labelColor],
fontSize: "14px",
fontWeight: 500,
},
},
axisBorder: {
color: borderColor,
},
axisTicks: {
color: borderColor,
},
crosshairs: {
show: true,
position: "back",
stroke: {
color: borderColor,
width: 1,
dashArray: 10,
},
},
},
yaxis: {
labels: {
style: {
colors: [labelColor],
fontSize: "14px",
fontWeight: 500,
},
formatter: function (value) {
return "$" + value;
},
},
},
legend: {
fontSize: "14px",
fontWeight: 500,
fontFamily: "Inter, sans-serif",
labels: {
colors: [labelColor],
},
itemMargin: {
horizontal: 10,
},
},
responsive: [
{
breakpoint: 1024,
options: {
xaxis: {
labels: {
show: false,
},
},
},
},
],
};
const series = [
{
name: "Revenue",
data: [6356, 6218, 6156, 6526, 6356, 6256, 6056],
color: "#1A56DB",
},
];
return <Chart height={420} options={options} series={series} type="area" />;
};
const Datepicker: FC = function () {
return (
<span className="text-sm text-gray-600">
<Dropdown inline label="Last 7 days">
<Dropdown.Item>
<strong>Sep 16, 2021 - Sep 22, 2021</strong>
</Dropdown.Item>
<Dropdown.Divider />
<Dropdown.Item>Yesterday</Dropdown.Item>
<Dropdown.Item>Today</Dropdown.Item>
<Dropdown.Item>Last 7 days</Dropdown.Item>
<Dropdown.Item>Last 30 days</Dropdown.Item>
<Dropdown.Item>Last 90 days</Dropdown.Item>
<Dropdown.Divider />
<Dropdown.Item>Custom...</Dropdown.Item>
</Dropdown>
</span>
);
};
const LatestCustomers: FC = function () {
return (
<div className="mb-4 h-full rounded-lg bg-white p-4 shadow dark:bg-gray-800 sm:p-6">
<div className="mb-4 flex items-center justify-between">
<h3 className="text-xl font-bold leading-none text-gray-900 dark:text-white">
Latest Customers
</h3>
<a
href="#"
className="inline-flex items-center rounded-lg p-2 text-sm font-medium text-primary-700 hover:bg-gray-100 dark:text-primary-500 dark:hover:bg-gray-700"
>
View all
</a>
</div>
<div className="flow-root">
<ul className="divide-y divide-gray-200 dark:divide-gray-700">
<li className="py-3 sm:py-4">
<div className="flex items-center space-x-4">
<div className="shrink-0">
<img
className="h-8 w-8 rounded-full"
src="/images/users/neil-sims.png"
alt=""
/>
</div>
<div className="min-w-0 flex-1">
<p className="truncate text-sm font-medium text-gray-900 dark:text-white">
Neil Sims
</p>
<p className="truncate text-sm text-gray-500 dark:text-gray-400">
email@flowbite.com
</p>
</div>
<div className="inline-flex items-center text-base font-semibold text-gray-900 dark:text-white">
$320
</div>
</div>
</li>
<li className="py-3 sm:py-4">
<div className="flex items-center space-x-4">
<div className="shrink-0">
<img
className="h-8 w-8 rounded-full"
src="/images/users/bonnie-green.png"
alt=""
/>
</div>
<div className="min-w-0 flex-1">
<p className="truncate text-sm font-medium text-gray-900 dark:text-white">
Bonnie Green
</p>
<p className="truncate text-sm text-gray-500 dark:text-gray-400">
email@flowbite.com
</p>
</div>
<div className="inline-flex items-center text-base font-semibold text-gray-900 dark:text-white">
$3467
</div>
</div>
</li>
<li className="py-3 sm:py-4">
<div className="flex items-center space-x-4">
<div className="shrink-0">
<img
className="h-8 w-8 rounded-full"
src="/images/users/michael-gough.png"
alt=""
/>
</div>
<div className="min-w-0 flex-1">
<p className="truncate text-sm font-medium text-gray-900 dark:text-white">
Michael Gough
</p>
<p className="truncate text-sm text-gray-500 dark:text-gray-400">
email@flowbite.com
</p>
</div>
<div className="inline-flex items-center text-base font-semibold text-gray-900 dark:text-white">
$67
</div>
</div>
</li>
<li className="py-3 sm:py-4">
<div className="flex items-center space-x-4">
<div className="shrink-0">
<img
className="h-8 w-8 rounded-full"
src="/images/users/thomas-lean.png"
alt=""
/>
</div>
<div className="min-w-0 flex-1">
<p className="truncate text-sm font-medium text-gray-900 dark:text-white">
Thomes Lean
</p>
<p className="truncate text-sm text-gray-500 dark:text-gray-400">
email@flowbite.com
</p>
</div>
<div className="inline-flex items-center text-base font-semibold text-gray-900 dark:text-white">
$2367
</div>
</div>
</li>
<li className="py-3 sm:py-4">
<div className="flex items-center space-x-4">
<div className="shrink-0">
<img
className="h-8 w-8 rounded-full"
src="/images/users/lana-byrd.png"
alt=""
/>
</div>
<div className="min-w-0 flex-1">
<p className="truncate text-sm font-medium text-gray-900 dark:text-white">
Lana Byrd
</p>
<p className="truncate text-sm text-gray-500 dark:text-gray-400">
email@flowbite.com
</p>
</div>
<div className="inline-flex items-center text-base font-semibold text-gray-900 dark:text-white">
$367
</div>
</div>
</li>
</ul>
</div>
<div className="flex items-center justify-between border-t border-gray-200 pt-3 dark:border-gray-700 sm:pt-6">
<Datepicker />
<div className="shrink-0">
<a
href="#"
className="inline-flex items-center rounded-lg p-2 text-xs font-medium uppercase text-primary-700 hover:bg-gray-100 dark:text-primary-500 dark:hover:bg-gray-700 sm:text-sm"
>
Sales Report
<svg
className="ml-1 h-4 w-4 sm:h-5 sm:w-5"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2}
d="M9 5l7 7-7 7"
/>
</svg>
</a>
</div>
</div>
</div>
);
};
const AcquisitionOverview: FC = function () {
return (
<div className="rounded-lg bg-white p-4 shadow dark:bg-gray-800 sm:p-6 xl:p-8">
<h3 className="mb-6 text-xl font-bold leading-none text-gray-900 dark:text-white">
Acquisition Overview
</h3>
<div className="flex flex-col">
<div className="overflow-x-auto rounded-lg">
<div className="inline-block min-w-full align-middle">
<div className="overflow-hidden shadow sm:rounded-lg">
<Table className="min-w-full table-fixed">
<Table.Head>
<Table.HeadCell className="whitespace-nowrap rounded-l border-x-0 bg-gray-50 py-3 px-4 text-left align-middle text-xs font-semibold uppercase text-gray-700 dark:bg-gray-700 dark:text-white">
Top Channels
</Table.HeadCell>
<Table.HeadCell className="whitespace-nowrap border-x-0 bg-gray-50 py-3 px-4 text-left align-middle text-xs font-semibold uppercase text-gray-700 dark:bg-gray-700 dark:text-white">
Users
</Table.HeadCell>
<Table.HeadCell className="min-w-[140px] whitespace-nowrap rounded-r border-x-0 bg-gray-50 py-3 px-4 text-left align-middle text-xs font-semibold uppercase text-gray-700 dark:bg-gray-700 dark:text-white">
Acquisition
</Table.HeadCell>
</Table.Head>
<Table.Body className="divide-y divide-gray-100 dark:divide-gray-700">
<Table.Row className="text-gray-500 dark:text-gray-400">
<Table.Cell className="whitespace-nowrap border-t-0 p-4 text-left align-middle text-sm font-normal">
Organic Search
</Table.Cell>
<Table.Cell className="whitespace-nowrap border-t-0 p-4 align-middle text-xs font-medium text-gray-900 dark:text-white">
5,649
</Table.Cell>
<Table.Cell className="whitespace-nowrap border-t-0 p-4 align-middle text-xs">
<div className="flex items-center">
<span className="mr-2 text-xs font-medium">30%</span>
<div className="relative w-full">
<div className="h-2 w-full rounded-sm bg-gray-200 dark:bg-gray-700">
<div
className="h-2 rounded-sm bg-primary-700"
style={{ width: "30%" }}
/>
</div>
</div>
</div>
</Table.Cell>
</Table.Row>
<Table.Row className="text-gray-500 dark:text-gray-400">
<Table.Cell className="whitespace-nowrap border-t-0 p-4 text-left align-middle text-sm font-normal">
Referral
</Table.Cell>
<Table.Cell className="whitespace-nowrap border-t-0 p-4 align-middle text-xs font-medium text-gray-900 dark:text-white">
4,025
</Table.Cell>
<Table.Cell className="whitespace-nowrap border-t-0 p-4 align-middle text-xs">
<div className="flex items-center">
<span className="mr-2 text-xs font-medium">24%</span>
<div className="relative w-full">
<div className="h-2 w-full rounded-sm bg-gray-200 dark:bg-gray-700">
<div
className="h-2 rounded-sm bg-orange-300"
style={{ width: "24%" }}
/>
</div>
</div>
</div>
</Table.Cell>
</Table.Row>
<Table.Row className="text-gray-500 dark:text-gray-400">
<Table.Cell className="whitespace-nowrap border-t-0 p-4 text-left align-middle text-sm font-normal">
Direct
</Table.Cell>
<Table.Cell className="whitespace-nowrap border-t-0 p-4 align-middle text-xs font-medium text-gray-900 dark:text-white">
3,105
</Table.Cell>
<Table.Cell className="whitespace-nowrap border-t-0 p-4 align-middle text-xs">
<div className="flex items-center">
<span className="mr-2 text-xs font-medium">18%</span>
<div className="relative w-full">
<div className="h-2 w-full rounded-sm bg-gray-200 dark:bg-gray-700">
<div
className="h-2 rounded-sm bg-teal-400"
style={{ width: "18%" }}
/>
</div>
</div>
</div>
</Table.Cell>
</Table.Row>
<Table.Row className="text-gray-500 dark:text-gray-400">
<Table.Cell className="whitespace-nowrap border-t-0 p-4 text-left align-middle text-sm font-normal">
Social
</Table.Cell>
<Table.Cell className="whitespace-nowrap border-t-0 p-4 align-middle text-xs font-medium text-gray-900 dark:text-white">
1251
</Table.Cell>
<Table.Cell className="whitespace-nowrap border-t-0 p-4 align-middle text-xs">
<div className="flex items-center">
<span className="mr-2 text-xs font-medium">12%</span>
<div className="relative w-full">
<div className="h-2 w-full rounded-sm bg-gray-200 dark:bg-gray-700">
<div
className="h-2 rounded-sm bg-pink-600"
style={{ width: "12%" }}
/>
</div>
</div>
</div>
</Table.Cell>
</Table.Row>
<Table.Row className="text-gray-500 dark:text-gray-400">
<Table.Cell className="whitespace-nowrap border-t-0 p-4 text-left align-middle text-sm font-normal">
Other
</Table.Cell>
<Table.Cell className="whitespace-nowrap border-t-0 p-4 align-middle text-xs font-medium text-gray-900 dark:text-white">
734
</Table.Cell>
<Table.Cell className="whitespace-nowrap border-t-0 p-4 align-middle text-xs">
<div className="flex items-center">
<span className="mr-2 text-xs font-medium">9%</span>
<div className="relative w-full">
<div className="h-2 w-full rounded-sm bg-gray-200 dark:bg-gray-700">
<div
className="h-2 rounded-sm bg-indigo-600"
style={{ width: "9%" }}
/>
</div>
</div>
</div>
</Table.Cell>
</Table.Row>
<Table.Row className="text-gray-500 dark:text-gray-400">
<Table.Cell className="whitespace-nowrap border-t-0 p-4 text-left align-middle text-sm font-normal">
Email
</Table.Cell>
<Table.Cell className="whitespace-nowrap border-t-0 p-4 align-middle text-xs font-medium text-gray-900 dark:text-white">
456
</Table.Cell>
<Table.Cell className="whitespace-nowrap border-t-0 p-4 align-middle text-xs">
<div className="flex items-center">
<span className="mr-2 text-xs font-medium">7%</span>
<div className="relative w-full">
<div className="h-2 w-full rounded-sm bg-gray-200 dark:bg-gray-700">
<div
className="h-2 rounded-sm bg-purple-500"
style={{ width: "7%" }}
/>
</div>
</div>
</div>
</Table.Cell>
</Table.Row>
</Table.Body>
</Table>
</div>
</div>
</div>
</div>
<div className="flex items-center justify-between border-t border-gray-200 pt-3 dark:border-gray-700 sm:pt-6">
<Datepicker />
<div className="shrink-0">
<a
href="#"
className="inline-flex items-center rounded-lg p-2 text-xs font-medium uppercase text-primary-700 hover:bg-gray-100 dark:text-primary-500 dark:hover:bg-gray-700 sm:text-sm"
>
Acquisition Report
<svg
className="ml-1 h-4 w-4 sm:h-5 sm:w-5"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2}
d="M9 5l7 7-7 7"
/>
</svg>
</a>
</div>
</div>
</div>
);
};
const LatestTransactions: FC = function () {
return (
<div className="rounded-lg bg-white p-4 shadow dark:bg-gray-800 sm:p-6 xl:p-8">
<div className="mb-4 flex items-center justify-between">
<div>
<h3 className="mb-2 text-xl font-bold text-gray-900 dark:text-white">
Latest Transactions
</h3>
<span className="text-base font-normal text-gray-600 dark:text-gray-400">
This is a list of latest transactions
</span>
</div>
<div className="shrink-0">
<a
href="#"
className="rounded-lg p-2 text-sm font-medium text-primary-700 hover:bg-gray-100 dark:text-primary-500 dark:hover:bg-gray-700"
>
View all
</a>
</div>
</div>
<div className="mt-8 flex flex-col">
<div className="overflow-x-auto rounded-lg">
<div className="inline-block min-w-full align-middle">
<div className="overflow-hidden shadow sm:rounded-lg">
<Table
striped
className="min-w-full divide-y divide-gray-200 dark:divide-gray-600"
>
<Table.Head className="bg-gray-50 dark:bg-gray-700">
<Table.HeadCell>Transaction</Table.HeadCell>
<Table.HeadCell>Date & Time</Table.HeadCell>
<Table.HeadCell>Amount</Table.HeadCell>
<Table.HeadCell>Status</Table.HeadCell>
</Table.Head>
<Table.Body className="bg-white dark:bg-gray-800">
<Table.Row>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-900 dark:text-white">
Payment from{" "}
<span className="font-semibold">Bonnie Green</span>
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-500 dark:text-gray-400">
Apr 23, 2021
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-semibold text-gray-900 dark:text-white">
$2300
</Table.Cell>
<Table.Cell className="flex whitespace-nowrap p-4">
<Badge color="success">Completed</Badge>
</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-900 dark:text-white">
Payment refund to{" "}
<span className="font-semibold">#00910</span>
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-500 dark:text-gray-400">
Apr 23, 2021
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-semibold text-gray-900 dark:text-white">
-$670
</Table.Cell>
<Table.Cell className="flex whitespace-nowrap p-4">
<Badge color="success">Completed</Badge>
</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-900 dark:text-white">
Payment failed from{" "}
<span className="font-semibold">#087651</span>
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-500 dark:text-gray-400">
Apr 18, 2021
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-semibold text-gray-900 dark:text-white">
$234
</Table.Cell>
<Table.Cell className="flex whitespace-nowrap p-4">
<Badge color="failure">Cancelled</Badge>
</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-900 dark:text-white">
Payment from{" "}
<span className="font-semibold">Lana Byrd</span>
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-500 dark:text-gray-400">
Apr 15, 2021
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-semibold text-gray-900 dark:text-white">
$5000
</Table.Cell>
<Table.Cell className="flex whitespace-nowrap p-4">
<span className="mr-2 rounded-md bg-purple-100 py-0.5 px-2.5 text-xs font-medium text-purple-800 dark:bg-purple-200">
In progress
</span>
</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-900 dark:text-white">
Payment from{" "}
<span className="font-semibold">Jese Leos</span>
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-500 dark:text-gray-400">
Apr 15, 2021
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-semibold text-gray-900 dark:text-white">
$2300
</Table.Cell>
<Table.Cell className="flex whitespace-nowrap p-4">
<Badge color="success">Completed</Badge>
</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-900 dark:text-white">
Payment from{" "}
<span className="font-semibold">THEMESBERG LLC</span>
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-500 dark:text-gray-400">
Apr 11, 2021
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-semibold text-gray-900 dark:text-white">
$560
</Table.Cell>
<Table.Cell className="flex whitespace-nowrap p-4">
<Badge color="success">Completed</Badge>
</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-900 dark:text-white">
Payment from{" "}
<span className="font-semibold">Lana Lysle</span>
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-500 dark:text-gray-400">
Apr 6, 2021
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-semibold text-gray-900 dark:text-white">
$1437
</Table.Cell>
<Table.Cell className="flex whitespace-nowrap p-4">
<Badge color="success">Completed</Badge>
</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-900 dark:text-white">
Payment to{" "}
<span className="font-semibold">Joseph Mcfall</span>
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-500 dark:text-gray-400">
Apr 1, 2021
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-semibold text-gray-900 dark:text-white">
$980
</Table.Cell>
<Table.Cell className="flex whitespace-nowrap p-4">
<Badge color="success">Completed</Badge>
</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-900 dark:text-white">
Payment from{" "}
<span className="font-semibold">Alphabet LLC</span>
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-500 dark:text-gray-400">
Mar 23, 2021
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-semibold text-gray-900 dark:text-white">
$11,436
</Table.Cell>
<Table.Cell className="flex whitespace-nowrap p-4">
<span className="mr-2 rounded-md bg-purple-100 py-0.5 px-2.5 text-xs font-medium text-purple-800 dark:bg-purple-200">
In progress
</span>
</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-900 dark:text-white">
Payment from{" "}
<span className="font-semibold">Bonnie Green</span>
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-normal text-gray-500 dark:text-gray-400">
Mar 23, 2021
</Table.Cell>
<Table.Cell className="whitespace-nowrap p-4 text-sm font-semibold text-gray-900 dark:text-white">
$560
</Table.Cell>
<Table.Cell className="flex whitespace-nowrap p-4">
<Badge color="success">Completed</Badge>
</Table.Cell>
</Table.Row>
</Table.Body>
</Table>
</div>
</div>
</div>
</div>
<div className="flex items-center justify-between pt-3 sm:pt-6">
<Datepicker />
<div className="shrink-0">
<a
href="#"
className="inline-flex items-center rounded-lg p-2 text-xs font-medium uppercase text-primary-700 hover:bg-gray-100 dark:text-primary-500 dark:hover:bg-gray-700 sm:text-sm"
>
Transactions Report
<svg
className="ml-1 h-4 w-4 sm:h-5 sm:w-5"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2}
d="M9 5l7 7-7 7"
/>
</svg>
</a>
</div>
</div>
</div>
);
};
export default DashboardPage;