Spaces:
Running
Running
File size: 44,565 Bytes
5f5060b fd1186a 5f5060b fd1186a 6876ef8 5f5060b fd1186a 5f5060b fd1186a 5f5060b 6876ef8 5f5060b 6876ef8 5f5060b fd1186a 5f5060b fd1186a 5f5060b fd1186a 5f5060b fd1186a 5f5060b fd1186a 5f5060b 6876ef8 5f5060b 6876ef8 5f5060b fd1186a 5f5060b fd1186a 5f5060b fd1186a 6876ef8 fd1186a 7eaca1e 5f5060b |
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 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CashApp - USDT Wallet</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>
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
animation: fadeIn 0.5s ease-out forwards;
}
.balance-card {
background: linear-gradient(135deg, #00d632 0%, #00b628 100%);
box-shadow: 0 10px 20px rgba(0, 182, 40, 0.2);
}
.btn-primary {
background: linear-gradient(135deg, #00d632 0%, #00b628 100%);
transition: all 0.3s ease;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 182, 40, 0.3);
}
.btn-secondary {
background: #f8f9fa;
transition: all 0.3s ease;
}
.btn-secondary:hover {
background: #e9ecef;
}
.transaction-item {
transition: all 0.3s ease;
}
.transaction-item:hover {
background: #f8f9fa;
transform: translateX(5px);
}
.nav-item {
position: relative;
}
.nav-item.active::after {
content: '';
position: absolute;
bottom: -5px;
left: 50%;
transform: translateX(-50%);
width: 5px;
height: 5px;
border-radius: 50%;
background: #00d632;
}
.section {
display: none;
}
.password-dots {
letter-spacing: 5px;
font-size: 1.5rem;
}
.qr-code {
width: 200px;
height: 200px;
background: #fff;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
border-radius: 10px;
position: relative;
}
.qr-code::before {
content: '';
position: absolute;
width: 40px;
height: 40px;
background: #fff;
border-radius: 50%;
}
.editable-balance {
cursor: pointer;
transition: all 0.2s ease;
}
.editable-balance:hover {
text-decoration: underline;
}
.balance-input {
background: transparent;
border: none;
color: white;
font-size: 1.875rem;
font-weight: bold;
width: auto;
max-width: 200px;
padding: 2px 5px;
border-bottom: 1px dashed rgba(255,255,255,0.5);
}
.balance-input:focus {
outline: none;
border-bottom: 1px solid white;
}
</style>
</head>
<body class="bg-gray-100 font-sans">
<div class="max-w-md mx-auto min-h-screen bg-white shadow-lg overflow-hidden">
<!-- Header -->
<header class="bg-black text-white p-4 flex justify-between items-center">
<div class="flex items-center space-x-2">
<div class="w-8 h-8 bg-green-500 rounded-full flex items-center justify-center">
<span class="font-bold">$</span>
</div>
<h1 class="font-bold text-xl">CashApp</h1>
</div>
<div class="flex items-center space-x-4">
<button class="text-gray-300 hover:text-white">
<i class="fas fa-search"></i>
</button>
<button onclick="showSettingsSection()" class="text-gray-300 hover:text-white">
<i class="fas fa-cog"></i>
</button>
</div>
</header>
<!-- Main Content -->
<main class="p-4">
<!-- Home Section (Default) -->
<div id="homeSection" class="section">
<!-- Balance Card -->
<div class="balance-card rounded-2xl p-6 text-white mb-6 animate-fade-in">
<div class="flex justify-between items-start">
<div>
<p class="text-sm opacity-80">Total Balance</p>
<div class="flex items-center">
<span id="balanceDisplay" class="editable-balance text-3xl font-bold mt-1">70,000</span>
<span class="text-lg ml-1">USDT</span>
<input type="text" id="balanceInput" class="balance-input hidden" value="70000">
</div>
</div>
<div class="bg-white bg-opacity-20 p-2 rounded-lg">
<i class="fas fa-ellipsis-h"></i>
</div>
</div>
<div class="mt-6 flex justify-between">
<div>
<p class="text-xs opacity-80">Equivalent in USD</p>
<p id="usdEquivalent" class="font-medium">$70,000.00</p>
</div>
<div class="text-right">
<p class="text-xs opacity-80">Daily Yield</p>
<p class="font-medium">+$14.00</p>
</div>
</div>
</div>
<!-- Quick Actions -->
<div class="grid grid-cols-4 gap-4 mb-6">
<button onclick="openModal()" class="btn-primary flex flex-col items-center justify-center py-3 rounded-xl text-white">
<div class="w-10 h-10 bg-white bg-opacity-20 rounded-full flex items-center justify-center mb-1">
<i class="fas fa-arrow-up"></i>
</div>
<span class="text-xs">Send</span>
</button>
<button onclick="showReceiveSection()" class="btn-secondary flex flex-col items-center justify-center py-3 rounded-xl">
<div class="w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mb-1">
<i class="fas fa-arrow-down text-gray-700"></i>
</div>
<span class="text-xs">Receive</span>
</button>
<button onclick="showSwapSection()" class="btn-secondary flex flex-col items-center justify-center py-3 rounded-xl">
<div class="w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mb-1">
<i class="fas fa-exchange-alt text-gray-700"></i>
</div>
<span class="text-xs">Swap</span>
</button>
<button onclick="showScanSection()" class="btn-secondary flex flex-col items-center justify-center py-3 rounded-xl">
<div class="w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mb-1">
<i class="fas fa-qrcode text-gray-700"></i>
</div>
<span class="text-xs">Scan</span>
</button>
</div>
<!-- Recent Transactions -->
<div class="mb-4">
<div class="flex justify-between items-center mb-3">
<h3 class="font-bold text-lg">Recent Activity</h3>
<button class="text-green-500 text-sm font-medium">See All</button>
</div>
<div class="space-y-3">
<!-- Transaction 1 -->
<div class="transaction-item flex items-center p-3 rounded-lg border border-gray-100">
<div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-arrow-down text-green-500"></i>
</div>
<div class="flex-1">
<p class="font-medium">USDT Deposit</p>
<p class="text-xs text-gray-500">From: Binance Wallet</p>
</div>
<div class="text-right">
<p class="font-medium text-green-500">+5,000 USDT</p>
<p class="text-xs text-gray-500">2 hours ago</p>
</div>
</div>
<!-- Transaction 2 -->
<div class="transaction-item flex items-center p-3 rounded-lg border border-gray-100">
<div class="w-10 h-10 bg-red-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-arrow-up text-red-500"></i>
</div>
<div class="flex-1">
<p class="font-medium">Sent to John</p>
<p class="text-xs text-gray-500">Personal Payment</p>
</div>
<div class="text-right">
<p class="font-medium text-red-500">-1,200 USDT</p>
<p class="text-xs text-gray-500">Yesterday</p>
</div>
</div>
<!-- Transaction 3 -->
<div class="transaction-item flex items-center p-3 rounded-lg border border-gray-100">
<div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-coins text-green-500"></i>
</div>
<div class="flex-1">
<p class="font-medium">Staking Rewards</p>
<p class="text-xs text-gray-500">Weekly Earnings</p>
</div>
<div class="text-right">
<p class="font-medium text-green-500">+350 USDT</p>
<p class="text-xs text-gray-500">3 days ago</p>
</div>
</div>
</div>
</div>
<!-- Promo Banner -->
<div class="bg-gradient-to-r from-purple-500 to-indigo-600 rounded-xl p-4 text-white mb-6">
<div class="flex justify-between items-start">
<div>
<p class="text-sm font-medium mb-1">Earn 5% Cash Back</p>
<p class="text-xs opacity-90">On all purchases with CashApp Card</p>
</div>
<button class="bg-white text-purple-600 text-xs font-bold px-3 py-1 rounded-full">
Activate
</button>
</div>
</div>
</div>
<!-- Wallet Section -->
<div id="walletSection" class="section">
<div class="flex justify-between items-center mb-6">
<h2 class="text-xl font-bold">Wallet</h2>
<button onclick="showSecuritySection()" class="text-green-500 text-sm font-medium">
<i class="fas fa-lock mr-1"></i> Security
</button>
</div>
<div class="bg-gray-50 rounded-xl p-4 mb-6">
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-wallet text-green-500 text-xl"></i>
</div>
<div>
<p class="font-medium">USDT Wallet</p>
<p class="text-xs text-gray-500">Tether (TRC20)</p>
</div>
</div>
<div class="grid grid-cols-2 gap-4 mb-4">
<div class="bg-white p-3 rounded-lg">
<p class="text-xs text-gray-500 mb-1">Balance</p>
<p id="walletBalance" class="font-medium">70,000 USDT</p>
</div>
<div class="bg-white p-3 rounded-lg">
<p class="text-xs text-gray-500 mb-1">Value</p>
<p id="walletValue" class="font-medium">$70,000.00</p>
</div>
</div>
<div class="bg-white p-3 rounded-lg mb-4">
<p class="text-xs text-gray-500 mb-1">Wallet Address</p>
<div class="flex items-center justify-between">
<p class="font-medium truncate">TNPm8w...Z9Q4</p>
<button class="text-green-500">
<i class="fas fa-copy"></i>
</button>
</div>
</div>
<button onclick="showReceiveSection()" class="btn-primary w-full py-3 rounded-lg text-white font-medium">
<i class="fas fa-qrcode mr-2"></i> Show QR Code
</button>
</div>
<div class="mb-6">
<h3 class="font-bold text-lg mb-3">Connected Accounts</h3>
<div class="space-y-3">
<div class="flex items-center p-3 rounded-lg border border-gray-100">
<div class="w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-university text-blue-500"></i>
</div>
<div class="flex-1">
<p class="font-medium">Bank of America</p>
<p class="text-xs text-gray-500">****4532</p>
</div>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
<div class="flex items-center p-3 rounded-lg border border-gray-100">
<div class="w-10 h-10 bg-purple-100 rounded-full flex items-center justify-center mr-3">
<i class="fab fa-cc-visa text-purple-500"></i>
</div>
<div class="flex-1">
<p class="font-medium">Visa Card</p>
<p class="text-xs text-gray-500">****6789</p>
</div>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
</div>
</div>
<button class="btn-secondary w-full py-3 rounded-lg font-medium">
<i class="fas fa-plus mr-2"></i> Add Payment Method
</button>
</div>
<!-- Security Section -->
<div id="securitySection" class="section">
<div class="flex items-center mb-6">
<button onclick="showWalletSection()" class="mr-3 text-gray-500">
<i class="fas fa-arrow-left"></i>
</button>
<h2 class="text-xl font-bold">Security</h2>
</div>
<div class="mb-6">
<h3 class="font-medium mb-3">Security Settings</h3>
<div class="space-y-3">
<div class="flex items-center justify-between p-3 rounded-lg border border-gray-100">
<div class="flex items-center">
<div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-fingerprint text-green-500"></i>
</div>
<div>
<p class="font-medium">Biometric Login</p>
<p class="text-xs text-gray-500">Face ID/Fingerprint</p>
</div>
</div>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-green-500"></div>
</label>
</div>
<div class="flex items-center justify-between p-3 rounded-lg border border-gray-100">
<div class="flex items-center">
<div class="w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-lock text-blue-500"></i>
</div>
<div>
<p class="font-medium">Change Password</p>
<p class="text-xs text-gray-500">Update your security password</p>
</div>
</div>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
<div class="flex items-center justify-between p-3 rounded-lg border border-gray-100">
<div class="flex items-center">
<div class="w-10 h-10 bg-purple-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-shield-alt text-purple-500"></i>
</div>
<div>
<p class="font-medium">2FA Authentication</p>
<p class="text-xs text-gray-500">Google Authenticator</p>
</div>
</div>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" class="sr-only peer">
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-green-500"></div>
</label>
</div>
</div>
</div>
<div class="mb-6">
<h3 class="font-medium mb-3">Password Protection</h3>
<div class="bg-gray-50 rounded-xl p-4">
<p class="text-sm mb-4">Enter your 6-digit security password to confirm transactions</p>
<div class="flex justify-center mb-6">
<div class="password-dots text-center bg-white p-4 rounded-lg w-48">
••••••
</div>
</div>
<div class="grid grid-cols-3 gap-3 mb-4">
<button class="number-btn bg-white py-4 rounded-lg font-medium text-lg">1</button>
<button class="number-btn bg-white py-4 rounded-lg font-medium text-lg">2</button>
<button class="number-btn bg-white py-4 rounded-lg font-medium text-lg">3</button>
<button class="number-btn bg-white py-4 rounded-lg font-medium text-lg">4</button>
<button class="number-btn bg-white py-4 rounded-lg font-medium text-lg">5</button>
<button class="number-btn bg-white py-4 rounded-lg font-medium text-lg">6</button>
<button class="number-btn bg-white py-4 rounded-lg font-medium text-lg">7</button>
<button class="number-btn bg-white py-4 rounded-lg font-medium text-lg">8</button>
<button class="number-btn bg-white py-4 rounded-lg font-medium text-lg">9</button>
<button class="bg-transparent py-4 rounded-lg font-medium text-lg"></button>
<button class="number-btn bg-white py-4 rounded-lg font-medium text-lg">0</button>
<button class="bg-transparent py-4 rounded-lg font-medium text-lg">
<i class="fas fa-backspace text-gray-500"></i>
</button>
</div>
<button class="btn-primary w-full py-3 rounded-lg text-white font-medium">
Confirm Password
</button>
</div>
</div>
<div class="text-center text-sm text-gray-500">
<p>Last security update: 2 days ago</p>
</div>
</div>
<!-- Receive Section -->
<div id="receiveSection" class="section">
<div class="flex items-center mb-6">
<button onclick="showHomeSection()" class="mr-3 text-gray-500">
<i class="fas fa-arrow-left"></i>
</button>
<h2 class="text-xl font-bold">Receive USDT</h2>
</div>
<div class="text-center mb-6">
<div class="qr-code mb-4">
<i class="fas fa-qrcode text-6xl text-gray-300"></i>
</div>
<p class="font-medium">Scan to receive payment</p>
<p class="text-sm text-gray-500 mt-1">Your USDT (TRC20) address</p>
</div>
<div class="bg-gray-50 rounded-xl p-4 mb-6">
<div class="flex items-center justify-between mb-3">
<p class="text-sm font-medium">Wallet Address</p>
<button class="text-green-500 text-sm">
<i class="fas fa-copy mr-1"></i> Copy
</button>
</div>
<div class="bg-white p-3 rounded-lg">
<p class="text-center font-mono text-sm">TNPm8wZ91kXyHp9uQ7rZ9Q4</p>
</div>
</div>
<div class="mb-6">
<h3 class="font-medium mb-3">Receive Amount (Optional)</h3>
<div class="relative">
<span class="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-500">$</span>
<input type="number" class="w-full pl-8 pr-3 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-green-500" placeholder="0.00">
</div>
</div>
<button class="btn-primary w-full py-3 rounded-lg text-white font-medium">
Share Payment Request
</button>
</div>
<!-- Swap Section -->
<div id="swapSection" class="section">
<div class="flex items-center mb-6">
<button onclick="showHomeSection()" class="mr-3 text-gray-500">
<i class="fas fa-arrow-left"></i>
</button>
<h2 class="text-xl font-bold">Swap Crypto</h2>
</div>
<div class="bg-gray-50 rounded-xl p-4 mb-6">
<div class="flex items-center justify-between mb-3">
<p class="text-sm font-medium">You pay</p>
<div class="text-sm text-gray-500">
Balance: <span id="swapBalance">70,000</span> USDT
</div>
</div>
<div class="bg-white p-4 rounded-lg mb-3">
<div class="flex justify-between items-center mb-2">
<div class="flex items-center">
<div class="w-8 h-8 bg-green-100 rounded-full flex items-center justify-center mr-2">
<i class="fas fa-wallet text-green-500"></i>
</div>
<select class="bg-transparent font-medium">
<option>USDT</option>
<option>BTC</option>
<option>ETH</option>
</select>
</div>
<input type="number" class="text-right font-bold text-lg w-24" placeholder="0.00">
</div>
</div>
<div class="flex justify-center my-2">
<button class="w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center transform rotate-90">
<i class="fas fa-exchange-alt text-gray-600"></i>
</button>
</div>
<div class="bg-white p-4 rounded-lg">
<div class="flex justify-between items-center mb-2">
<div class="flex items-center">
<div class="w-8 h-8 bg-blue-100 rounded-full flex items-center justify-center mr-2">
<i class="fab fa-bitcoin text-blue-500"></i>
</div>
<select class="bg-transparent font-medium">
<option>BTC</option>
<option>ETH</option>
<option>USDT</option>
</select>
</div>
<input type="number" class="text-right font-bold text-lg w-24" placeholder="0.00">
</div>
</div>
</div>
<div class="mb-6">
<h3 class="font-medium mb-3">Exchange Rate</h3>
<div class="bg-white p-4 rounded-lg">
<div class="flex justify-between items-center">
<p class="text-gray-500">1 USDT = 0.000023 BTC</p>
<button class="text-green-500">
<i class="fas fa-sync-alt"></i>
</button>
</div>
</div>
</div>
<button class="btn-primary w-full py-3 rounded-lg text-white font-medium">
Confirm Swap
</button>
</div>
<!-- Scan Section -->
<div id="scanSection" class="section">
<div class="flex items-center mb-6">
<button onclick="showHomeSection()" class="mr-3 text-gray-500">
<i class="fas fa-arrow-left"></i>
</button>
<h2 class="text-xl font-bold">Scan QR Code</h2>
</div>
<div class="text-center mb-6">
<div class="qr-code mb-4">
<i class="fas fa-camera text-4xl text-gray-300"></i>
</div>
<p class="font-medium">Point your camera at a QR code</p>
<p class="text-sm text-gray-500 mt-1">To scan and make payments</p>
</div>
<button class="btn-secondary w-full py-3 rounded-lg font-medium mb-4">
<i class="fas fa-bolt mr-2"></i> Flashlight
</button>
<div class="bg-gray-50 rounded-xl p-4">
<p class="text-sm text-gray-500 mb-2">Or enter address manually</p>
<input type="text" class="w-full px-4 py-3 border border-gray-300 rounded-lg mb-3" placeholder="Wallet address or $Cashtag">
<input type="number" class="w-full px-4 py-3 border border-gray-300 rounded-lg mb-3" placeholder="Amount (optional)">
<button class="btn-primary w-full py-3 rounded-lg text-white font-medium">
Continue
</button>
</div>
</div>
<!-- Settings Section -->
<div id="settingsSection" class="section">
<div class="flex items-center mb-6">
<button onclick="showHomeSection()" class="mr-3 text-gray-500">
<i class="fas fa-arrow-left"></i>
</button>
<h2 class="text-xl font-bold">Settings</h2>
</div>
<div class="mb-6">
<div class="flex items-center p-4 bg-gray-50 rounded-xl mb-4">
<div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-user text-green-500"></i>
</div>
<div>
<p class="font-medium">John Doe</p>
<p class="text-sm text-gray-500">Personal Account</p>
</div>
</div>
<h3 class="font-medium mb-3">Account</h3>
<div class="space-y-3">
<div class="flex items-center justify-between p-3 rounded-lg border border-gray-100">
<div class="flex items-center">
<div class="w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-user-edit text-blue-500"></i>
</div>
<p class="font-medium">Profile</p>
</div>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
<div class="flex items-center justify-between p-3 rounded-lg border border-gray-100">
<div class="flex items-center">
<div class="w-10 h-10 bg-purple-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-bell text-purple-500"></i>
</div>
<p class="font-medium">Notifications</p>
</div>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
<div class="flex items-center justify-between p-3 rounded-lg border border-gray-100">
<div class="flex items-center">
<div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-lock text-green-500"></i>
</div>
<p class="font-medium">Privacy</p>
</div>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
</div>
</div>
<div class="mb-6">
<h3 class="font-medium mb-3">Support</h3>
<div class="space-y-3">
<div class="flex items-center justify-between p-3 rounded-lg border border-gray-100">
<div class="flex items-center">
<div class="w-10 h-10 bg-orange-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-question-circle text-orange-500"></i>
</div>
<p class="font-medium">Help Center</p>
</div>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
<div class="flex items-center justify-between p-3 rounded-lg border border-gray-100">
<div class="flex items-center">
<div class="w-10 h-10 bg-red-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-headset text-red-500"></i>
</div>
<p class="font-medium">Contact Support</p>
</div>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
<div class="flex items-center justify-between p-3 rounded-lg border border-gray-100">
<div class="flex items-center">
<div class="w-10 h-10 bg-yellow-100 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-file-alt text-yellow-500"></i>
</div>
<p class="font-medium">Terms & Policies</p>
</div>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
</div>
</div>
<button class="btn-secondary w-full py-3 rounded-lg font-medium">
<i class="fas fa-sign-out-alt mr-2"></i> Sign Out
</button>
<div class="text-center text-sm text-gray-500 mt-6">
<p>CashApp v2.4.1</p>
</div>
</div>
</main>
<!-- Bottom Navigation -->
<nav class="bg-white border-t border-gray-200 p-3 flex justify-around">
<button onclick="showHomeSection()" class="nav-item active flex flex-col items-center text-green-500">
<i class="fas fa-home text-lg"></i>
<span class="text-xs mt-1">Home</span>
</button>
<button onclick="showWalletSection()" class="nav-item flex flex-col items-center text-gray-500">
<i class="fas fa-wallet text-lg"></i>
<span class="text-xs mt-1">Wallet</span>
</button>
<button class="nav-item flex flex-col items-center text-gray-500">
<i class="fas fa-chart-line text-lg"></i>
<span class="text-xs mt-1">Stats</span>
</button>
<button onclick="showSettingsSection()" class="nav-item flex flex-col items-center text-gray-500">
<i class="fas fa-cog text-lg"></i>
<span class="text-xs mt-1">Settings</span>
</button>
</nav>
</div>
<!-- Send Money Modal -->
<div id="sendModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 z-50 hidden">
<div class="bg-white rounded-2xl w-full max-w-md animate-fade-in">
<div class="p-4 border-b border-gray-200 flex justify-between items-center">
<h3 class="font-bold text-lg">Send Money</h3>
<button onclick="closeModal()" class="text-gray-500">
<i class="fas fa-times"></i>
</button>
</div>
<div class="p-4">
<div class="relative mb-4">
<span class="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-500">$</span>
<input type="number" class="w-full pl-8 pr-3 py-4 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-green-500 text-xl" placeholder="0.00">
</div>
<div class="mb-4">
<p class="text-sm text-gray-500 mb-2">To</p>
<div class="flex items-center space-x-3">
<button class="w-12 h-12 bg-gray-200 rounded-full flex items-center justify-center">
<i class="fas fa-user-plus text-gray-500"></i>
</button>
<button class="w-12 h-12 bg-gray-200 rounded-full flex items-center justify-center">
<i class="fas fa-qrcode text-gray-500"></i>
</button>
<input type="text" class="flex-1 px-4 py-3 border border-gray-300 rounded-lg" placeholder="Name, $Cashtag, phone, or email">
</div>
</div>
<div class="mb-6">
<p class="text-sm text-gray-500 mb-2">For</p>
<input type="text" class="w-full px-4 py-3 border border-gray-300 rounded-lg" placeholder="What's it for? (optional)">
</div>
<button class="btn-primary w-full py-4 rounded-lg text-white font-medium text-lg">
Continue
</button>
</div>
</div>
</div>
<script>
// Show home section by default
document.addEventListener('DOMContentLoaded', function() {
showHomeSection();
// Setup editable balance
const balanceDisplay = document.getElementById('balanceDisplay');
const balanceInput = document.getElementById('balanceInput');
const usdEquivalent = document.getElementById('usdEquivalent');
const walletBalance = document.getElementById('walletBalance');
const walletValue = document.getElementById('walletValue');
const swapBalance = document.getElementById('swapBalance');
balanceDisplay.addEventListener('click', function() {
balanceDisplay.classList.add('hidden');
balanceInput.classList.remove('hidden');
balanceInput.focus();
balanceInput.select();
});
balanceInput.addEventListener('blur', function() {
updateBalance();
});
balanceInput.addEventListener('keypress', function(e) {
if (e.key === 'Enter') {
updateBalance();
}
});
function updateBalance() {
let newBalance = balanceInput.value;
// Format with commas
newBalance = parseFloat(newBalance).toLocaleString('en-US');
balanceDisplay.textContent = newBalance;
balanceDisplay.classList.remove('hidden');
balanceInput.classList.add('hidden');
// Update all balance displays
const numericBalance = parseFloat(balanceInput.value.replace(/,/g, ''));
const usdValue = numericBalance.toFixed(2);
usdEquivalent.textContent = `$${usdValue.toLocaleString('en-US')}`;
walletBalance.textContent = `${newBalance} USDT`;
walletValue.textContent = `$${usdValue.toLocaleString('en-US')}`;
swapBalance.textContent = newBalance;
}
});
// Section navigation functions
function showHomeSection() {
hideAllSections();
document.getElementById('homeSection').style.display = 'block';
updateNavActive('home');
}
function showWalletSection() {
hideAllSections();
document.getElementById('walletSection').style.display = 'block';
updateNavActive('wallet');
}
function showSecuritySection() {
hideAllSections();
document.getElementById('securitySection').style.display = 'block';
updateNavActive('wallet');
}
function showReceiveSection() {
hideAllSections();
document.getElementById('receiveSection').style.display = 'block';
updateNavActive('home');
}
function showSwapSection() {
hideAllSections();
document.getElementById('swapSection').style.display = 'block';
updateNavActive('home');
}
function showScanSection() {
hideAllSections();
document.getElementById('scanSection').style.display = 'block';
updateNavActive('home');
}
function showSettingsSection() {
hideAllSections();
document.getElementById('settingsSection').style.display = 'block';
updateNavActive('settings');
}
function hideAllSections() {
const sections = document.querySelectorAll('.section');
sections.forEach(section => {
section.style.display = 'none';
});
}
function updateNavActive(activeItem) {
const navItems = document.querySelectorAll('.nav-item');
navItems.forEach(item => {
item.classList.remove('active');
item.classList.remove('text-green-500');
item.classList.add('text-gray-500');
});
const activeNav = document.querySelector(`.nav-item[onclick="show${activeItem.charAt(0).toUpperCase() + activeItem.slice(1)}Section()"]`);
if (activeNav) {
activeNav.classList.add('active');
activeNav.classList.add('text-green-500');
activeNav.classList.remove('text-gray-500');
}
}
// Modal functions
function openModal() {
document.getElementById('sendModal').classList.remove('hidden');
}
function closeModal() {
document.getElementById('sendModal').classList.add('hidden');
}
</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=Monday4/daniel-space" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |