File size: 50,496 Bytes
936e5d5 69f3a2e 936e5d5 48c4b57 936e5d5 48c4b57 936e5d5 48c4b57 936e5d5 4f81a5b 69f3a2e 4f81a5b 69f3a2e 4f81a5b 69f3a2e 936e5d5 48c4b57 936e5d5 48c4b57 936e5d5 48c4b57 936e5d5 48c4b57 936e5d5 48c4b57 936e5d5 48c4b57 936e5d5 69f3a2e 936e5d5 48c4b57 936e5d5 | 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zenith | Coin for a Cause</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>
.gradient-bg {
background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%);
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.transaction-animation {
animation: slideIn 0.5s ease-out;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateX(20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
</style>
</head>
<body class="font-sans bg-gray-50">
<!-- Navigation -->
<nav class="bg-white shadow-sm fixed w-full z-10">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i class="fas fa-coins text-blue-600 text-2xl mr-2"></i>
<span class="text-xl font-bold text-blue-600">Zenith</span>
</div>
</div>
<div class="hidden sm:ml-6 sm:flex sm:space-x-8">
<a href="#home" class="border-blue-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Home</a>
<a href="#how-it-works" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">How It Works</a>
<a href="#donate" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Donate</a>
<a href="#transparency" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Transparency</a>
</div>
<div class="-mr-2 flex items-center sm:hidden">
<button id="mobile-menu-button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-500">
<span class="sr-only">Open main menu</span>
<i class="fas fa-bars"></i>
</button>
</div>
</div>
</div>
<!-- Mobile menu -->
<div id="mobile-menu" class="hidden sm:hidden bg-white shadow-lg">
<div class="pt-2 pb-3 space-y-1">
<a href="#home" class="bg-blue-50 border-blue-500 text-blue-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Home</a>
<a href="#how-it-works" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">How It Works</a>
<a href="#donate" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Donate</a>
<a href="#transparency" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Transparency</a>
</div>
</div>
</nav>
<!-- Hero Section -->
<section id="home" class="gradient-bg text-white pt-24 pb-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:grid lg:grid-cols-12 lg:gap-8">
<div class="sm:text-center md:max-w-2xl md:mx-auto lg:col-span-6 lg:text-left">
<h1 class="text-4xl tracking-tight font-extrabold sm:text-5xl md:text-6xl">
<span class="block">Zenith</span>
<span class="block text-blue-200">Coin for a Cause</span>
</h1>
<p class="mt-3 text-base text-blue-100 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0">
Changing the way we give - one transaction at a time
</p>
<div class="mt-8 sm:max-w-lg sm:mx-auto sm:text-center lg:text-left lg:mx-0">
<a href="#donate" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-blue-700 bg-white hover:bg-blue-50 transition duration-150">
Simulate a Donation
<i class="fas fa-arrow-right ml-2"></i>
</a>
</div>
</div>
<div class="mt-12 relative sm:max-w-lg sm:mx-auto lg:mt-0 lg:max-w-none lg:mx-0 lg:col-span-6 lg:flex lg:items-center">
<div class="relative mx-auto w-full rounded-lg shadow-lg lg:max-w-md">
<div class="bg-white p-6 rounded-lg shadow-xl">
<div class="flex items-center justify-between mb-4">
<h3 class="text-lg font-medium text-gray-900">Recent Donation</h3>
<span class="px-2 py-1 text-xs font-semibold text-green-800 bg-green-100 rounded-full">Completed</span>
</div>
<div class="flex items-center space-x-4">
<div class="flex-shrink-0 bg-blue-100 p-3 rounded-full">
<i class="fas fa-hand-holding-heart text-blue-600 text-xl"></i>
</div>
<div>
<p class="text-sm font-medium text-gray-900">0.0025 ETH</p>
<p class="text-sm text-gray-500">Medical supplies for Tyre</p>
</div>
</div>
<div class="mt-6 pt-6 border-t border-gray-200">
<div class="flex justify-between">
<span class="text-sm font-medium text-gray-500">Transaction ID</span>
<span class="text-sm text-gray-900">0x8a...3f7b</span>
</div>
<div class="flex justify-between mt-2">
<span class="text-sm font-medium text-gray-500">Date</span>
<span class="text-sm text-gray-900">Today, 10:42 AM</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Mission Section -->
<section class="py-12 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center">
<h2 class="text-base text-blue-600 font-semibold tracking-wide uppercase">Our Mission</h2>
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
Supporting Gaza, Palestine Through Crypto
</p>
<p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
We redirect a portion of cryptocurrency transaction fees to provide essential aid to communities in Gaza affected by conflict and economic crises.
</p>
</div>
<div class="mt-10">
<div class="grid grid-cols-1 gap-10 sm:grid-cols-2 lg:grid-cols-3">
<div class="bg-gray-50 rounded-lg p-6 transition duration-300 ease-in-out card-hover">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-blue-500 text-white">
<i class="fas fa-medkit text-xl"></i>
</div>
<div class="mt-5">
<h3 class="text-lg font-medium text-gray-900">Medical Supplies</h3>
<p class="mt-2 text-base text-gray-500">
Funding hospitals and clinics with essential medicines and equipment in Gaza City and Rafah.
</p>
</div>
</div>
<div class="bg-gray-50 rounded-lg p-6 transition duration-300 ease-in-out card-hover">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-blue-500 text-white">
<i class="fas fa-bread-slice text-xl"></i>
</div>
<div class="mt-5">
<h3 class="text-lg font-medium text-gray-900">Food Security</h3>
<p class="mt-2 text-base text-gray-500">
Providing food packages to families struggling with hyperinflation and shortages.
</p>
</div>
</div>
<div class="bg-gray-50 rounded-lg p-6 transition duration-300 ease-in-out card-hover">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-blue-500 text-white">
<i class="fas fa-lightbulb text-xl"></i>
</div>
<div class="mt-5">
<h3 class="text-lg font-medium text-gray-900">Solar Energy</h3>
<p class="mt-2 text-base text-gray-500">
Installing solar panels to combat electricity shortages in remote villages.
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Gaza Crisis Section -->
<section class="py-12 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center">
<h2 class="text-base text-blue-600 font-semibold tracking-wide uppercase">Understanding</h2>
<h1 class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
The Crisis in Gaza
</h1>
<p class="mt-4 max-w-3xl text-xl text-gray-500 lg:mx-auto">
A humanitarian emergency affecting 2 million people in one of the most densely populated areas on Earth
</p>
</div>
<div class="mt-10 bg-white rounded-lg shadow-lg p-8">
<h2 class="text-2xl font-bold text-gray-900 mb-6">A Brief History</h2>
<div class="grid md:grid-cols-2 gap-8">
<div>
<p class="text-gray-600 mb-4">
The Gaza Strip is a small coastal territory (about twice the size of Washington D.C.) that has been at the center of the Israeli-Palestinian conflict for decades:
</p>
<ul class="list-disc pl-6 space-y-2 text-gray-600">
<li><strong>1948:</strong> Created after the Arab-Israeli war, hosting Palestinian refugees</li>
<li><strong>1967:</strong> Came under Israeli control after the Six-Day War</li>
<li><strong>2005:</strong> Israel withdrew settlements but maintained control of borders</li>
<li><strong>2007:</strong> Hamas took control after winning elections</li>
<li><strong>Ongoing:</strong> Repeated conflicts and blockade since 2007</li>
</ul>
</div>
</div>
<h2 class="text-2xl font-bold text-gray-900 mt-12 mb-6">Current Humanitarian Situation</h2>
<div class="bg-blue-50 rounded-lg p-6 mb-8">
<h3 class="text-lg font-semibold text-blue-800 mb-4">Key Statistics:</h3>
<div class="grid sm:grid-cols-2 lg:grid-cols-4 gap-4">
<div class="bg-white p-4 rounded-lg shadow-sm">
<p class="text-sm text-gray-500">Population</p>
<p class="text-xl font-bold">2.2 million</p>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm">
<p class="text-sm text-gray-500">Unemployment</p>
<p class="text-xl font-bold">45%</p>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm">
<p class="text-sm text-gray-500">Poverty Rate</p>
<p class="text-xl font-bold">53%</p>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm">
<p class="text-sm text-gray-500">Youth Under 18</p>
<p class="text-xl font-bold">47%</p>
</div>
</div>
</div>
<div class="grid md:grid-cols-2 gap-8">
<div>
<h3 class="text-lg font-semibold text-gray-800 mb-3">Daily Challenges:</h3>
<ul class="space-y-3 text-gray-600">
<li class="flex items-start">
<i class="fas fa-bolt text-yellow-500 mt-1 mr-3"></i>
<span>Only 4-6 hours of electricity per day</span>
</li>
<li class="flex items-start">
<i class="fas fa-tint text-blue-500 mt-1 mr-3"></i>
<span>97% of water is undrinkable due to contamination</span>
</li>
<li class="flex items-start">
<i class="fas fa-hospital text-red-500 mt-1 mr-3"></i>
<span>Hospitals face severe shortages of medicines and equipment</span>
</li>
<li class="flex items-start">
<i class="fas fa-utensils text-green-500 mt-1 mr-3"></i>
<span>Over 60% of families are food insecure</span>
</li>
</ul>
</div>
</div>
<h2 class="text-2xl font-bold text-gray-900 mt-12 mb-6">Why International Aid Matters</h2>
<div class="bg-white rounded-lg p-6 border border-blue-100">
<div class="grid md:grid-cols-2 gap-8">
<div>
<p class="text-gray-600 mb-4">
Gaza's economy cannot support its population due to the blockade and repeated conflicts. International aid provides:
</p>
<ul class="list-disc pl-6 space-y-2 text-gray-600">
<li>Emergency food and medical supplies</li>
<li>Support for hospitals and clinics</li>
<li>Clean water and sanitation projects</li>
<li>Education for children (50% of schools run by UN)</li>
<li>Psychological support for trauma</li>
</ul>
</div>
<div>
<div class="bg-yellow-50 p-4 rounded-lg">
<h3 class="font-semibold text-yellow-700 mb-2">Did You Know?</h3>
<p class="text-gray-600">
Over 80% of Gaza's population depends on international aid to survive. Even small donations can make a difference:
</p>
<ul class="mt-2 space-y-1 text-sm text-gray-600">
<li>$25 provides a family food for a week</li>
<li>$50 provides emergency medical supplies</li>
<li>$100 provides clean water for a month</li>
</ul>
</div>
</div>
</div>
</div>
<div class="mt-10 bg-blue-50 rounded-lg p-6 text-center">
<h3 class="text-lg font-semibold text-blue-800 mb-3">"We don't need to solve the whole conflict to help people in need"</h3>
<p class="text-gray-600 max-w-2xl mx-auto">
Regardless of politics, civilians - especially children - deserve access to basic necessities. Our project helps provide aid directly to those who need it most.
</p>
</div>
</div>
</div>
</section>
<!-- How It Works Section -->
<section id="how-it-works" class="py-12 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center">
<h2 class="text-base text-blue-600 font-semibold tracking-wide uppercase">Process</h2>
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
How It Works
</p>
<p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
A simple three-step process to turn your crypto transactions into humanitarian aid for Gaza.
</p>
</div>
<div class="mt-10">
<div class="relative">
<div class="hidden lg:block lg:absolute lg:inset-0 lg:h-48 lg:bg-gradient-to-r lg:from-blue-50 lg:to-transparent"></div>
<div class="relative space-y-12 lg:grid lg:grid-cols-3 lg:gap-8 lg:space-y-0">
<div class="group">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-blue-500 text-white">
<span class="text-xl font-bold">1</span>
</div>
<div class="mt-5">
<h3 class="text-lg leading-6 font-medium text-gray-900 group-hover:text-blue-600 transition duration-150">
Trade Cryptocurrency
</h3>
<p class="mt-2 text-base text-gray-500">
Buy, sell or exchange cryptocurrency through our partnered exchanges or wallets.
</p>
</div>
</div>
<div class="group">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-blue-500 text-white">
<span class="text-xl font-bold">2</span>
</div>
<div class="mt-5">
<h3 class="text-lg leading-6 font-medium text-gray-900 group-hover:text-blue-600 transition duration-150">
Fee Redirection
</h3>
<p class="mt-2 text-base text-gray-500">
A small percentage (0.1-0.5%) of your transaction fee is automatically redirected to our aid fund.
</p>
</div>
</div>
<div class="group">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-blue-500 text-white">
<span class="text-xl font-bold">3</span>
</div>
<div class="mt-5">
<h3 class="text-lg leading-6 font-medium text-gray-900 group-hover:text-blue-600 transition duration-150">
Aid Distribution
</h3>
<p class="mt-2 text-base text-gray-500">
Funds are converted to stablecoins and distributed to verified NGOs in Gaza.
</p>
</div>
</div>
</div>
</div>
<div class="mt-20">
<div class="bg-white shadow overflow-hidden sm:rounded-lg">
<div class="px-4 py-5 sm:px-6 border-b border-gray-200">
<h3 class="text-lg leading-6 font-medium text-gray-900">
Frequently Asked Questions
</h3>
</div>
<div class="divide-y divide-gray-200">
<div class="px-4 py-5 sm:p-6">
<h4 class="text-md font-medium text-gray-900">Is this a real cryptocurrency platform?</h4>
<p class="mt-2 text-sm text-gray-500">
No, this is a student prototype demonstrating how cryptocurrency transaction fees could be used for humanitarian aid. No real blockchain transactions occur.
</p>
</div>
<div class="px-4 py-5 sm:p-6">
<h4 class="text-md font-medium text-gray-900">How are funds allocated in Gaza?</h4>
<p class="mt-2 text-sm text-gray-500">
In this simulation, funds would be distributed to verified NGOs focusing on medical aid, food security, and infrastructure support in Gaza.
</p>
</div>
<div class="px-4 py-5 sm:p-6">
<h4 class="text-md font-medium text-gray-900">Can I track where my donation goes?</h4>
<p class="mt-2 text-sm text-gray-500">
Yes, our transparency dashboard shows all simulated transactions and their allocations to specific aid programs.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Donation Simulation Section -->
<section id="donate" class="py-12 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center">
<h2 class="text-base text-blue-600 font-semibold tracking-wide uppercase">Contribute</h2>
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
Simulate a Donation
</p>
<p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
Experience how crypto trading can support humanitarian causes.
</p>
</div>
<div class="mt-10 sm:mt-12">
<div class="bg-white shadow-lg rounded-lg overflow-hidden">
<div class="p-6 sm:p-8">
<div class="grid grid-cols-1 gap-6 sm:grid-cols-2">
<div>
<h3 class="text-lg font-medium text-gray-900">Trade Simulation</h3>
<p class="mt-1 text-sm text-gray-500">
Select a cryptocurrency and amount to see how fees would contribute to aid.
</p>
<div class="mt-6 space-y-4">
<div>
<label for="crypto" class="block text-sm font-medium text-gray-700">Cryptocurrency</label>
<select id="crypto" name="crypto" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
<option value="BTC">Bitcoin (BTC)</option>
<option value="ETH">Ethereum (ETH)</option>
<option value="USDT">Tether (USDT)</option>
<option value="SOL">Solana (SOL)</option>
</select>
</div>
<div>
<label for="amount" class="block text-sm font-medium text-gray-700">Amount</label>
<div class="mt-1 relative rounded-md shadow-sm">
<input type="number" name="amount" id="amount" class="focus:ring-blue-500 focus:border-blue-500 block w-full pl-3 pr-12 sm:text-sm border-gray-300 rounded-md" placeholder="0.00">
<div class="absolute inset-y-0 right-0 flex items-center">
<label for="currency" class="sr-only">Currency</label>
<select id="currency" name="currency" class="focus:ring-blue-500 focus:border-blue-500 h-full py-0 pl-2 pr-7 border-transparent bg-transparent text-gray-500 sm:text-sm rounded-md">
<option>USD</option>
<option>EUR</option>
<option>LBP</option>
</select>
</div>
</div>
</div>
<div>
<label for="fee" class="block text-sm font-medium text-gray-700">Transaction Fee (%)</label>
<input type="range" id="fee" name="fee" min="0.1" max="1" step="0.1" value="0.3" class="mt-1 block w-full">
<div class="flex justify-between text-xs text-gray-500 mt-1">
<span>0.1%</span>
<span>0.5%</span>
<span>1%</span>
</div>
</div>
</div>
</div>
<div>
<h3 class="text-lg font-medium text-gray-900">Donation Impact</h3>
<p class="mt-1 text-sm text-gray-500">
See how your simulated trade would contribute.
</p>
<div class="mt-6 bg-gray-50 rounded-lg p-4">
<div class="flex justify-between">
<span class="text-sm font-medium text-gray-500">Transaction Value</span>
<span id="tx-value" class="text-sm text-gray-900">$0.00</span>
</div>
<div class="flex justify-between mt-2">
<span class="text-sm font-medium text-gray-500">Transaction Fee</span>
<span id="tx-fee" class="text-sm text-gray-900">$0.00</span>
</div>
<div class="flex justify-between mt-2">
<span class="text-sm font-medium text-gray-500">Donation Portion</span>
<span id="tx-donation" class="text-sm font-medium text-blue-600">$0.00</span>
</div>
<div class="mt-4 pt-4 border-t border-gray-200">
<p class="text-xs text-gray-500">
Based on current rates, this donation could provide:
</p>
<ul id="impact-list" class="mt-2 space-y-1 text-sm text-gray-500">
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-0.5 mr-2 flex-shrink-0"></i>
<span>Select an amount to see impact</span>
</li>
</ul>
</div>
</div>
<button id="simulate-btn" class="mt-6 w-full flex justify-center py-3 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 transition duration-150">
Simulate Transaction
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Transparency Section -->
<section id="transparency" class="py-12 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center">
<h2 class="text-base text-blue-600 font-semibold tracking-wide uppercase">Accountability</h2>
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
Donation Transparency
</p>
<p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
Every simulated transaction is recorded and displayed publicly.
</p>
</div>
<div class="mt-10">
<div class="bg-white shadow overflow-hidden sm:rounded-lg">
<div class="px-4 py-5 sm:px-6 border-b border-gray-200 bg-gray-50">
<div class="-ml-4 -mt-4 flex justify-between items-center flex-wrap sm:flex-nowrap">
<div class="ml-4 mt-4">
<h3 class="text-lg leading-6 font-medium text-gray-900">
Recent Transactions
</h3>
<p class="mt-1 text-sm text-gray-500">
Last 10 simulated donations to Gaza aid.
</p>
</div>
<div class="ml-4 mt-4 flex-shrink-0">
<button id="refresh-btn" class="relative inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 transition duration-150">
<i class="fas fa-sync-alt mr-2"></i>
Refresh
</button>
</div>
</div>
</div>
<div class="divide-y divide-gray-200">
<div id="transactions-container">
<!-- Transactions will be loaded here -->
</div>
</div>
</div>
</div>
<div class="mt-10 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3">
<div class="bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-blue-500 rounded-md p-3">
<i class="fas fa-coins text-white text-xl"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dl>
<dt class="text-sm font-medium text-gray-500 truncate">
Total Donations
</dt>
<dd>
<div class="text-lg font-medium text-gray-900">
$24,382
</div>
</dd>
</dl>
</div>
</div>
</div>
</div>
<div class="bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-green-500 rounded-md p-3">
<i class="fas fa-users text-white text-xl"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dl>
<dt class="text-sm font-medium text-gray-500 truncate">
Beneficiaries
</dt>
<dd>
<div class="text-lg font-medium text-gray-900">
8,450+
</div>
</dd>
</dl>
</div>
</div>
</div>
</div>
<div class="bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-purple-500 rounded-md p-3">
<i class="fas fa-exchange-alt text-white text-xl"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dl>
<dt class="text-sm font-medium text-gray-500 truncate">
Transactions
</dt>
<dd>
<div class="text-lg font-medium text-gray-900">
3,142
</div>
</dd>
</dl>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-white">
<div class="max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8">
<nav class="-mx-5 -my-2 flex flex-wrap justify-center" aria-label="Footer">
<div class="px-5 py-2">
<a href="#home" class="text-base text-gray-500 hover:text-gray-900 transition duration-150">
Home
</a>
</div>
<div class="px-5 py-2">
<a href="#how-it-works" class="text-base text-gray-500 hover:text-gray-900 transition duration-150">
How It Works
</a>
</div>
<div class="px-5 py-2">
<a href="#donate" class="text-base text-gray-500 hover:text-gray-900 transition duration-150">
Donate
</a>
</div>
<div class="px-5 py-2">
<a href="#transparency" class="text-base text-gray-500 hover:text-gray-900 transition duration-150">
Transparency
</a>
</div>
</nav>
<div class="mt-8 flex justify-center space-x-6">
<a href="#" class="text-gray-400 hover:text-gray-500 transition duration-150">
<span class="sr-only">Twitter</span>
<i class="fab fa-twitter text-xl"></i>
</a>
<a href="#" class="text-gray-400 hover:text-gray-500 transition duration-150">
<span class="sr-only">GitHub</span>
<i class="fab fa-github text-xl"></i>
</a>
<a href="#" class="text-gray-400 hover:text-gray-500 transition duration-150">
<span class="sr-only">Telegram</span>
<i class="fab fa-telegram text-xl"></i>
</a>
</div>
<p class="mt-8 text-center text-base text-gray-400">
© 2023 Zenith. A student prototype demonstration.
</p>
</div>
</footer>
<script>
// Mobile menu toggle
document.getElementById('mobile-menu-button').addEventListener('click', function() {
const menu = document.getElementById('mobile-menu');
menu.classList.toggle('hidden');
});
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
// Close mobile menu if open
document.getElementById('mobile-menu').classList.add('hidden');
});
});
// Donation simulation calculator
const cryptoSelect = document.getElementById('crypto');
const amountInput = document.getElementById('amount');
const feeSlider = document.getElementById('fee');
const txValue = document.getElementById('tx-value');
const txFee = document.getElementById('tx-fee');
const txDonation = document.getElementById('tx-donation');
const impactList = document.getElementById('impact-list');
const simulateBtn = document.getElementById('simulate-btn');
const refreshBtn = document.getElementById('refresh-btn');
const transactionsContainer = document.getElementById('transactions-container');
// Sample transaction data
const sampleTransactions = [
{ id: '0x8a3f...7b', crypto: 'ETH', amount: 0.25, fee: 0.3, donation: 0.00075, time: '2 minutes ago', status: 'completed', purpose: 'Medical supplies for Al-Shifa hospital' },
{ id: '0x5b2e...9d', crypto: 'BTC', amount: 0.05, fee: 0.4, donation: 0.0002, time: '15 minutes ago', status: 'completed', purpose: 'Food packages for Gaza City families' },
{ id: '0x3c7a...1f', crypto: 'USDT', amount: 500, fee: 0.2, donation: 1.00, time: '1 hour ago', status: 'completed', purpose: 'Solar panels for Khan Younis village' },
{ id: '0x9d4f...6a', crypto: 'SOL', amount: 5, fee: 0.5, donation: 0.025, time: '3 hours ago', status: 'completed', purpose: 'School supplies for Rafah children' },
{ id: '0x2e8b...3c', crypto: 'ETH', amount: 1.2, fee: 0.3, donation: 0.0036, time: '5 hours ago', status: 'completed', purpose: 'Emergency fuel for Jabalia clinic' },
{ id: '0x7f1a...9e', crypto: 'BTC', amount: 0.1, fee: 0.4, donation: 0.0004, time: '1 day ago', status: 'completed', purpose: 'Clean water for Deir al-Balah residents' },
{ id: '0x4d3c...2b', crypto: 'USDT', amount: 250, fee: 0.2, donation: 0.50, time: '2 days ago', status: 'completed', purpose: 'Blankets for displaced in Beit Hanoun' },
{ id: '0x6e9f...7d', crypto: 'SOL', amount: 8, fee: 0.5, donation: 0.04, time: '3 days ago', status: 'completed', purpose: 'Medicines for Beit Lahia medical center' },
{ id: '0x1b5a...4f', crypto: 'ETH', amount: 0.75, fee: 0.3, donation: 0.00225, time: '1 week ago', status: 'completed', purpose: 'Rebuilding homes in Gaza City' },
{ id: '0x3f8c...6e', crypto: 'BTC', amount: 0.02, fee: 0.4, donation: 0.00008, time: '2 weeks ago', status: 'completed', purpose: 'Support for Gaza fishermen' }
];
// Crypto prices (simplified)
const cryptoPrices = {
BTC: 30000,
ETH: 1800,
USDT: 1,
SOL: 25
};
// Impact examples
const impactExamples = [
{ amount: 0.5, text: "Provide a family with a week's worth of food" },
{ amount: 1, text: "Supply clean water for a household for a month" },
{ amount: 5, text: "Provide emergency medical supplies for a clinic" },
{ amount: 10, text: "Fund a solar-powered light for a home" },
{ amount: 25, text: "Support a child's education for a month" },
{ amount: 50, text: "Provide a month's supply of medicines" }
];
// Load transactions
function loadTransactions() {
transactionsContainer.innerHTML = '';
sampleTransactions.forEach(tx => {
const txElement = document.createElement('div');
txElement.className = 'px-4 py-5 sm:p-6 transaction-animation';
txElement.innerHTML = `
<div class="flex items-start">
<div class="flex-shrink-0 bg-blue-100 rounded-md p-3">
<i class="fas fa-${tx.crypto === 'BTC' ? 'bitcoin' : tx.crypto === 'ETH' ? 'ethereum' : 'dollar-sign'} text-blue-600 text-xl"></i>
</div>
<div class="ml-4 flex-1">
<div class="flex items-center justify-between">
<h4 class="text-sm font-medium text-gray-900">${tx.crypto} Transaction</h4>
<span class="px-2 py-1 text-xs font-semibold text-${tx.status === 'completed' ? 'green' : 'yellow'}-800 bg-${tx.status === 'completed' ? 'green' : 'yellow'}-100 rounded-full">${tx.status}</span>
</div>
<div class="mt-1 flex items-center justify-between">
<p class="text-sm text-gray-500">${tx.id}</p>
<p class="text-sm font-medium text-gray-900">${tx.time}</p>
</div>
<div class="mt-2 grid grid-cols-3 gap-4">
<div>
<p class="text-xs text-gray-500">Amount</p>
<p class="text-sm font-medium text-gray-900">${tx.amount} ${tx.crypto}</p>
</div>
<div>
<p class="text-xs text-gray-500">Fee</p>
<p class="text-sm font-medium text-gray-900">${tx.fee}%</p>
</div>
<div>
<p class="text-xs text-gray-500">Donation</p>
<p class="text-sm font-medium text-blue-600">${tx.donation} ${tx.crypto}</p>
</div>
</div>
<div class="mt-2">
<p class="text-xs text-gray-500">Purpose</p>
<p class="text-sm text-gray-900">${tx.purpose}</p>
</div>
</div>
</div>
`;
transactionsContainer.appendChild(txElement);
});
}
// Calculate donation impact
function calculateImpact() {
const crypto = cryptoSelect.value;
const amount = parseFloat(amountInput.value) || 0;
const feePercentage = parseFloat(feeSlider.value);
if (amount <= 0) {
txValue.textContent = '$0.00';
txFee.textContent = '$0.00';
txDonation.textContent = '$0.00';
impactList.innerHTML = `
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-0.5 mr-2 flex-shrink-0"></i>
<span>Select an amount to see impact</span>
</li>
`;
return;
}
const usdValue = amount * (crypto === 'USDT' ? 1 : cryptoPrices[crypto]);
const feeAmount = usdValue * (feePercentage / 100);
const donationAmount = feeAmount * 0.5; // 50% of fee goes to donation
txValue.textContent = `$${usdValue.toFixed(2)}`;
txFee.textContent = `$${feeAmount.toFixed(2)}`;
txDonation.textContent = `$${donationAmount.toFixed(2)}`;
// Generate impact list
impactList.innerHTML = '';
impactExamples.forEach(impact => {
if (donationAmount >= impact.amount) {
const count = Math.floor(donationAmount / impact.amount);
if (count > 0) {
const item = document.createElement('li');
item.className = 'flex items-start';
item.innerHTML = `
<i class="fas fa-check-circle text-green-500 mt-0.5 mr-2 flex-shrink-0"></i>
<span>${count > 1 ? count + 'x ' : ''}${impact.text}</span>
`;
impactList.appendChild(item);
}
}
});
if (impactList.children.length === 0) {
impactList.innerHTML = `
<li class="flex items-start">
<i class="fas fa-info-circle text-blue-500 mt-0.5 mr-2 flex-shrink-0"></i>
<span>Every dollar helps provide essential aid</span>
</li>
`;
}
}
// Simulate transaction
function simulateTransaction() {
const crypto = cryptoSelect.value;
const amount = parseFloat(amountInput.value) || 0;
const feePercentage = parseFloat(feeSlider.value);
if (amount <= 0) {
alert('Please enter a valid amount');
return;
}
// Create a mock transaction
const tx = {
id: '0x' + Math.random().toString(16).substr(2, 8) + '...' + Math.random().toString(16).substr(2, 4),
crypto: crypto,
amount: amount.toFixed(crypto === 'BTC' || crypto === 'ETH' ? 4 : 2),
fee: feePercentage,
donation: (amount * (feePercentage / 100)).toFixed(6),
time: 'Just now',
status: 'completed'
};
// Add to beginning of array
sampleTransactions.unshift(tx);
// Reload transactions
loadTransactions();
// Show success message
alert(`Simulated transaction successful!\n\n${amount} ${crypto} traded with ${feePercentage}% fee\n${(amount * (feePercentage / 100) * (crypto === 'USDT' ? 1 : cryptoPrices[crypto])).toFixed(2)} donated to Gaza aid.`);
// Reset form
amountInput.value = '';
calculateImpact();
}
// Event listeners
cryptoSelect.addEventListener('change', calculateImpact);
amountInput.addEventListener('input', calculateImpact);
feeSlider.addEventListener('input', calculateImpact);
simulateBtn.addEventListener('click', simulateTransaction);
refreshBtn.addEventListener('click', loadTransactions);
// Initialize
loadTransactions();
calculateImpact();
</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=zoob1/zenith" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |