@ammarkhalidfarooq/dashboard-package 0.2.3 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -744,6 +744,508 @@ var DisplayCard = function DisplayCard(_ref) {
744
744
  });
745
745
  };
746
746
 
747
+ var CardWrapper = function CardWrapper(_ref) {
748
+ var title = _ref.title,
749
+ children = _ref.children;
750
+ return /*#__PURE__*/jsxRuntime.jsx(material.Card, {
751
+ sx: {
752
+ width: "100%",
753
+ display: "flex",
754
+ flexDirection: "column",
755
+ boxShadow: "0 4px 24px rgba(0,0,0,0.06)",
756
+ borderRadius: 4,
757
+ border: "1px solid #f0f0f0",
758
+ height: "100%"
759
+ },
760
+ children: /*#__PURE__*/jsxRuntime.jsxs(material.CardContent, {
761
+ sx: {
762
+ p: 3
763
+ },
764
+ children: [/*#__PURE__*/jsxRuntime.jsx(material.Typography, {
765
+ variant: "subtitle2",
766
+ sx: {
767
+ color: "#000000ff",
768
+ fontWeight: 600,
769
+ textTransform: "uppercase",
770
+ letterSpacing: "0.5px",
771
+ mb: 3,
772
+ textAlign: "left"
773
+ },
774
+ children: title
775
+ }), /*#__PURE__*/jsxRuntime.jsx(material.Box, {
776
+ sx: {
777
+ display: "flex",
778
+ flexDirection: "column",
779
+ gap: 2
780
+ },
781
+ children: children
782
+ })]
783
+ })
784
+ });
785
+ };
786
+ var LandingPagesCard = function LandingPagesCard() {
787
+ var data = [{
788
+ page: "/zakat",
789
+ users: "612 users",
790
+ cvr: "1.3% CVR",
791
+ color: "#2E7D32"
792
+ }, {
793
+ page: "/ramadan",
794
+ users: "488 users",
795
+ cvr: "1.1% CVR",
796
+ color: "#2E7D32"
797
+ }, {
798
+ page: "/donate",
799
+ users: "421 users",
800
+ cvr: "0.7% CVR",
801
+ color: "#ED6C02"
802
+ }, {
803
+ page: "/campaigns",
804
+ users: "380 users",
805
+ cvr: "0.5% CVR",
806
+ color: "#ED6C02"
807
+ }, {
808
+ page: "/sadaqah",
809
+ users: "290 users",
810
+ cvr: "0.9% CVR",
811
+ color: "#2E7D32"
812
+ }];
813
+ return /*#__PURE__*/jsxRuntime.jsx(CardWrapper, {
814
+ title: "Top Landing Pages",
815
+ children: data.map(function (item, index) {
816
+ return /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
817
+ sx: {
818
+ display: "flex",
819
+ justifyContent: "space-between",
820
+ alignItems: "center"
821
+ },
822
+ children: [/*#__PURE__*/jsxRuntime.jsx(material.Typography, {
823
+ variant: "body2",
824
+ sx: {
825
+ fontWeight: 500,
826
+ color: "#333"
827
+ },
828
+ children: item.page
829
+ }), /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
830
+ sx: {
831
+ display: "flex",
832
+ gap: 2,
833
+ alignItems: "center"
834
+ },
835
+ children: [/*#__PURE__*/jsxRuntime.jsx(material.Typography, {
836
+ variant: "body2",
837
+ sx: {
838
+ color: "#606062",
839
+ fontWeight: 500
840
+ },
841
+ children: item.users
842
+ }), /*#__PURE__*/jsxRuntime.jsx(material.Typography, {
843
+ variant: "body2",
844
+ sx: {
845
+ color: item.color,
846
+ fontWeight: 600,
847
+ minWidth: "70px",
848
+ textAlign: "right"
849
+ },
850
+ children: item.cvr
851
+ })]
852
+ })]
853
+ }, index);
854
+ })
855
+ });
856
+ };
857
+ var KeywordsCard = function KeywordsCard() {
858
+ var data = [{
859
+ keyword: "zakat calculator",
860
+ volume: "320",
861
+ rank: "#3",
862
+ color: "#E8F5E9",
863
+ textColor: "#2E7D32"
864
+ }, {
865
+ keyword: "donate to ramadan",
866
+ volume: "214",
867
+ rank: "#5",
868
+ color: "#E8F5E9",
869
+ textColor: "#2E7D32"
870
+ }, {
871
+ keyword: "islamic charity uk",
872
+ volume: "198",
873
+ rank: "#11",
874
+ color: "#FFF3E0",
875
+ textColor: "#ED6C02"
876
+ }, {
877
+ keyword: "madinah fundraising",
878
+ volume: "176",
879
+ rank: "#1",
880
+ color: "#E8F5E9",
881
+ textColor: "#2E7D32"
882
+ }, {
883
+ keyword: "online sadaqah",
884
+ volume: "142",
885
+ rank: "#8",
886
+ color: "#FFF3E0",
887
+ textColor: "#ED6C02"
888
+ }];
889
+ return /*#__PURE__*/jsxRuntime.jsx(CardWrapper, {
890
+ title: "Top Keywords",
891
+ children: data.map(function (item, index) {
892
+ return /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
893
+ sx: {
894
+ display: "flex",
895
+ justifyContent: "space-between",
896
+ alignItems: "center"
897
+ },
898
+ children: [/*#__PURE__*/jsxRuntime.jsx(material.Typography, {
899
+ variant: "body2",
900
+ sx: {
901
+ fontWeight: 500,
902
+ color: "#333"
903
+ },
904
+ children: item.keyword
905
+ }), /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
906
+ sx: {
907
+ display: "flex",
908
+ gap: 2,
909
+ alignItems: "center"
910
+ },
911
+ children: [/*#__PURE__*/jsxRuntime.jsx(material.Typography, {
912
+ variant: "body2",
913
+ sx: {
914
+ color: "#606062",
915
+ fontWeight: 500
916
+ },
917
+ children: item.volume
918
+ }), /*#__PURE__*/jsxRuntime.jsx(material.Box, {
919
+ sx: {
920
+ bgcolor: item.color,
921
+ color: item.textColor,
922
+ px: 1,
923
+ py: 0.2,
924
+ borderRadius: 1,
925
+ fontSize: "12px",
926
+ fontWeight: 600,
927
+ minWidth: "30px",
928
+ textAlign: "center"
929
+ },
930
+ children: item.rank
931
+ })]
932
+ })]
933
+ }, index);
934
+ })
935
+ });
936
+ };
937
+ var GeographyCard = function GeographyCard() {
938
+ var data = [{
939
+ code: "GB",
940
+ country: "United Kingdom",
941
+ percentage: 60
942
+ }, {
943
+ code: "US",
944
+ country: "United States",
945
+ percentage: 14
946
+ }, {
947
+ code: "AU",
948
+ country: "Australia",
949
+ percentage: 8
950
+ }, {
951
+ code: "CA",
952
+ country: "Canada",
953
+ percentage: 6
954
+ }, {
955
+ code: "AE",
956
+ country: "UAE",
957
+ percentage: 4
958
+ }];
959
+ return /*#__PURE__*/jsxRuntime.jsx(CardWrapper, {
960
+ title: "Geography Insights",
961
+ children: data.map(function (item, index) {
962
+ return /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
963
+ sx: {
964
+ display: "flex",
965
+ alignItems: "center",
966
+ gap: 2
967
+ },
968
+ children: [/*#__PURE__*/jsxRuntime.jsx(material.Typography, {
969
+ variant: "body2",
970
+ sx: {
971
+ fontWeight: 600,
972
+ color: "#606062",
973
+ minWidth: "25px"
974
+ },
975
+ children: item.code
976
+ }), /*#__PURE__*/jsxRuntime.jsx(material.Typography, {
977
+ variant: "body2",
978
+ sx: {
979
+ fontWeight: 500,
980
+ color: "#333",
981
+ minWidth: "120px",
982
+ textAlign: "left"
983
+ },
984
+ children: item.country
985
+ }), /*#__PURE__*/jsxRuntime.jsx(material.Box, {
986
+ sx: {
987
+ flexGrow: 1,
988
+ mx: 2
989
+ },
990
+ children: /*#__PURE__*/jsxRuntime.jsx(material.LinearProgress, {
991
+ variant: "determinate",
992
+ value: item.percentage,
993
+ sx: {
994
+ height: 6,
995
+ borderRadius: 3,
996
+ bgcolor: "#F0F0F0",
997
+ "& .MuiLinearProgress-bar": {
998
+ bgcolor: "#3498DB",
999
+ borderRadius: 3
1000
+ }
1001
+ }
1002
+ })
1003
+ }), /*#__PURE__*/jsxRuntime.jsxs(material.Typography, {
1004
+ variant: "body2",
1005
+ sx: {
1006
+ fontWeight: 600,
1007
+ color: "#333",
1008
+ minWidth: "35px",
1009
+ textAlign: "right"
1010
+ },
1011
+ children: [item.percentage, "%"]
1012
+ })]
1013
+ }, index);
1014
+ })
1015
+ });
1016
+ };
1017
+ var TopCampaignsRaisedCard = function TopCampaignsRaisedCard() {
1018
+ var data = [{
1019
+ name: "Ramadan Week 3 Appeal",
1020
+ raised: "$1,210 raised",
1021
+ donors: "18 donors",
1022
+ badge: "4.1% CVR",
1023
+ color: "#E8F5E9",
1024
+ textColor: "#2E7D32"
1025
+ }, {
1026
+ name: "Zakat Due Reminder",
1027
+ raised: "$740 raised",
1028
+ donors: "8 donors",
1029
+ badge: "3.2% CVR",
1030
+ color: "#E8F5E9",
1031
+ textColor: "#2E7D32"
1032
+ }, {
1033
+ name: "Last 10 Nights Giving",
1034
+ raised: "$265 raised",
1035
+ donors: "3 donors",
1036
+ badge: "1.8% CVR",
1037
+ color: "#FFF3E0",
1038
+ textColor: "#ED6C02"
1039
+ }];
1040
+ return /*#__PURE__*/jsxRuntime.jsx(CardWrapper, {
1041
+ title: "Top Campaigns - Total Raised",
1042
+ children: data.map(function (item, index) {
1043
+ return /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
1044
+ sx: {
1045
+ display: "flex",
1046
+ flexDirection: "column",
1047
+ gap: 0.5
1048
+ },
1049
+ children: [/*#__PURE__*/jsxRuntime.jsx(material.Typography, {
1050
+ variant: "body2",
1051
+ sx: {
1052
+ fontWeight: 600,
1053
+ color: "#333",
1054
+ textAlign: "left"
1055
+ },
1056
+ children: item.name
1057
+ }), /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
1058
+ sx: {
1059
+ display: "flex",
1060
+ alignItems: "center",
1061
+ gap: 1.5
1062
+ },
1063
+ children: [/*#__PURE__*/jsxRuntime.jsx(material.Typography, {
1064
+ variant: "caption",
1065
+ sx: {
1066
+ color: "#606062",
1067
+ fontWeight: 500
1068
+ },
1069
+ children: item.raised
1070
+ }), /*#__PURE__*/jsxRuntime.jsx(material.Typography, {
1071
+ variant: "caption",
1072
+ sx: {
1073
+ color: "#606062",
1074
+ fontWeight: 500
1075
+ },
1076
+ children: item.donors
1077
+ }), /*#__PURE__*/jsxRuntime.jsx(material.Box, {
1078
+ sx: {
1079
+ bgcolor: item.color,
1080
+ color: item.textColor,
1081
+ px: 1,
1082
+ py: 0.2,
1083
+ borderRadius: 1,
1084
+ fontSize: "11px",
1085
+ fontWeight: 600
1086
+ },
1087
+ children: item.badge
1088
+ })]
1089
+ })]
1090
+ }, index);
1091
+ })
1092
+ });
1093
+ };
1094
+ var TopCampaignsCTRCard = function TopCampaignsCTRCard() {
1095
+ var data = [{
1096
+ name: "Ramadan Week 3 Appeal",
1097
+ ctr: "11.2% CTR",
1098
+ clicks: "480 clicks",
1099
+ badge: "34.8% OR",
1100
+ color: "#E8F5E9",
1101
+ textColor: "#2E7D32"
1102
+ }, {
1103
+ name: "Last 10 Nights Giving",
1104
+ ctr: "9.8% CTR",
1105
+ clicks: "410 clicks",
1106
+ badge: "38.1% OR",
1107
+ color: "#E8F5E9",
1108
+ textColor: "#2E7D32"
1109
+ }, {
1110
+ name: "Zakat Due Reminder",
1111
+ ctr: "6.4% CTR",
1112
+ clicks: "314 clicks",
1113
+ badge: "31.4% OR",
1114
+ color: "#FFF3E0",
1115
+ textColor: "#ED6C02"
1116
+ }];
1117
+ return /*#__PURE__*/jsxRuntime.jsx(CardWrapper, {
1118
+ title: "Top Campaigns - CTR",
1119
+ children: data.map(function (item, index) {
1120
+ return /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
1121
+ sx: {
1122
+ display: "flex",
1123
+ flexDirection: "column",
1124
+ gap: 0.5
1125
+ },
1126
+ children: [/*#__PURE__*/jsxRuntime.jsx(material.Typography, {
1127
+ variant: "body2",
1128
+ sx: {
1129
+ fontWeight: 600,
1130
+ color: "#333",
1131
+ textAlign: "left"
1132
+ },
1133
+ children: item.name
1134
+ }), /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
1135
+ sx: {
1136
+ display: "flex",
1137
+ alignItems: "center",
1138
+ gap: 1.5
1139
+ },
1140
+ children: [/*#__PURE__*/jsxRuntime.jsx(material.Typography, {
1141
+ variant: "caption",
1142
+ sx: {
1143
+ color: "#606062",
1144
+ fontWeight: 500
1145
+ },
1146
+ children: item.ctr
1147
+ }), /*#__PURE__*/jsxRuntime.jsx(material.Typography, {
1148
+ variant: "caption",
1149
+ sx: {
1150
+ color: "#606062",
1151
+ fontWeight: 500
1152
+ },
1153
+ children: item.clicks
1154
+ }), /*#__PURE__*/jsxRuntime.jsx(material.Box, {
1155
+ sx: {
1156
+ bgcolor: item.color,
1157
+ color: item.textColor,
1158
+ px: 1,
1159
+ py: 0.2,
1160
+ borderRadius: 1,
1161
+ fontSize: "11px",
1162
+ fontWeight: 600
1163
+ },
1164
+ children: item.badge
1165
+ })]
1166
+ })]
1167
+ }, index);
1168
+ })
1169
+ });
1170
+ };
1171
+ var TopCampaignsConvRateCard = function TopCampaignsConvRateCard() {
1172
+ var data = [{
1173
+ name: "Ramadan Week 3 Appeal",
1174
+ cvr: "4.1% CVR",
1175
+ raised: "$1,210 raised",
1176
+ badge: "$2.52 RPC",
1177
+ color: "#E8F5E9",
1178
+ textColor: "#2E7D32"
1179
+ }, {
1180
+ name: "Zakat Due Reminder",
1181
+ cvr: "3.2% CVR",
1182
+ raised: "$740 raised",
1183
+ badge: "$2.36 RPC",
1184
+ color: "#E8F5E9",
1185
+ textColor: "#2E7D32"
1186
+ }, {
1187
+ name: "Last 10 Nights Giving",
1188
+ cvr: "1.8% CVR",
1189
+ raised: "$265 raised",
1190
+ badge: "$0.65 RPC",
1191
+ color: "#FFF3E0",
1192
+ textColor: "#ED6C02"
1193
+ }];
1194
+ return /*#__PURE__*/jsxRuntime.jsx(CardWrapper, {
1195
+ title: "Top Campaigns - Conv. Rate",
1196
+ children: data.map(function (item, index) {
1197
+ return /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
1198
+ sx: {
1199
+ display: "flex",
1200
+ flexDirection: "column",
1201
+ gap: 0.5
1202
+ },
1203
+ children: [/*#__PURE__*/jsxRuntime.jsx(material.Typography, {
1204
+ variant: "body2",
1205
+ sx: {
1206
+ fontWeight: 600,
1207
+ color: "#333",
1208
+ textAlign: "left"
1209
+ },
1210
+ children: item.name
1211
+ }), /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
1212
+ sx: {
1213
+ display: "flex",
1214
+ alignItems: "center",
1215
+ gap: 1.5
1216
+ },
1217
+ children: [/*#__PURE__*/jsxRuntime.jsx(material.Typography, {
1218
+ variant: "caption",
1219
+ sx: {
1220
+ color: "#606062",
1221
+ fontWeight: 500
1222
+ },
1223
+ children: item.cvr
1224
+ }), /*#__PURE__*/jsxRuntime.jsx(material.Typography, {
1225
+ variant: "caption",
1226
+ sx: {
1227
+ color: "#606062",
1228
+ fontWeight: 500
1229
+ },
1230
+ children: item.raised
1231
+ }), /*#__PURE__*/jsxRuntime.jsx(material.Box, {
1232
+ sx: {
1233
+ bgcolor: item.color,
1234
+ color: item.textColor,
1235
+ px: 1,
1236
+ py: 0.2,
1237
+ borderRadius: 1,
1238
+ fontSize: "11px",
1239
+ fontWeight: 600
1240
+ },
1241
+ children: item.badge
1242
+ })]
1243
+ })]
1244
+ }, index);
1245
+ })
1246
+ });
1247
+ };
1248
+
747
1249
  var OrganicSection = function OrganicSection(_ref) {
748
1250
  var _ref$apiData = _ref.apiData,
749
1251
  apiData = _ref$apiData === void 0 ? {} : _ref$apiData;
@@ -770,9 +1272,9 @@ var OrganicSection = function OrganicSection(_ref) {
770
1272
  categories: categories
771
1273
  };
772
1274
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
773
- children: [" ", /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
1275
+ children: [" ", /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
774
1276
  sx: {
775
- display: 'flex',
1277
+ display: "flex",
776
1278
  gap: 2,
777
1279
  mb: 5
778
1280
  },
@@ -839,6 +1341,177 @@ var OrganicSection = function OrganicSection(_ref) {
839
1341
  type: "donut",
840
1342
  metric: "Revenue"
841
1343
  })]
1344
+ }), /*#__PURE__*/jsxRuntime.jsxs(material.Grid, {
1345
+ container: true,
1346
+ spacing: 3,
1347
+ sx: {
1348
+ mt: 4
1349
+ },
1350
+ children: [/*#__PURE__*/jsxRuntime.jsx(material.Grid, {
1351
+ item: true,
1352
+ xs: 12,
1353
+ md: 4,
1354
+ children: /*#__PURE__*/jsxRuntime.jsx(LandingPagesCard, {})
1355
+ }), /*#__PURE__*/jsxRuntime.jsx(material.Grid, {
1356
+ item: true,
1357
+ xs: 12,
1358
+ md: 4,
1359
+ children: /*#__PURE__*/jsxRuntime.jsx(KeywordsCard, {})
1360
+ }), /*#__PURE__*/jsxRuntime.jsx(material.Grid, {
1361
+ item: true,
1362
+ xs: 12,
1363
+ md: 4,
1364
+ children: /*#__PURE__*/jsxRuntime.jsx(GeographyCard, {})
1365
+ })]
1366
+ })]
1367
+ });
1368
+ };
1369
+
1370
+ var EmailSection = function EmailSection() {
1371
+ var categories = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"];
1372
+ var dailyPerformance = {
1373
+ label: "Clicks & Unique Clicks Trend",
1374
+ series: [{
1375
+ name: "Clicks",
1376
+ data: [3200, 4100, 2800, 5600, 4200, 6100, 7500]
1377
+ }, {
1378
+ name: "Unique Clicks",
1379
+ data: [800, 950, 700, 1100, 900, 1200, 1300]
1380
+ }],
1381
+ categories: categories
1382
+ };
1383
+ var spendAllocation = {
1384
+ label: "Bounce Rate Trend",
1385
+ data: [20, 25, 30, 35, 40, 45, 50],
1386
+ categories: categories
1387
+ };
1388
+ var roasTrend = {
1389
+ label: "Open Rate Trend",
1390
+ data: [20, 25, 30, 35, 40, 45, 50],
1391
+ categories: categories
1392
+ };
1393
+ return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1394
+ children: [/*#__PURE__*/jsxRuntime.jsxs(material.Box, {
1395
+ sx: {
1396
+ display: "flex",
1397
+ gap: 2,
1398
+ mb: 2
1399
+ },
1400
+ children: [/*#__PURE__*/jsxRuntime.jsx(DisplayCard, {
1401
+ title: "Open Rate",
1402
+ value: "32%",
1403
+ sx: {
1404
+ flex: 1
1405
+ }
1406
+ }), /*#__PURE__*/jsxRuntime.jsx(DisplayCard, {
1407
+ title: "Bounce Rate",
1408
+ value: "1.8%",
1409
+ sx: {
1410
+ flex: 1
1411
+ }
1412
+ }), /*#__PURE__*/jsxRuntime.jsx(DisplayCard, {
1413
+ title: "Clicks",
1414
+ value: "1,204",
1415
+ sx: {
1416
+ flex: 1
1417
+ }
1418
+ }), /*#__PURE__*/jsxRuntime.jsx(DisplayCard, {
1419
+ title: "Unique Clicks",
1420
+ value: "987",
1421
+ sx: {
1422
+ flex: 1
1423
+ }
1424
+ }), /*#__PURE__*/jsxRuntime.jsx(DisplayCard, {
1425
+ title: "CTR",
1426
+ value: "4.8%",
1427
+ sx: {
1428
+ flex: 1
1429
+ }
1430
+ })]
1431
+ }), /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
1432
+ sx: {
1433
+ display: "flex",
1434
+ gap: 2
1435
+ },
1436
+ children: [/*#__PURE__*/jsxRuntime.jsx(DisplayCard, {
1437
+ title: "Donations",
1438
+ value: "29",
1439
+ sx: {
1440
+ flex: 1
1441
+ }
1442
+ }), /*#__PURE__*/jsxRuntime.jsx(DisplayCard, {
1443
+ title: "CONV.Rate",
1444
+ value: "2.9%",
1445
+ sx: {
1446
+ flex: 1
1447
+ }
1448
+ }), /*#__PURE__*/jsxRuntime.jsx(DisplayCard, {
1449
+ title: "RPC",
1450
+ value: "$1.84",
1451
+ sx: {
1452
+ flex: 1
1453
+ }
1454
+ }), /*#__PURE__*/jsxRuntime.jsx(DisplayCard, {
1455
+ title: "TOTAL RAISED (EMAIL)",
1456
+ value: "$2,215",
1457
+ sx: {
1458
+ flex: 1
1459
+ }
1460
+ }), /*#__PURE__*/jsxRuntime.jsx(DisplayCard, {
1461
+ title: "AVG DONATION",
1462
+ value: "$76.4",
1463
+ sx: {
1464
+ flex: 1
1465
+ }
1466
+ })]
1467
+ }), /*#__PURE__*/jsxRuntime.jsxs(material.Grid, {
1468
+ container: true,
1469
+ spacing: 3,
1470
+ sx: {
1471
+ mt: 4
1472
+ },
1473
+ children: [/*#__PURE__*/jsxRuntime.jsx(RenderChartCard, {
1474
+ item: roasTrend,
1475
+ index: 2,
1476
+ md: 4,
1477
+ type: "area",
1478
+ metric: "ROAS",
1479
+ isPrimary: true
1480
+ }), /*#__PURE__*/jsxRuntime.jsx(RenderChartCard, {
1481
+ item: dailyPerformance,
1482
+ index: 0,
1483
+ md: 4,
1484
+ type: "bar",
1485
+ metric: "Revenue"
1486
+ }), /*#__PURE__*/jsxRuntime.jsx(RenderChartCard, {
1487
+ item: spendAllocation,
1488
+ index: 1,
1489
+ md: 4,
1490
+ type: "area",
1491
+ metric: "Revenue"
1492
+ })]
1493
+ }), /*#__PURE__*/jsxRuntime.jsxs(material.Grid, {
1494
+ container: true,
1495
+ spacing: 3,
1496
+ sx: {
1497
+ mt: 4
1498
+ },
1499
+ children: [/*#__PURE__*/jsxRuntime.jsx(material.Grid, {
1500
+ item: true,
1501
+ xs: 12,
1502
+ md: 4,
1503
+ children: /*#__PURE__*/jsxRuntime.jsx(TopCampaignsRaisedCard, {})
1504
+ }), /*#__PURE__*/jsxRuntime.jsx(material.Grid, {
1505
+ item: true,
1506
+ xs: 12,
1507
+ md: 4,
1508
+ children: /*#__PURE__*/jsxRuntime.jsx(TopCampaignsCTRCard, {})
1509
+ }), /*#__PURE__*/jsxRuntime.jsx(material.Grid, {
1510
+ item: true,
1511
+ xs: 12,
1512
+ md: 4,
1513
+ children: /*#__PURE__*/jsxRuntime.jsx(TopCampaignsConvRateCard, {})
1514
+ })]
842
1515
  })]
843
1516
  });
844
1517
  };
@@ -942,7 +1615,7 @@ var NewOverview = function NewOverview(_ref) {
942
1615
  }) : categories;
943
1616
  var primaryCharts = [{
944
1617
  label: "Total Revenue",
945
- value: totalRevData.length > 0 ? "$".concat(totalRevTotal.toLocaleString()) : typeof (apiData === null || apiData === void 0 ? void 0 : apiData.totalRevenue) === 'string' ? apiData.totalRevenue : "$9,200.00",
1618
+ value: totalRevData.length > 0 ? "$".concat(totalRevTotal.toLocaleString()) : typeof (apiData === null || apiData === void 0 ? void 0 : apiData.totalRevenue) === "string" ? apiData.totalRevenue : "$9,200.00",
946
1619
  subValue: "Total Donations: ".concat((apiData === null || apiData === void 0 ? void 0 : apiData.totalDonations) || 215),
947
1620
  data: totalRevValues,
948
1621
  categories: totalRevCategories,
@@ -1041,7 +1714,8 @@ var NewOverview = function NewOverview(_ref) {
1041
1714
  sx: {
1042
1715
  fontWeight: "bold",
1043
1716
  color: "primary.main",
1044
- mb: 4
1717
+ mb: 2,
1718
+ mt: 2
1045
1719
  },
1046
1720
  children: "Overview"
1047
1721
  }), /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
@@ -1089,9 +1763,9 @@ var NewOverview = function NewOverview(_ref) {
1089
1763
  }), /*#__PURE__*/jsxRuntime.jsxs(React.Suspense, {
1090
1764
  fallback: /*#__PURE__*/jsxRuntime.jsx(material.Box, {
1091
1765
  sx: {
1092
- display: 'flex',
1093
- justifyContent: 'center',
1094
- alignItems: 'center',
1766
+ display: "flex",
1767
+ justifyContent: "center",
1768
+ alignItems: "center",
1095
1769
  py: 10
1096
1770
  },
1097
1771
  children: /*#__PURE__*/jsxRuntime.jsx(material.CircularProgress, {
@@ -1117,7 +1791,7 @@ var NewOverview = function NewOverview(_ref) {
1117
1791
  sx: {
1118
1792
  p: 2
1119
1793
  },
1120
- children: "Email Section Content (Coming Soon)"
1794
+ children: /*#__PURE__*/jsxRuntime.jsx(EmailSection, {})
1121
1795
  })]
1122
1796
  })]
1123
1797
  });
@@ -1189,7 +1863,8 @@ var PerformanceSection = function PerformanceSection(_ref) {
1189
1863
  sx: {
1190
1864
  fontWeight: "bold",
1191
1865
  color: "primary.main",
1192
- mb: 4
1866
+ mb: 2,
1867
+ mt: 2
1193
1868
  },
1194
1869
  children: "Performance"
1195
1870
  })
@@ -1491,7 +2166,8 @@ var RecurringRevenueSection = function RecurringRevenueSection() {
1491
2166
  sx: {
1492
2167
  fontWeight: "bold",
1493
2168
  color: "primary.main",
1494
- mb: 4
2169
+ mb: 2,
2170
+ mt: 2
1495
2171
  },
1496
2172
  children: "Recurring revenue"
1497
2173
  })
@@ -2103,7 +2779,8 @@ var DonorBehavior = function DonorBehavior() {
2103
2779
  sx: {
2104
2780
  fontWeight: "bold",
2105
2781
  color: "primary.main",
2106
- mb: 4
2782
+ mb: 2,
2783
+ mt: 2
2107
2784
  },
2108
2785
  children: "Donor Behavior"
2109
2786
  })
@@ -2799,7 +3476,8 @@ var RecurringPlans = function RecurringPlans(_ref) {
2799
3476
  sx: {
2800
3477
  fontWeight: "bold",
2801
3478
  color: "primary.main",
2802
- mb: 4
3479
+ mb: 2,
3480
+ mt: 2
2803
3481
  },
2804
3482
  children: "Recurring Plans"
2805
3483
  })
@@ -5154,7 +5832,8 @@ var UpdateEmails = function UpdateEmails() {
5154
5832
  sx: {
5155
5833
  fontWeight: "bold",
5156
5834
  color: "primary.main",
5157
- mb: 4
5835
+ mb: 2,
5836
+ mt: 2
5158
5837
  },
5159
5838
  children: "Update Emails"
5160
5839
  })