Spaces:
Running
Running
File size: 34,287 Bytes
64c8480 |
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 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nexus Robotics - List Your Humanoid for Lease</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&family=Roboto:wght@300;400;500&display=swap');
body {
font-family: 'Roboto', sans-serif;
background-color: #0f172a;
color: #e2e8f0;
}
.futuristic-text {
font-family: 'Orbitron', sans-serif;
letter-spacing: 1px;
}
.gradient-bg {
background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
}
.card-glass {
background: rgba(15, 23, 42, 0.7);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.input-futuristic {
background: rgba(30, 58, 138, 0.3);
border: 1px solid #3b82f6;
color: white;
}
.input-futuristic:focus {
outline: none;
border-color: #60a5fa;
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}
.glow-effect {
box-shadow: 0 0 15px rgba(59, 130, 246, 0.7);
}
.pulse-animation {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
}
70% {
box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
}
}
.robot-model {
transition: all 0.3s ease;
}
.robot-model:hover {
transform: translateY(-5px);
}
/* Payment modal */
.payment-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(15, 23, 42, 0.9);
z-index: 1000;
align-items: center;
justify-content: center;
}
.payment-content {
background: #0f172a;
border: 1px solid #3b82f6;
border-radius: 12px;
width: 90%;
max-width: 500px;
padding: 2rem;
position: relative;
}
.close-modal {
position: absolute;
top: 15px;
right: 15px;
color: #94a3b8;
font-size: 1.5rem;
cursor: pointer;
}
.payment-qr {
background: white;
padding: 1rem;
border-radius: 8px;
margin: 1rem auto;
width: 200px;
height: 200px;
display: flex;
align-items: center;
justify-content: center;
}
/* Progress steps */
.step {
display: flex;
align-items: center;
margin-bottom: 1rem;
}
.step-number {
width: 30px;
height: 30px;
border-radius: 50%;
background-color: #1e40af;
color: white;
display: flex;
align-items: center;
justify-content: center;
margin-right: 1rem;
font-weight: bold;
}
.step.active .step-number {
background-color: #3b82f6;
}
.step.completed .step-number {
background-color: #10b981;
}
.step-text {
color: #94a3b8;
}
.step.active .step-text {
color: white;
}
.step.completed .step-text {
color: #10b981;
}
/* BRC-20 display */
.brc20-display {
background: rgba(30, 58, 138, 0.5);
border: 1px solid #3b82f6;
border-radius: 8px;
padding: 1rem;
margin-top: 1rem;
}
.brc20-value {
font-size: 1.5rem;
font-weight: bold;
color: #3b82f6;
}
/* Buyout options */
.buyout-option {
border: 1px solid #3b82f6;
border-radius: 8px;
padding: 1rem;
margin-bottom: 1rem;
transition: all 0.3s ease;
}
.buyout-option:hover {
background: rgba(30, 58, 138, 0.3);
}
.buyout-option.active {
background: rgba(30, 58, 138, 0.5);
border-color: #10b981;
}
/* Toggle switch */
.switch {
position: relative;
display: inline-block;
width: 50px;
height: 24px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #1e40af;
transition: .4s;
border-radius: 24px;
}
.slider:before {
position: absolute;
content: "";
height: 16px;
width: 16px;
left: 4px;
bottom: 4px;
background-color: white;
transition: .4s;
border-radius: 50%;
}
input:checked + .slider {
background-color: #10b981;
}
input:checked + .slider:before {
transform: translateX(26px);
}
</style>
</head>
<body class="min-h-screen">
<!-- Header -->
<header class="gradient-bg py-6 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto flex justify-between items-center">
<div class="flex items-center space-x-2">
<div class="w-10 h-10 rounded-full bg-blue-500 flex items-center justify-center">
<i class="fas fa-robot text-white text-xl"></i>
</div>
<h1 class="futuristic-text text-2xl font-bold text-white">NEXUS<span class="text-blue-400">ROBOTICS</span></h1>
</div>
<button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md futuristic-text transition">
Connect Wallet
</button>
</div>
</header>
<!-- Main Content -->
<main class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
<!-- Listing Section -->
<section class="mb-20">
<div class="text-center mb-12">
<h2 class="futuristic-text text-4xl md:text-5xl font-bold mb-4">
List Your <span class="text-blue-400">Humanoid Robot</span> for Lease
</h2>
<p class="text-xl text-blue-200 max-w-3xl mx-auto">
Tokenize your robotics asset and earn passive income through our BCR20 lease marketplace.
</p>
</div>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
<!-- Listing Form -->
<div class="card-glass rounded-xl p-8">
<h3 class="futuristic-text text-2xl font-bold mb-6 text-blue-300">Robot Details</h3>
<div class="space-y-6">
<div>
<label class="block text-sm font-medium text-blue-200 mb-2">Robot Model</label>
<select class="input-futuristic w-full px-4 py-3 rounded-lg">
<option>Select Model</option>
<option>Nexus X-2000 Industrial</option>
<option>Nexus S-1500 Service</option>
<option>Nexus H-900 Healthcare</option>
<option>Nexus C-500 Companion</option>
<option>Custom Model</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-blue-200 mb-2">Manufacturing Date</label>
<input type="date" class="input-futuristic w-full px-4 py-3 rounded-lg">
</div>
<div>
<label class="block text-sm font-medium text-blue-200 mb-2">Current Operational Hours</label>
<input type="number" class="input-futuristic w-full px-4 py-3 rounded-lg" placeholder="e.g. 1500">
</div>
<div>
<label class="block text-sm font-medium text-blue-200 mb-2">Robot Location</label>
<input type="text" class="input-futuristic w-full px-4 py-3 rounded-lg" placeholder="City, Country">
</div>
<div>
<label class="block text-sm font-medium text-blue-200 mb-2">Upload Robot Photos</label>
<div class="mt-1 flex justify-center px-6 pt-5 pb-6 border-2 border-blue-500 border-dashed rounded-md">
<div class="space-y-1 text-center">
<div class="flex text-sm text-blue-200">
<label class="relative cursor-pointer bg-blue-900 rounded-md font-medium text-blue-400 hover:text-blue-300 focus-within:outline-none">
<span>Upload files</span>
<input type="file" class="sr-only" multiple>
</label>
<p class="pl-1">or drag and drop</p>
</div>
<p class="text-xs text-blue-400">
PNG, JPG up to 10MB
</p>
</div>
</div>
</div>
</div>
</div>
<!-- Lease Terms -->
<div class="card-glass rounded-xl p-8">
<h3 class="futuristic-text text-2xl font-bold mb-6 text-blue-300">Lease Terms</h3>
<div class="space-y-6">
<div>
<label class="block text-sm font-medium text-blue-200 mb-2">Monthly Lease Price (BCR20)</label>
<div class="relative">
<input type="number" id="leasePrice" class="input-futuristic w-full px-4 py-3 rounded-lg" placeholder="Enter your asking price" value="3500">
<div class="absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none">
<span class="text-blue-300">BCR20</span>
</div>
</div>
</div>
<div>
<label class="block text-sm font-medium text-blue-200 mb-2">Minimum Lease Duration</label>
<select class="input-futuristic w-full px-4 py-3 rounded-lg">
<option value="3">3 Months</option>
<option value="6" selected>6 Months</option>
<option value="12">12 Months</option>
<option value="24">24 Months</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-blue-200 mb-2">Maintenance Responsibility</label>
<div class="flex space-x-4">
<label class="inline-flex items-center">
<input type="radio" name="maintenance" class="form-radio text-blue-500" checked>
<span class="ml-2">Owner Provides (+15%)</span>
</label>
<label class="inline-flex items-center">
<input type="radio" name="maintenance" class="form-radio text-blue-500">
<span class="ml-2">Lessee Responsible</span>
</label>
</div>
</div>
<div>
<label class="block text-sm font-medium text-blue-200 mb-2">Insurance Coverage</label>
<div class="flex space-x-4">
<label class="inline-flex items-center">
<input type="radio" name="insurance" class="form-radio text-blue-500" checked>
<span class="ml-2">Included (+8%)</span>
</label>
<label class="inline-flex items-center">
<input type="radio" name="insurance" class="form-radio text-blue-500">
<span class="ml-2">Lessee Provides</span>
</label>
</div>
</div>
<div>
<label class="block text-sm font-medium text-blue-200 mb-2">Specialization</label>
<div class="grid grid-cols-2 gap-2">
<label class="inline-flex items-center">
<input type="checkbox" class="form-checkbox text-blue-500">
<span class="ml-2">Manufacturing</span>
</label>
<label class="inline-flex items-center">
<input type="checkbox" class="form-checkbox text-blue-500">
<span class="ml-2">Healthcare</span>
</label>
<label class="inline-flex items-center">
<input type="checkbox" class="form-checkbox text-blue-500">
<span class="ml-2">Logistics</span>
</label>
<label class="inline-flex items-center">
<input type="checkbox" class="form-checkbox text-blue-500">
<span class="ml-2">Customer Service</span>
</label>
</div>
</div>
<!-- Lease Buyout Options -->
<div class="mt-6">
<h4 class="futuristic-text text-lg font-bold mb-4 text-blue-300">Lease Buyout Options</h4>
<div class="buyout-option active">
<div class="flex justify-between items-center mb-2">
<label class="font-medium">End-of-Term Buyout</label>
<label class="switch">
<input type="checkbox" checked>
<span class="slider"></span>
</label>
</div>
<p class="text-sm text-blue-300">Allow lessee to purchase the robot at the end of lease term for <span class="text-white">120%</span> of total lease payments.</p>
<div class="mt-3">
<label class="block text-xs text-blue-300 mb-1">Buyout Price Multiplier</label>
<select class="input-futuristic w-full px-3 py-2 rounded-lg text-sm">
<option value="1.1">110% of total payments</option>
<option value="1.2" selected>120% of total payments</option>
<option value="1.3">130% of total payments</option>
<option value="1.5">150% of total payments</option>
</select>
</div>
</div>
<div class="buyout-option">
<div class="flex justify-between items-center mb-2">
<label class="font-medium">7-Day Immediate Buyout</label>
<label class="switch">
<input type="checkbox">
<span class="slider"></span>
</label>
</div>
<p class="text-sm text-blue-300">Allow lessee to purchase the robot within 7 days of lease start for <span class="text-white">150%</span> of total lease value.</p>
<div class="mt-3 hidden">
<label class="block text-xs text-blue-300 mb-1">Immediate Buyout Multiplier</label>
<select class="input-futuristic w-full px-3 py-2 rounded-lg text-sm">
<option value="1.4">140% of total value</option>
<option value="1.5" selected>150% of total value</option>
<option value="1.6">160% of total value</option>
<option value="2.0">200% of total value</option>
</select>
</div>
</div>
</div>
<!-- BRC-20 Display -->
<div class="brc20-display">
<div class="flex justify-between items-center">
<div>
<p class="text-sm text-blue-300">Fractal Bitcoin Equivalent</p>
<p class="brc20-value">0.025 BTC</p>
</div>
<div class="text-right">
<p class="text-sm text-blue-300">Current Rate</p>
<p class="text-white">1 BCR20 = 0.00000714 BTC</p>
</div>
</div>
<div class="mt-2 text-xs text-blue-400">
<p>Rate updates every 5 minutes. Final amount will be calculated at time of transaction.</p>
</div>
</div>
<button id="listRobotBtn" class="w-full bg-blue-600 hover:bg-blue-700 text-white px-6 py-3 rounded-lg futuristic-text text-lg transition glow-effect">
List Robot for Lease
</button>
</div>
</div>
</div>
</section>
<!-- How It Works Section -->
<section class="mb-20">
<div class="card-glass rounded-xl p-8">
<h3 class="futuristic-text text-2xl font-bold mb-8 text-blue-300">How Robot Leasing Works</h3>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="bg-blue-900 bg-opacity-30 p-6 rounded-lg">
<div class="flex items-center mb-4">
<div class="step-number">1</div>
<h4 class="futuristic-text text-lg font-bold ml-3">List Your Robot</h4>
</div>
<p class="text-blue-200 text-sm">
Provide details about your humanoid robot including model, condition, and desired lease terms. Our system will verify your ownership.
</p>
</div>
<div class="bg-blue-900 bg-opacity-30 p-6 rounded-lg">
<div class="flex items-center mb-4">
<div class="step-number">2</div>
<h4 class="futuristic-text text-lg font-bold ml-3">Tokenize Asset</h4>
</div>
<p class="text-blue-200 text-sm">
Your robot is converted into BCR20 tokens representing fractional ownership. These tokens are escrowed during the lease period.
</p>
</div>
<div class="bg-blue-900 bg-opacity-30 p-6 rounded-lg">
<div class="flex items-center mb-4">
<div class="step-number">3</div>
<h4 class="futuristic-text text-lg font-bold ml-3">Receive Payments</h4>
</div>
<p class="text-blue-200 text-sm">
Earn monthly payments in BCR20 tokens or convert to Bitcoin via Fractal. Get your robot back when lease ends.
</p>
</div>
</div>
</div>
</section>
<!-- Pricing Examples -->
<section>
<h3 class="futuristic-text text-2xl font-bold mb-8 text-blue-300">Example Lease Pricing</h3>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="robot-model card-glass rounded-xl p-6 hover:glow-effect transition cursor-pointer">
<div class="bg-blue-900 bg-opacity-30 rounded-lg p-4 mb-4 flex justify-center">
<i class="fas fa-industry text-4xl text-blue-400"></i>
</div>
<h4 class="futuristic-text text-xl font-bold mb-2">Industrial Model</h4>
<p class="text-blue-300 text-sm mb-4">X-2000 with 500 operational hours</p>
<div class="space-y-3">
<div class="flex justify-between">
<span class="text-blue-300">Monthly Rate:</span>
<span class="text-blue-400 font-bold">4,200 BCR20</span>
</div>
<div class="flex justify-between">
<span class="text-blue-300">6-Month ROI:</span>
<span class="text-green-400 font-bold">18.5%</span>
</div>
<div class="flex justify-between">
<span class="text-blue-300">Buyout Price:</span>
<span class="text-white font-bold">30,240 BCR20</span>
</div>
</div>
</div>
<div class="robot-model card-glass rounded-xl p-6 hover:glow-effect transition cursor-pointer">
<div class="bg-blue-900 bg-opacity-30 rounded-lg p-4 mb-4 flex justify-center">
<i class="fas fa-hands-helping text-4xl text-blue-400"></i>
</div>
<h4 class="futuristic-text text-xl font-bold mb-2">Service Model</h4>
<p class="text-blue-300 text-sm mb-4">S-1500 with 200 operational hours</p>
<div class="space-y-3">
<div class="flex justify-between">
<span class="text-blue-300">Monthly Rate:</span>
<span class="text-blue-400 font-bold">3,500 BCR20</span>
</div>
<div class="flex justify-between">
<span class="text-blue-300">6-Month ROI:</span>
<span class="text-green-400 font-bold">15.2%</span>
</div>
<div class="flex justify-between">
<span class="text-blue-300">Buyout Price:</span>
<span class="text-white font-bold">25,200 BCR20</span>
</div>
</div>
</div>
<div class="robot-model card-glass rounded-xl p-6 hover:glow-effect transition cursor-pointer">
<div class="bg-blue-900 bg-opacity-30 rounded-lg p-4 mb-4 flex justify-center">
<i class="fas fa-heartbeat text-4xl text-blue-400"></i>
</div>
<h4 class="futuristic-text text-xl font-bold mb-2">Healthcare Model</h4>
<p class="text-blue-300 text-sm mb-4">H-900 with 100 operational hours</p>
<div class="space-y-3">
<div class="flex justify-between">
<span class="text-blue-300">Monthly Rate:</span>
<span class="text-blue-400 font-bold">4,800 BCR20</span>
</div>
<div class="flex justify-between">
<span class="text-blue-300">6-Month ROI:</span>
<span class="text-green-400 font-bold">21.3%</span>
</div>
<div class="flex justify-between">
<span class="text-blue-300">Buyout Price:</span>
<span class="text-white font-bold">34,560 BCR20</span>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- Simple Footer -->
<footer class="gradient-bg py-6 px-4 sm:px-6 lg:px-8 mt-20">
<div class="max-w-7xl mx-auto text-center">
<p class="text-blue-300 text-sm">
© 2023 Nexus Robotics. All rights reserved.
</p>
</div>
</footer>
<!-- Payment Modal -->
<div id="paymentModal" class="payment-modal">
<div class="payment-content">
<span class="close-modal">×</span>
<h3 class="futuristic-text text-2xl font-bold mb-6 text-blue-300 text-center">Fractal Bitcoin Payment</h3>
<div class="step">
<div class="step-number">1</div>
<div class="step-text">Listing Fee Paid</div>
</div>
<div class="step active">
<div class="step-number">2</div>
<div class="step-text">Receive Bitcoin Payment</div>
</div>
<div class="step">
<div class="step-number">3</div>
<div class="step-text">Robot Verification</div>
</div>
<div class="step">
<div class="step-number">4</div>
<div class="step-text">Lease Activation</div>
</div>
<div class="text-center my-6">
<p class="text-blue-200 mb-4">Send <span class="text-white font-bold">0.025 BTC</span> to:</p>
<p class="text-blue-400 text-sm mb-6 break-all">bc1qxy2kgdygjrsqtzq2n0yrf249nw3q2k6x2g0p2e</p>
<div class="payment-qr">
<!-- QR code placeholder -->
<i class="fas fa-qrcode text-6xl text-gray-800"></i>
</div>
<p class="text-blue-300 text-sm mt-4">Equivalent to: <span class="text-white">3,500 BCR20</span></p>
</div>
<div class="bg-blue-900 bg-opacity-30 p-4 rounded-lg mb-6">
<div class="flex justify-between text-sm mb-2">
<span class="text-blue-300">Amount Received:</span>
<span class="text-blue-300">0.000 BTC</span>
</div>
<div class="w-full bg-blue-800 rounded-full h-2.5">
<div class="bg-blue-400 h-2.5 rounded-full" style="width: 0%"></div>
</div>
</div>
<button class="w-full bg-blue-600 hover:bg-blue-700 text-white px-6 py-3 rounded-lg futuristic-text transition">
I've Sent the Payment
</button>
</div>
</div>
<script>
// Payment modal functionality
const listRobotBtn = document.getElementById('listRobotBtn');
const paymentModal = document.getElementById('paymentModal');
const closeModal = document.querySelector('.close-modal');
listRobotBtn.addEventListener('click', function() {
paymentModal.style.display = 'flex';
});
closeModal.addEventListener('click', function() {
paymentModal.style.display = 'none';
});
window.addEventListener('click', function(event) {
if (event.target === paymentModal) {
paymentModal.style.display = 'none';
}
});
// Simulate payment progress
if (paymentModal) {
setTimeout(() => {
const progressBar = document.querySelector('.payment-content .bg-blue-400');
const amountReceived = document.querySelector('.payment-content .text-blue-300:last-child');
let progress = 0;
const interval = setInterval(() => {
progress += 5;
progressBar.style.width = `${progress}%`;
amountReceived.textContent = `${(0.025 * progress / 100).toFixed(3)} BTC`;
if (progress >= 100) {
clearInterval(interval);
// Update steps
document.querySelectorAll('.step')[1].classList.remove('active');
document.querySelectorAll('.step')[1].classList.add('completed');
document.querySelectorAll('.step')[2].classList.add('active');
// Change button text
const modalButton = document.querySelector('.payment-content button');
modalButton.textContent = 'Proceed to Verification';
modalButton.classList.remove('bg-blue-600');
modalButton.classList.add('bg-green-600');
}
}, 300);
}, 1000);
}
// Buyout option toggle functionality
const buyoutOptions = document.querySelectorAll('.buyout-option');
buyoutOptions.forEach(option => {
const toggle = option.querySelector('input[type="checkbox"]');
const settings = option.querySelector('div.hidden');
toggle.addEventListener('change', function() {
if (this.checked) {
option.classList.add('active');
if (settings) settings.classList.remove('hidden');
} else {
option.classList.remove('active');
if (settings) settings.classList.add('hidden');
}
});
});
// Update BRC-20 display based on lease price
const leasePriceInput = document.getElementById('leasePrice');
const brc20Value = document.querySelector('.brc20-value');
leasePriceInput.addEventListener('input', function() {
const price = parseFloat(this.value) || 0;
const btcValue = price * 0.00000714;
brc20Value.textContent = btcValue.toFixed(6) + ' BTC';
// Also update the modal value if it's open
if (paymentModal.style.display === 'flex') {
document.querySelector('.payment-content .text-white.font-bold').textContent = btcValue.toFixed(3) + ' BTC';
document.querySelector('.payment-content .text-white:last-child').textContent = price + ' BCR20';
}
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=privateuserh/roboticsdevv1-0" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |