Spaces:
Running
Running
File size: 77,882 Bytes
46372e9 |
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 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EVLEND - EV Automobile Loan Syndication</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.floating-window {
position: fixed;
bottom: 20px;
right: 20px;
width: 350px;
height: 500px;
background: white;
border-radius: 10px;
box-shadow: 0 10px 25px rgba(0,0,0,0.2);
z-index: 1000;
display: none;
flex-direction: column;
overflow: hidden;
transition: all 0.3s ease;
}
.floating-header {
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
color: white;
padding: 12px 15px;
display: flex;
justify-content: space-between;
align-items: center;
}
.floating-content {
flex: 1;
overflow-y: auto;
padding: 15px;
}
.deal-card {
border: 1px solid #e5e7eb;
border-radius: 8px;
padding: 12px;
margin-bottom: 10px;
transition: all 0.2s ease;
}
.deal-card:hover {
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
transform: translateY(-2px);
}
.floating-btn {
position: fixed;
bottom: 20px;
right: 20px;
width: 60px;
height: 60px;
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
color: white;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
cursor: pointer;
z-index: 999;
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
}
.tab-button.active {
border-bottom: 3px solid #10b981;
color: #10b981;
font-weight: 600;
}
.crypto-badge {
display: inline-flex;
align-items: center;
padding: 2px 8px;
border-radius: 4px;
font-size: 12px;
font-weight: 500;
margin-right: 5px;
}
.progress-bar {
height: 6px;
border-radius: 3px;
background-color: #e5e7eb;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
}
.blink {
animation: blink 2s infinite;
}
@keyframes blink {
0% { opacity: 1; }
50% { opacity: 0.5; }
100% { opacity: 1; }
}
.telegram-btn {
position: fixed;
bottom: 90px;
right: 20px;
width: 60px;
height: 60px;
background: #0088cc;
color: white;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
cursor: pointer;
z-index: 999;
transition: all 0.3s ease;
}
.telegram-btn:hover {
transform: scale(1.1);
}
.legal-badge {
display: inline-block;
background-color: #f3f4f6;
color: #4b5563;
padding: 2px 8px;
border-radius: 4px;
font-size: 11px;
margin-right: 5px;
margin-bottom: 5px;
}
.subscription-badge {
display: inline-block;
background-color: #e0f2fe;
color: #0369a1;
padding: 2px 8px;
border-radius: 4px;
font-size: 11px;
margin-right: 5px;
margin-bottom: 5px;
}
.ev-icon {
color: #10b981;
}
.subscription-card {
border: 1px solid #e5e7eb;
border-radius: 8px;
padding: 15px;
transition: all 0.3s ease;
}
.subscription-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.subscription-card.popular {
border: 2px solid #10b981;
position: relative;
overflow: hidden;
}
.popular-tag {
position: absolute;
top: 0;
right: 0;
background: #10b981;
color: white;
padding: 3px 10px;
font-size: 12px;
border-bottom-left-radius: 8px;
}
</style>
</head>
<body class="bg-gray-50">
<!-- Header -->
<header class="bg-gradient-to-r from-green-600 to-emerald-600 text-white">
<div class="container mx-auto px-4 py-6">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2">
<i class="fas fa-bolt ev-icon text-2xl"></i>
<h1 class="text-2xl font-bold">EVLEND</h1>
</div>
<nav class="hidden md:flex space-x-6">
<a href="#about" class="hover:text-green-200 transition">About</a>
<a href="#how-it-works" class="hover:text-green-200 transition">How It Works</a>
<a href="#current-deals" class="hover:text-green-200 transition">Current Deals</a>
<a href="#subscriptions" class="hover:text-green-200 transition">Subscriptions</a>
<a href="#terms" class="hover:text-green-200 transition">Terms</a>
</nav>
<button class="md:hidden text-xl">
<i class="fas fa-bars"></i>
</button>
</div>
<div class="mt-12 mb-16 text-center">
<h2 class="text-4xl md:text-5xl font-bold mb-4">EV Automobile Loan Syndication</h2>
<p class="text-xl md:text-2xl max-w-3xl mx-auto">Participate in EV loan syndications with flexible crypto payment options and subscription plans</p>
<div class="mt-8 flex justify-center space-x-4">
<button class="bg-white text-green-600 px-6 py-3 rounded-lg font-semibold hover:bg-gray-100 transition">Explore Deals</button>
<button class="border border-white px-6 py-3 rounded-lg font-semibold hover:bg-white hover:text-green-600 transition">Learn More</button>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="container mx-auto px-4 py-12">
<!-- About Section -->
<section id="about" class="mb-20">
<div class="text-center mb-12">
<h2 class="text-3xl font-bold mb-4">Revolutionizing EV Loan Financing</h2>
<p class="text-gray-600 max-w-3xl mx-auto">EVLEND combines EV automobile loan syndication with blockchain technology to create transparent, efficient, and accessible investment opportunities.</p>
<div class="mt-6 flex flex-wrap justify-center">
<span class="legal-badge">Syndicate by EVLEND 2023</span>
<span class="legal-badge">Automobile loan origination</span>
<span class="legal-badge">Consumer lending compliance</span>
<span class="legal-badge">SAFE Act 12 U.S.C. §§ 5101 et seq.</span>
<span class="legal-badge">Cal. Fin. Code § 22050.5</span>
</div>
</div>
<div class="grid md:grid-cols-3 gap-8">
<div class="bg-white p-6 rounded-xl shadow-md">
<div class="text-green-600 text-3xl mb-4">
<i class="fas fa-users"></i>
</div>
<h3 class="text-xl font-semibold mb-2">Club Deal Syndication</h3>
<p class="text-gray-600">Small group of lenders collectively providing funds for EV loans with pre-arranged commitments.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-md">
<div class="text-green-600 text-3xl mb-4">
<i class="fas fa-handshake"></i>
</div>
<h3 class="text-xl font-semibold mb-2">Best-Efforts Syndication</h3>
<p class="text-gray-600">Syndicate attempts to sell the EV loan to investors but isn't obligated to provide any unfunded amounts.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-md">
<div class="text-green-600 text-3xl mb-4">
<i class="fas fa-calendar-alt"></i>
</div>
<h3 class="text-xl font-semibold mb-2">Flexible Subscriptions</h3>
<p class="text-gray-600">Weekly, monthly, quarterly, semi-annual, or annual participation plans to match your investment strategy.</p>
</div>
</div>
</section>
<!-- How It Works Section -->
<section id="how-it-works" class="mb-20">
<div class="text-center mb-12">
<h2 class="text-3xl font-bold mb-4">The EV Loan Syndication Process</h2>
<p class="text-gray-600 max-w-3xl mx-auto">Our streamlined process makes participating in EV loan syndication accessible to all.</p>
</div>
<div class="relative">
<div class="hidden md:block absolute left-1/2 top-0 h-full w-1 bg-green-200 transform -translate-x-1/2"></div>
<div class="grid md:grid-cols-2 gap-8 mb-8">
<div class="md:text-right">
<h3 class="text-xl font-semibold mb-2">1. Deal Origination</h3>
<p class="text-gray-600">Our team sources high-quality EV loan opportunities with thorough due diligence on borrowers and vehicles.</p>
</div>
<div></div>
</div>
<div class="grid md:grid-cols-2 gap-8 mb-8">
<div></div>
<div>
<h3 class="text-xl font-semibold mb-2">2. Deal Structuring</h3>
<p class="text-gray-600">We determine the optimal syndication structure (Club Deal or Best-Efforts) based on the loan characteristics.</p>
</div>
</div>
<div class="grid md:grid-cols-2 gap-8 mb-8">
<div class="md:text-right">
<h3 class="text-xl font-semibold mb-2">3. Investor Participation</h3>
<p class="text-gray-600">Participants commit funds in BTC, ETH, USDC, or USDT through our secure platform or choose a subscription plan.</p>
</div>
<div></div>
</div>
<div class="grid md:grid-cols-2 gap-8 mb-8">
<div></div>
<div>
<h3 class="text-xl font-semibold mb-2">4. Closing & Funding</h3>
<p class="text-gray-600">Once fully subscribed, the EV loan is funded and the vehicle is delivered to the borrower with GPS tracking.</p>
</div>
</div>
<div class="grid md:grid-cols-2 gap-8">
<div class="md:text-right">
<h3 class="text-xl font-semibold mb-2">5. Loan Servicing</h3>
<p class="text-gray-600">We handle all loan servicing and distribute payments to participants in their chosen cryptocurrency or fiat.</p>
</div>
<div></div>
</div>
</div>
</section>
<!-- Current Deals Section -->
<section id="current-deals" class="mb-20">
<div class="text-center mb-12">
<h2 class="text-3xl font-bold mb-4">Current EV Loan Syndication Opportunities</h2>
<p class="text-gray-600 max-w-3xl mx-auto">Browse our available EV loan syndication deals and participate with cryptocurrency or subscription plans.</p>
</div>
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="flex border-b">
<button class="tab-button active px-6 py-4 font-medium" data-tab="club-deals">Club Deals</button>
<button class="tab-button px-6 py-4 font-medium" data-tab="best-efforts">Best-Efforts</button>
</div>
<div class="p-6">
<!-- Club Deals Tab -->
<div id="club-deals" class="tab-content active">
<div class="grid md:grid-cols-2 gap-6">
<!-- Deal 1 -->
<div class="deal-card">
<div class="flex justify-between items-start mb-3">
<div>
<h3 class="font-semibold text-lg">Tesla Model 3 Fleet Loan</h3>
<p class="text-gray-500 text-sm">Ref #: CD-EV-2023-1001</p>
</div>
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded">Club Deal</span>
</div>
<div class="mb-4">
<div class="flex flex-wrap mb-2">
<span class="crypto-badge bg-orange-100 text-orange-800"><i class="fab fa-bitcoin mr-1"></i> BTC</span>
<span class="crypto-badge bg-blue-100 text-blue-800"><i class="fab fa-ethereum mr-1"></i> ETH</span>
<span class="crypto-badge bg-purple-100 text-purple-800"><i class="fas fa-dollar-sign mr-1"></i> USDC</span>
<span class="crypto-badge bg-teal-100 text-teal-800"><i class="fas fa-dollar-sign mr-1"></i> USDT</span>
</div>
<div class="flex justify-between text-sm mb-1">
<span>Target: $2,500,000</span>
<span>Raised: $2,000,000 (80%)</span>
</div>
<div class="progress-bar">
<div class="progress-fill" style="width: 80%"></div>
</div>
</div>
<div class="grid grid-cols-2 gap-4 mb-4">
<div>
<p class="text-gray-500 text-sm">Term</p>
<p class="font-medium">36 months</p>
</div>
<div>
<p class="text-gray-500 text-sm">Interest Rate</p>
<p class="font-medium">9.25% fixed</p>
</div>
<div>
<p class="text-gray-500 text-sm">Vehicle Type</p>
<p class="font-medium">15 Tesla Model 3</p>
</div>
<div>
<p class="text-gray-500 text-sm">LTV Ratio</p>
<p class="font-medium">75%</p>
</div>
</div>
<div class="flex justify-between">
<button class="text-green-600 hover:text-green-800 text-sm font-medium">Details</button>
<button class="bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded text-sm font-medium participate-btn" data-deal="CD-EV-2023-1001">Participate</button>
</div>
</div>
<!-- Deal 2 -->
<div class="deal-card">
<div class="flex justify-between items-start mb-3">
<div>
<h3 class="font-semibold text-lg">Rivian R1T Commercial Loan</h3>
<p class="text-gray-500 text-sm">Ref #: CD-EV-2023-1002</p>
</div>
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded">Club Deal</span>
</div>
<div class="mb-4">
<div class="flex flex-wrap mb-2">
<span class="crypto-badge bg-orange-100 text-orange-800"><i class="fab fa-bitcoin mr-1"></i> BTC</span>
<span class="crypto-badge bg-purple-100 text-purple-800"><i class="fas fa-dollar-sign mr-1"></i> USDC</span>
<span class="crypto-badge bg-teal-100 text-teal-800"><i class="fas fa-dollar-sign mr-1"></i> USDT</span>
</div>
<div class="flex justify-between text-sm mb-1">
<span>Target: $1,800,000</span>
<span>Raised: $1,530,000 (85%)</span>
</div>
<div class="progress-bar">
<div class="progress-fill" style="width: 85%"></div>
</div>
</div>
<div class="grid grid-cols-2 gap-4 mb-4">
<div>
<p class="text-gray-500 text-sm">Term</p>
<p class="font-medium">48 months</p>
</div>
<div>
<p class="text-gray-500 text-sm">Interest Rate</p>
<p class="font-medium">8.75% fixed</p>
</div>
<div>
<p class="text-gray-500 text-sm">Vehicle Type</p>
<p class="font-medium">12 Rivian R1T</p>
</div>
<div>
<p class="text-gray-500 text-sm">LTV Ratio</p>
<p class="font-medium">70%</p>
</div>
</div>
<div class="flex justify-between">
<button class="text-green-600 hover:text-green-800 text-sm font-medium">Details</button>
<button class="bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded text-sm font-medium participate-btn" data-deal="CD-EV-2023-1002">Participate</button>
</div>
</div>
</div>
</div>
<!-- Best-Efforts Tab -->
<div id="best-efforts" class="tab-content">
<div class="grid md:grid-cols-2 gap-6">
<!-- Deal 1 -->
<div class="deal-card">
<div class="flex justify-between items-start mb-3">
<div>
<h3 class="font-semibold text-lg">Lucid Air Retail Loan Pool</h3>
<p class="text-gray-500 text-sm">Ref #: BE-EV-2023-2001</p>
</div>
<span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded">Best-Efforts</span>
</div>
<div class="mb-4">
<div class="flex flex-wrap mb-2">
<span class="crypto-badge bg-orange-100 text-orange-800"><i class="fab fa-bitcoin mr-1"></i> BTC</span>
<span class="crypto-badge bg-blue-100 text-blue-800"><i class="fab fa-ethereum mr-1"></i> ETH</span>
<span class="crypto-badge bg-purple-100 text-purple-800"><i class="fas fa-dollar-sign mr-1"></i> USDC</span>
</div>
<div class="flex justify-between text-sm mb-1">
<span>Target: $3,200,000</span>
<span>Raised: $2,240,000 (70%)</span>
</div>
<div class="progress-bar">
<div class="progress-fill" style="width: 70%"></div>
</div>
</div>
<div class="grid grid-cols-2 gap-4 mb-4">
<div>
<p class="text-gray-500 text-sm">Term</p>
<p class="font-medium">60 months</p>
</div>
<div>
<p class="text-gray-500 text-sm">Interest Rate</p>
<p class="font-medium">10.5% fixed</p>
</div>
<div>
<p class="text-gray-500 text-sm">Vehicle Type</p>
<p class="font-medium">20 Lucid Air</p>
</div>
<div>
<p class="text-gray-500 text-sm">LTV Ratio</p>
<p class="font-medium">80%</p>
</div>
</div>
<div class="flex justify-between">
<button class="text-green-600 hover:text-green-800 text-sm font-medium">Details</button>
<button class="bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded text-sm font-medium participate-btn" data-deal="BE-EV-2023-2001">Participate</button>
</div>
</div>
<!-- Deal 2 -->
<div class="deal-card">
<div class="flex justify-between items-start mb-3">
<div>
<h3 class="font-semibold text-lg">Ford F-150 Lightning Fleet</h3>
<p class="text-gray-500 text-sm">Ref #: BE-EV-2023-2002</p>
</div>
<span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded">Best-Efforts</span>
</div>
<div class="mb-4">
<div class="flex flex-wrap mb-2">
<span class="crypto-badge bg-orange-100 text-orange-800"><i class="fab fa-bitcoin mr-1"></i> BTC</span>
<span class="crypto-badge bg-blue-100 text-blue-800"><i class="fab fa-ethereum mr-1"></i> ETH</span>
<span class="crypto-badge bg-teal-100 text-teal-800"><i class="fas fa-dollar-sign mr-1"></i> USDT</span>
</div>
<div class="flex justify-between text-sm mb-1">
<span>Target: $2,700,000</span>
<span>Raised: $1,890,000 (70%)</span>
</div>
<div class="progress-bar">
<div class="progress-fill" style="width: 70%"></div>
</div>
</div>
<div class="grid grid-cols-2 gap-4 mb-4">
<div>
<p class="text-gray-500 text-sm">Term</p>
<p class="font-medium">48 months</p>
</div>
<div>
<p class="text-gray-500 text-sm">Interest Rate</p>
<p class="font-medium">9.5% fixed</p>
</div>
<div>
<p class="text-gray-500 text-sm">Vehicle Type</p>
<p class="font-medium">18 Ford F-150 Lightning</p>
</div>
<div>
<p class="text-gray-500 text-sm">LTV Ratio</p>
<p class="font-medium">75%</p>
</div>
</div>
<div class="flex justify-between">
<button class="text-green-600 hover:text-green-800 text-sm font-medium">Details</button>
<button class="bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded text-sm font-medium participate-btn" data-deal="BE-EV-2023-2002">Participate</button>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Subscription Plans Section -->
<section id="subscriptions" class="mb-20">
<div class="text-center mb-12">
<h2 class="text-3xl font-bold mb-4">Flexible Subscription Plans</h2>
<p class="text-gray-600 max-w-3xl mx-auto">Choose the subscription plan that matches your investment strategy and cash flow needs.</p>
</div>
<div class="grid md:grid-cols-5 gap-6">
<!-- Weekly Plan -->
<div class="subscription-card">
<div class="text-center mb-4">
<h3 class="font-semibold text-lg">Weekly</h3>
<p class="text-green-600 font-medium">7-day cycles</p>
</div>
<div class="text-center mb-6">
<span class="text-3xl font-bold">5.5%</span>
<span class="text-gray-500">APY</span>
</div>
<ul class="space-y-2 text-sm text-gray-600 mb-6">
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>Auto-renews every 7 days</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>Early withdrawal penalty: 1%</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>Minimum: $5,000</span>
</li>
</ul>
<button class="w-full bg-green-600 hover:bg-green-700 text-white py-2 rounded-lg font-medium">Subscribe</button>
</div>
<!-- Monthly Plan -->
<div class="subscription-card">
<div class="text-center mb-4">
<h3 class="font-semibold text-lg">Monthly</h3>
<p class="text-green-600 font-medium">30-day cycles</p>
</div>
<div class="text-center mb-6">
<span class="text-3xl font-bold">6.25%</span>
<span class="text-gray-500">APY</span>
</div>
<ul class="space-y-2 text-sm text-gray-600 mb-6">
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>Auto-renews every 30 days</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>Early withdrawal penalty: 0.75%</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>Minimum: $5,000</span>
</li>
</ul>
<button class="w-full bg-green-600 hover:bg-green-700 text-white py-2 rounded-lg font-medium">Subscribe</button>
</div>
<!-- Quarterly Plan -->
<div class="subscription-card popular">
<div class="popular-tag">Most Popular</div>
<div class="text-center mb-4">
<h3 class="font-semibold text-lg">Quarterly</h3>
<p class="text-green-600 font-medium">90-day cycles</p>
</div>
<div class="text-center mb-6">
<span class="text-3xl font-bold">7.5%</span>
<span class="text-gray-500">APY</span>
</div>
<ul class="space-y-2 text-sm text-gray-600 mb-6">
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>Auto-renews every 90 days</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>Early withdrawal penalty: 0.5%</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>Minimum: $5,000</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>Priority deal access</span>
</li>
</ul>
<button class="w-full bg-green-600 hover:bg-green-700 text-white py-2 rounded-lg font-medium">Subscribe</button>
</div>
<!-- Semi-Annual Plan -->
<div class="subscription-card">
<div class="text-center mb-4">
<h3 class="font-semibold text-lg">Semi-Annual</h3>
<p class="text-green-600 font-medium">180-day cycles</p>
</div>
<div class="text-center mb-6">
<span class="text-3xl font-bold">8.25%</span>
<span class="text-gray-500">APY</span>
</div>
<ul class="space-y-2 text-sm text-gray-600 mb-6">
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>Auto-renews every 180 days</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>Early withdrawal penalty: 0.25%</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>Minimum: $5,000</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>Priority deal access</span>
</li>
</ul>
<button class="w-full bg-green-600 hover:bg-green-700 text-white py-2 rounded-lg font-medium">Subscribe</button>
</div>
<!-- Annual Plan -->
<div class="subscription-card">
<div class="text-center mb-4">
<h3 class="font-semibold text-lg">Annual</h3>
<p class="text-green-600 font-medium">365-day cycles</p>
</div>
<div class="text-center mb-6">
<span class="text-3xl font-bold">9.5%</span>
<span class="text-gray-500">APY</span>
</div>
<ul class="space-y-2 text-sm text-gray-600 mb-6">
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>Auto-renews every 365 days</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>No early withdrawal penalty</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>Minimum: $5,000</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>VIP deal access</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-green-500 mt-1 mr-2"></i>
<span>Personal account manager</span>
</li>
</ul>
<button class="w-full bg-green-600 hover:bg-green-700 text-white py-2 rounded-lg font-medium">Subscribe</button>
</div>
</div>
<div class="mt-12 bg-white rounded-xl shadow-md p-6">
<h3 class="text-xl font-semibold mb-4 text-center">Custom Subscription Request</h3>
<form id="custom-subscription-form">
<div class="grid md:grid-cols-2 gap-6 mb-6">
<div>
<label class="block text-gray-700 text-sm font-medium mb-2" for="subscription-amount">Investment Amount</label>
<div class="relative">
<span class="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-500">$</span>
<input class="w-full pl-8 px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500" type="number" id="subscription-amount" placeholder="Enter amount">
</div>
</div>
<div>
<label class="block text-gray-700 text-sm font-medium mb-2" for="subscription-term">Preferred Term</label>
<select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500" id="subscription-term">
<option value="">Select term</option>
<option value="weekly">Weekly (7 days)</option>
<option value="monthly">Monthly (30 days)</option>
<option value="quarterly">Quarterly (90 days)</option>
<option value="semi-annual">Semi-Annual (180 days)</option>
<option value="annual">Annual (365 days)</option>
<option value="custom">Custom Duration</option>
</select>
</div>
<div>
<label class="block text-gray-700 text-sm font-medium mb-2" for="subscription-crypto">Settlement Currency</label>
<select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500" id="subscription-crypto">
<option value="">Select currency</option>
<option value="btc">Bitcoin (BTC)</option>
<option value="eth">Ethereum (ETH)</option>
<option value="usdc">USD Coin (USDC)</option>
<option value="usdt">Tether (USDT)</option>
<option value="usd">USD</option>
</select>
</div>
<div>
<label class="block text-gray-700 text-sm font-medium mb-2" for="subscription-auto">Auto-Renewal</label>
<select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500" id="subscription-auto">
<option value="yes">Yes, automatically renew</option>
<option value="no">No, manual renewal</option>
</select>
</div>
</div>
<div class="text-center">
<button type="submit" class="bg-green-600 hover:bg-green-700 text-white px-6 py-3 rounded-lg font-medium">Request Custom Plan</button>
</div>
</form>
</div>
</section>
<!-- Terms Section -->
<section id="terms" class="mb-20">
<div class="text-center mb-12">
<h2 class="text-3xl font-bold mb-4">Lending Terms & Conditions</h2>
<p class="text-gray-600 max-w-3xl mx-auto">Understand the terms governing our EV loan syndication deals and subscription plans.</p>
</div>
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="p-6">
<div class="mb-8">
<h3 class="text-xl font-semibold mb-4 text-green-600">General Terms</h3>
<ul class="space-y-3 text-gray-700">
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Minimum participation amount: $5,000 or crypto equivalent (BTC, ETH, USDC, USDT)</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Funds are locked for the duration of the loan term or subscription period</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Interest payments distributed according to schedule in cryptocurrency or fiat</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Principal returned at maturity or upon loan payoff in original contribution currency</span>
</li>
</ul>
</div>
<div class="mb-8">
<h3 class="text-xl font-semibold mb-4 text-green-600">Subscription Terms</h3>
<ul class="space-y-3 text-gray-700">
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Subscription plans auto-renew unless cancelled 7 days before renewal date</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Early withdrawals subject to penalty (except Annual plan)</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Subscription funds are pooled across multiple EV loans for diversification</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>APY rates are net of all fees and represent historical averages</span>
</li>
</ul>
</div>
<div>
<h3 class="text-xl font-semibold mb-4 text-green-600">Legal Compliance</h3>
<ul class="space-y-3 text-gray-700">
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Syndicate by EVLEND 2023</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Automobile loan origination compliance</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Consumer lending regulations</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Secure and Fair Enforcement for Mortgage Licensing Act of 2008, 12 U.S.C. §§ 5101 et seq.</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Cal. Fin. Code § 22050.5</span>
</li>
</ul>
</div>
</div>
</div>
</section>
<!-- Sub-participation Section -->
<section class="mb-20">
<div class="text-center mb-12">
<h2 class="text-3xl font-bold mb-4">Sub-participation Options</h2>
<p class="text-gray-600 max-w-3xl mx-auto">Secondary market participation for existing syndicated EV loans.</p>
</div>
<div class="bg-white rounded-xl shadow-md p-6">
<div class="grid md:grid-cols-3 gap-6">
<div class="border border-gray-200 rounded-lg p-5 hover:border-green-300 transition">
<div class="text-green-600 text-2xl mb-3">
<i class="fas fa-exchange-alt"></i>
</div>
<h3 class="text-lg font-semibold mb-2">Partial Assignment</h3>
<p class="text-gray-600 text-sm">Transfer a portion of your participation to another investor while maintaining your position.</p>
</div>
<div class="border border-gray-200 rounded-lg p-5 hover:border-green-300 transition">
<div class="text-green-600 text-2xl mb-3">
<i class="fas fa-share-square"></i>
</div>
<h3 class="text-lg font-semibold mb-2">Full Assignment</h3>
<p class="text-gray-600 text-sm">Transfer your entire participation to another investor, exiting the syndicate.</p>
</div>
<div class="border border-gray-200 rounded-lg p-5 hover:border-green-300 transition">
<div class="text-green-600 text-2xl mb-3">
<i class="fas fa-hand-holding-usd"></i>
</div>
<h3 class="text-lg font-semibold mb-2">Risk Participation</h3>
<p class="text-gray-600 text-sm">Sell only the risk portion of your participation while maintaining the income stream.</p>
</div>
</div>
<div class="mt-8 p-6 bg-gray-50 rounded-lg">
<h3 class="text-xl font-semibold mb-4 text-center">Request Sub-participation</h3>
<form id="subparticipation-form">
<div class="grid md:grid-cols-2 gap-6 mb-6">
<div>
<label class="block text-gray-700 text-sm font-medium mb-2" for="user-ref">Your Reference Number</label>
<input class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500" type="text" id="user-ref" placeholder="Enter your reference number">
</div>
<div>
<label class="block text-gray-700 text-sm font-medium mb-2" for="deal-ref">Deal Reference Number</label>
<input class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500" type="text" id="deal-ref", placeholder="Enter deal reference number">
</div>
</div>
<div class="mb-6">
<label class="block text-gray-700 text-sm font-medium mb-2" for="participation-type">Type of Sub-participation</label>
<select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500" id="participation-type">
<option value="">Select type</option>
<option value="partial">Partial Assignment</option>
<option value="full">Full Assignment</option>
<option value="risk">Risk Participation</option>
</select>
</div>
<div class="mb-6">
<label class="block text-gray-700 text-sm font-medium mb-2", for="crypto-type">Preferred Settlement Currency</label>
<select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500" id="crypto-type">
<option value="">Select currency</option>
<option value="btc">Bitcoin (BTC)</option>
<option value="eth">Ethereum (ETH)</option>
<option value="usdc">USD Coin (USDC)</option>
<option value="usdt">Tether (USDT)</option>
<option value="usd">USD</option>
</select>
</div>
<div class="text-center">
<button type="submit" class="bg-green-600 hover:bg-green-700 text-white px-6 py-3 rounded-lg font-medium">Submit Request</button>
</div>
</form>
</div>
</div>
</section>
</main>
<!-- Floating Button -->
<div class="floating-btn" id="floating-btn">
<i class="fas fa-briefcase text-xl"></i>
</div>
<!-- Telegram Button -->
<a href="https://t.me/EVLENDBot" target="_blank" class="telegram-btn" id="telegram-btn">
<i class="fab fa-telegram-plane text-2xl"></i>
</a>
<!-- Floating Window -->
<div class="floating-window" id="floating-window">
<div class="floating-header">
<h3>My Deals & Subscriptions</h3>
<div>
<button id="close-window" class="text-white hover:text-gray-200">
<i class="fas fa-times"></i>
</button>
</div>
</div>
<div class="floating-content">
<div class="flex justify-between items-center mb-4">
<div class="relative flex-1 mr-2">
<input type="text" id="search-ref" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-1 focus:ring-green-500" placeholder="Search by reference...">
<button id="search-btn" class="absolute right-2 top-1/2 transform -translate-y-1/2 text-gray-500 hover:text-green-600">
<i class="fas fa-search"></i>
</button>
</div>
</div>
<div id="deals-container">
<!-- Deals will be added here dynamically -->
<div class="text-center py-8 text-gray-500" id="no-deals-message">
<i class="fas fa-folder-open text-3xl mb-2"></i>
<p>No deals or subscriptions yet</p>
</div>
</div>
<div class="mt-4 p-4 bg-gray-50 rounded-lg hidden" id="deal-details">
<h4 class="font-semibold mb-2" id="detail-title">Deal Details</h4>
<div class="text-sm space-y-1" id="detail-content">
<!-- Details will be shown here -->
</div>
<div class="mt-3 flex justify-between">
<button id="add-subparticipation" class="text-green-600 hover:text-green-800 text-xs font-medium">Add Sub-participation</button>
<button id="remove-deal" class="text-red-600 hover:text-red-800 text-xs font-medium">Remove</button>
</div>
</div>
<div class="mt-4 p-4 bg-gray-50 rounded-lg hidden" id="subscription-details">
<h4 class="font-semibold mb-2" id="subscription-title">Subscription Details</h4>
<div class="text-sm space-y-1" id="subscription-content">
<!-- Subscription details will be shown here -->
</div>
<div class="mt-3 flex justify-between">
<button id="modify-subscription" class="text-green-600 hover:text-green-800 text-xs font-medium">Modify</button>
<button id="cancel-subscription" class="text-red-600 hover:text-red-800 text-xs font-medium">Cancel</button>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-12">
<div class="container mx-auto px-4">
<div class="grid md:grid-cols-4 gap-8 mb-8">
<div>
<h3 class="text-xl font-semibold mb-4">EVLEND</h3>
<p class="text-gray-400">Innovative EV automobile loan syndication platform.</p>
<div class="mt-4 flex space-x-4">
<div class="w-8 h-8 rounded-full bg-orange-500 flex items-center justify-center">
<i class="fab fa-bitcoin text-white"></i>
</div>
<div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center">
<i class="fab fa-ethereum text-white"></i>
</div>
<div class="w-8 h-8 rounded-full bg-purple-500 flex items-center justify-center">
<i class="fas fa-dollar-sign text-white"></i>
</div>
</div>
</div>
<div>
<h4 class="font-semibold mb-4">Quick Links</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">About Us</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Current Deals</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Subscription Plans</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Terms</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">Legal</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Privacy Policy</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Terms of Service</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Risk Disclosure</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">Contact</h4>
<ul class="space-y-2">
<li class="flex items-center">
<i class="fab fa-telegram mr-2 text-gray-400"></i>
<a href="https://t.me/EVLENDBot" target="_blank" class="text-gray-400 hover:text-white transition">Telegram Bot</a>
</li>
</ul>
</div>
</div>
<div class="pt-8 border-t border-gray-700 text-center text-gray-400">
<p>© 2025 EVLEND (SaaS) All rights reserved.</p>
<p class="mt-2 text-sm">Syndicate by EVLEND 2023 | Automobile loan origination compliance</p>
<p class="mt-1 text-sm">Consumer lending regulations | Accepted cryptocurrencies: BTC, ETH, USDC, USDT</p>
</div>
</div>
</footer>
<script>
// Tab functionality
document.querySelectorAll('.tab-button').forEach(button => {
button.addEventListener('click', () => {
const tabId = button.getAttribute('data-tab');
// Remove active class from all buttons and content
document.querySelectorAll('.tab-button').forEach(btn => {
btn.classList.remove('active');
});
document.querySelectorAll('.tab-content').forEach(content => {
content.classList.remove('active');
});
// Add active class to clicked button and corresponding content
button.classList.add('active');
document.getElementById(tabId).classList.add('active');
});
});
// Floating window functionality
const floatingBtn = document.getElementById('floating-btn');
const floatingWindow = document.getElementById('floating-window');
const closeWindow = document.getElementById('close-window');
floatingBtn.addEventListener('click', () => {
floatingWindow.style.display = 'flex';
floatingBtn.style.display = 'none';
});
closeWindow.addEventListener('click', () => {
floatingWindow.style.display = 'none';
floatingBtn.style.display = 'flex';
});
// Deal participation functionality
document.querySelectorAll('.participate-btn').forEach(button => {
button.addEventListener('click', () => {
const dealRef = button.getAttribute('data-deal');
const dealCard = button.closest('.deal-card');
const dealTitle = dealCard.querySelector('h3').textContent;
const dealType = dealCard.querySelector('span').textContent;
const dealProgress = dealCard.querySelector('.flex.justify-between.text-sm').textContent;
const dealTerms = dealCard.querySelectorAll('.grid.grid-cols-2.gap-4.mb-4 div p.font-medium');
const vehicleType = dealCard.querySelector('div:nth-child(3) p.font-medium').textContent;
// Generate a random user reference
const userRef = 'UR-' + Math.floor(100000 + Math.random() * 900000);
// Add deal to floating window
addDealToWindow(dealRef, userRef, dealTitle, dealType, dealProgress, dealTerms, vehicleType);
// Show floating window
floatingWindow.style.display = 'flex';
floatingBtn.style.display = 'none';
// Show success message
alert(`Successfully participated in ${dealTitle} (${dealRef}). Your reference number is ${userRef}.`);
});
});
// Subscription button functionality
document.querySelectorAll('.subscription-card button').forEach(button => {
button.addEventListener('click', function() {
const subscriptionCard = this.closest('.subscription-card');
const planName = subscriptionCard.querySelector('h3').textContent;
const planTerm = subscriptionCard.querySelector('p.text-green-600').textContent;
const planAPY = subscriptionCard.querySelector('.text-3xl').textContent;
// Generate a random subscription reference
const subRef = 'SUB-' + Math.floor(100000 + Math.random() * 900000);
// Add subscription to floating window
addSubscriptionToWindow(subRef, planName, planTerm, planAPY);
// Show floating window
floatingWindow.style.display = 'flex';
floatingBtn.style.display = 'none';
// Show success message
alert(`Successfully subscribed to ${planName} plan (${planTerm}). Your subscription reference is ${subRef}.`);
});
});
// Function to add deal to floating window
function addDealToWindow(dealRef, userRef, title, type, progress, terms, vehicleType) {
const dealsContainer = document.getElementById('deals-container');
const noDealsMessage = document.getElementById('no-deals-message');
// Hide "no deals" message if it's shown
if (noDealsMessage.style.display !== 'none') {
noDealsMessage.style.display = 'none';
}
// Create deal element
const dealElement = document.createElement('div');
dealElement.className = 'deal-card cursor-pointer mb-3';
dealElement.setAttribute('data-deal-ref', dealRef);
dealElement.setAttribute('data-user-ref', userRef);
dealElement.setAttribute('data-type', 'deal');
dealElement.innerHTML = `
<div class="flex justify-between items-center">
<div>
<h4 class="font-medium">${title}</h4>
<div class="flex items-center text-xs text-gray-500 mt-1">
<span>${dealRef}</span>
<span class="mx-2">•</span>
<span>${userRef}</span>
<span class="mx-2">•</span>
<span class="text-green-600">EV Loan</span>
</div>
</div>
<span class="text-xs px-2 py-1 rounded ${type === 'Club Deal' ? 'bg-green-100 text-green-800' : 'bg-purple-100 text-purple-800'}">${type}</span>
</div>
`;
// Add click event to show details
dealElement.addEventListener('click', function() {
showDealDetails(dealRef, userRef, title, type, progress, terms, vehicleType);
document.getElementById('subscription-details').classList.add('hidden');
});
// Add to container
dealsContainer.appendChild(dealElement);
}
// Function to add subscription to floating window
function addSubscriptionToWindow(subRef, planName, planTerm, planAPY) {
const dealsContainer = document.getElementById('deals-container');
const noDealsMessage = document.getElementById('no-deals-message');
// Hide "no deals" message if it's shown
if (noDealsMessage.style.display !== 'none') {
noDealsMessage.style.display = 'none';
}
// Create subscription element
const subElement = document.createElement('div');
subElement.className = 'deal-card cursor-pointer mb-3';
subElement.setAttribute('data-sub-ref', subRef);
subElement.setAttribute('data-type', 'subscription');
subElement.innerHTML = `
<div class="flex justify-between items-center">
<div>
<h4 class="font-medium">${planName} Subscription</h4>
<div class="flex items-center text-xs text-gray-500 mt-1">
<span>${subRef}</span>
<span class="mx-2">•</span>
<span>${planTerm}</span>
<span class="mx-2">•</span>
<span class="text-green-600">${planAPY} APY</span>
</div>
</div>
<span class="text-xs px-2 py-1 rounded bg-blue-100 text-blue-800">Subscription</span>
</div>
`;
// Add click event to show details
subElement.addEventListener('click', function() {
showSubscriptionDetails(subRef, planName, planTerm, planAPY);
document.getElementById('deal-details').classList.add('hidden');
});
// Add to container
dealsContainer.appendChild(subElement);
}
// Function to show deal details
function showDealDetails(dealRef, userRef, title, type, progress, terms, vehicleType) {
const detailSection = document.getElementById('deal-details');
const detailTitle = document.getElementById('detail-title');
const detailContent = document.getElementById('detail-content');
// Set details
detailTitle.textContent = title;
detailContent.innerHTML = `
<p><strong>Deal Ref:</strong> ${dealRef}</p>
<p><strong>Your Ref:</strong> ${userRef}</p>
<p><strong>Type:</strong> ${type}</p>
<p><strong>Progress:</strong> ${progress}</p>
<p><strong>Term:</strong> ${terms[0].textContent}</p>
<p><strong>Interest Rate:</strong> ${terms[1].textContent}</p>
<p><strong>Vehicle Type:</strong> ${vehicleType}</p>
<p><strong>LTV Ratio:</strong> ${terms[3].textContent}</p>
`;
// Set data attributes on buttons
document.getElementById('add-subparticipation').setAttribute('data-deal-ref', dealRef);
document.getElementById('add-subparticipation').setAttribute('data-user-ref', userRef);
document.getElementById('remove-deal').setAttribute('data-deal-ref', dealRef);
// Show details section
detailSection.classList.remove('hidden');
}
// Function to show subscription details
function showSubscriptionDetails(subRef, planName, planTerm, planAPY) {
const subSection = document.getElementById('subscription-details');
const subTitle = document.getElementById('subscription-title');
const subContent = document.getElementById('subscription-content');
// Set details
subTitle.textContent = `${planName} Subscription`;
subContent.innerHTML = `
<p><strong>Subscription Ref:</strong> ${subRef}</p>
<p><strong>Plan:</strong> ${planName}</p>
<p><strong>Term:</strong> ${planTerm}</p>
<p><strong>APY:</strong> ${planAPY}</p>
<p><strong>Status:</strong> Active</p>
<p><strong>Next Payment:</strong> ${getNextPaymentDate(planTerm)}</p>
<p><strong>Auto-Renew:</strong> Enabled</p>
`;
// Set data attributes on buttons
document.getElementById('modify-subscription').setAttribute('data-sub-ref', subRef);
document.getElementById('cancel-subscription').setAttribute('data-sub-ref', subRef);
// Show subscription section
subSection.classList.remove('hidden');
}
// Helper function to calculate next payment date
function getNextPaymentDate(planTerm) {
const today = new Date();
let nextDate = new Date();
if (planTerm.includes('Weekly')) {
nextDate.setDate(today.getDate() + 7);
} else if (planTerm.includes('Monthly')) {
nextDate.setMonth(today.getMonth() + 1);
} else if (planTerm.includes('Quarterly')) {
nextDate.setMonth(today.getMonth() + 3);
} else if (planTerm.includes('Semi-Annual')) {
nextDate.setMonth(today.getMonth() + 6);
} else if (planTerm.includes('Annual')) {
nextDate.setFullYear(today.getFullYear() + 1);
}
return nextDate.toLocaleDateString();
}
// Remove deal functionality
document.getElementById('remove-deal').addEventListener('click', function() {
const dealRef = this.getAttribute('data-deal-ref');
const dealElement = document.querySelector(`.deal-card[data-deal-ref="${dealRef}"]`);
if (dealElement) {
dealElement.remove();
document.getElementById('deal-details').classList.add('hidden');
// Show "no deals" message if no deals left
if (document.querySelectorAll('.deal-card').length === 0) {
document.getElementById('no-deals-message').style.display = 'block';
}
}
});
// Cancel subscription functionality
document.getElementById('cancel-subscription').addEventListener('click', function() {
const subRef = this.getAttribute('data-sub-ref');
const subElement = document.querySelector(`.deal-card[data-sub-ref="${subRef}"]`);
if (subElement) {
subElement.remove();
document.getElementById('subscription-details').classList.add('hidden');
// Show "no deals" message if no deals left
if (document.querySelectorAll('.deal-card').length === 0) {
document.getElementById('no-deals-message').style.display = 'block';
}
alert(`Subscription ${subRef} has been cancelled.`);
}
});
// Add sub-participation from floating window
document.getElementById('add-subparticipation').addEventListener('click', function() {
const dealRef = this.getAttribute('data-deal-ref');
const userRef = this.getAttribute('data-user-ref');
// Scroll to sub-participation section
document.querySelector('#subparticipation-form').scrollIntoView({
behavior: 'smooth'
});
// Fill in the form
document.getElementById('user-ref').value = userRef;
document.getElementById('deal-ref').value = dealRef;
// Close floating window
floatingWindow.style.display = 'none';
floatingBtn.style.display = 'flex';
});
// Modify subscription from floating window
document.getElementById('modify-subscription').addEventListener('click', function() {
const subRef = this.getAttribute('data-sub-ref');
// Scroll to subscription section
document.querySelector('#subscriptions').scrollIntoView({
behavior: 'smooth'
});
// Close floating window
floatingWindow.style.display = 'none';
floatingBtn.style.display = 'flex';
alert(`You can modify your subscription ${subRef} by choosing a new plan below.`);
});
// Search functionality
document.getElementById('search-btn').addEventListener('click', searchDeals);
document.getElementById('search-ref').addEventListener('keypress', function(e) {
if (e.key === 'Enter') {
searchDeals();
}
});
function searchDeals() {
const searchTerm = document.getElementById('search-ref').value.toLowerCase();
const deals = document.querySelectorAll('.deal-card');
let found = false;
deals.forEach(deal => {
const dealRef = deal.getAttribute('data-deal-ref') ? deal.getAttribute('data-deal-ref').toLowerCase() : '';
const userRef = deal.getAttribute('data-user-ref') ? deal.getAttribute('data-user-ref').toLowerCase() : '';
const subRef = deal.getAttribute('data-sub-ref') ? deal.getAttribute('data-sub-ref').toLowerCase() : '';
const title = deal.querySelector('h4').textContent.toLowerCase();
if (dealRef.includes(searchTerm) || userRef.includes(searchTerm) || subRef.includes(searchTerm) || title.includes(searchTerm)) {
deal.style.display = 'block';
found = true;
} else {
deal.style.display = 'none';
}
});
// Show message if no results
if (!found) {
document.getElementById('no-deals-message').style.display = 'block';
document.getElementById('no-deals-message').innerHTML = `
<i class="fas fa-search text-3xl mb-2"></i>
<p>No deals or subscriptions found matching "${searchTerm}"</p>
`;
} else {
document.getElementById('no-deals-message').style.display = 'none';
}
// Hide details if shown
document.getElementById('deal-details').classList.add('hidden');
document.getElementById('subscription-details').classList.add('hidden');
}
// Sub-participation form submission
document.getElementById('subparticipation-form').addEventListener('submit', function(e) {
e.preventDefault();
const userRef = document.getElementById('user-ref').value;
const dealRef = document.getElementById('deal-ref').value;
const type = document.getElementById('participation-type').value;
const cryptoType = document.getElementById('crypto-type').value;
if (!userRef || !dealRef || !type || !cryptoType) {
alert('Please fill in all fields');
return;
}
alert(`Sub-participation request submitted for deal ${dealRef} (${userRef}). Type: ${type}. Settlement in ${cryptoType}.`);
this.reset();
});
// Custom subscription form submission
document.getElementById('custom-subscription-form').addEventListener('submit', function(e) {
e.preventDefault();
const amount = document.getElementById('subscription-amount').value;
const term = document.getElementById('subscription-term').value;
const crypto = document.getElementById('subscription-crypto').value;
const autoRenew = document.getElementById('subscription-auto').value;
if (!amount || !term || !crypto) {
alert('Please fill in all required fields');
return;
}
alert(`Custom subscription request submitted for $${amount} with ${term} term. Settlement in ${crypto}. Auto-renew: ${autoRenew}.`);
this.reset();
});
// Sample data for demo purposes
window.addEventListener('DOMContentLoaded', () => {
// Add some sample deals to floating window for demo
setTimeout(() => {
addDealToWindow(
'CD-EV-2023-1001',
'UR-456789',
'Tesla Model 3 Fleet Loan',
'Club Deal',
'Target: $2,500,000 | Raised: $2,000,000 (80%)',
[
{ textContent: '36 months' },
{ textContent: '9.25% fixed' },
{ textContent: '15 Tesla Model 3' },
{ textContent: '75%' }
],
'15 Tesla Model 3'
);
addSubscriptionToWindow(
'SUB-789123',
'Quarterly',
'90-day cycles',
'7.5%'
);
}, 1000);
});
</script>
<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=privateuserh/evsyndi-vbeta1-00" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |