Spaces:
Running
Running
Promote version a5d9863 to main
Browse filesPromoted commit a5d986380be38331c660d71b4bab0c2416e80ed7 to main branch
- index.html +147 -122
index.html
CHANGED
|
@@ -66,12 +66,13 @@
|
|
| 66 |
<i data-feather="menu"></i>
|
| 67 |
</button>
|
| 68 |
</div>
|
|
|
|
| 69 |
<!-- Desktop Navigation -->
|
| 70 |
<div class="hidden md:flex items-center space-x-8">
|
| 71 |
<a href="index.html" class="text-white hover:text-yellow-500 transition">Home</a>
|
| 72 |
<a href="index.html#features" class="text-white hover:text-yellow-500 transition">Features</a>
|
| 73 |
-
<a href="about.html" class="text-white hover:text-yellow-500 transition">About</a>
|
| 74 |
<a href="index.html#pricing" class="text-white hover:text-yellow-500 transition">Pricing</a>
|
|
|
|
| 75 |
<a href="currency.html" class="text-white hover:text-yellow-500 transition">Currency</a>
|
| 76 |
<a href="events.html" class="text-white hover:text-yellow-500 transition">Events</a>
|
| 77 |
<a href="results.html" class="text-white hover:text-yellow-500 transition">Results</a>
|
|
@@ -82,6 +83,19 @@
|
|
| 82 |
<i data-feather="shopping-cart" class="text-yellow-500 hover:text-black"></i>
|
| 83 |
<span id="cart-count" class="text-white">0</span>
|
| 84 |
</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
</div>
|
| 86 |
<a href="login.html" class="bg-yellow-500 hover:bg-yellow-600 text-black font-bold px-4 py-2 rounded-lg transition flex items-center">
|
| 87 |
<i data-feather="user" class="mr-2"></i> Login
|
|
@@ -518,10 +532,80 @@ Get Started
|
|
| 518 |
<p class="text-sm text-gray-400">No credit card required • Cancel anytime</p>
|
| 519 |
</div>
|
| 520 |
</section>
|
|
|
|
| 521 |
<!-- Footer -->
|
| 522 |
-
<
|
| 523 |
-
|
| 524 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 525 |
<div id="mobile-menu" class="hidden fixed inset-0 bg-black bg-opacity-90 z-50 flex flex-col items-center justify-center">
|
| 526 |
<button id="mobile-menu-close" class="absolute top-4 right-4 text-white text-2xl">
|
| 527 |
<i data-feather="x"></i>
|
|
@@ -529,14 +613,14 @@ Get Started
|
|
| 529 |
<div class="flex flex-col space-y-6 text-center">
|
| 530 |
<a href="index.html" class="text-2xl text-white hover:text-yellow-500 transition">Home</a>
|
| 531 |
<a href="index.html#features" class="text-2xl text-white hover:text-yellow-500 transition">Features</a>
|
| 532 |
-
<a href="about.html" class="text-2xl text-white hover:text-yellow-500 transition">About</a>
|
| 533 |
<a href="index.html#pricing" class="text-2xl text-white hover:text-yellow-500 transition">Pricing</a>
|
|
|
|
| 534 |
<a href="currency.html" class="text-2xl text-white hover:text-yellow-500 transition">Currency</a>
|
| 535 |
<a href="events.html" class="text-2xl text-white hover:text-yellow-500 transition">Events</a>
|
| 536 |
<a href="results.html" class="text-2xl text-white hover:text-yellow-500 transition">Results</a>
|
| 537 |
</div>
|
| 538 |
</div>
|
| 539 |
-
<!-- Add i18next libraries -->
|
| 540 |
<script src="https://unpkg.com/i18next/dist/umd/i18next.min.js"></script>
|
| 541 |
<script src="https://unpkg.com/i18next-browser-languagedetector/i18nextBrowserLanguageDetector.js"></script>
|
| 542 |
<script src="https://unpkg.com/i18next-http-backend/i18nextHttpBackend.js"></script>
|
|
@@ -550,61 +634,53 @@ Get Started
|
|
| 550 |
debug: false,
|
| 551 |
resources: {
|
| 552 |
en: {
|
| 553 |
-
|
| 554 |
-
|
| 555 |
-
|
| 556 |
-
|
| 557 |
-
|
| 558 |
-
|
| 559 |
-
|
| 560 |
-
|
| 561 |
-
|
| 562 |
-
|
| 563 |
-
|
| 564 |
-
|
| 565 |
-
|
| 566 |
-
|
| 567 |
-
|
| 568 |
-
|
| 569 |
-
|
| 570 |
-
|
| 571 |
-
|
| 572 |
-
|
| 573 |
-
|
| 574 |
-
|
| 575 |
-
"pricing_subtitle": "Select the level of access that fits your mental training needs. All plans include our VR and AR technology.",
|
| 576 |
-
"cta_title": "READY TO AMPLIFY YOUR PERFORMANCE?",
|
| 577 |
-
"cta_subtitle": "Join thousands of athletes, performers, and professionals who are mastering their minds with our technology."
|
| 578 |
-
// Add more translations as needed
|
| 579 |
}
|
| 580 |
},
|
| 581 |
es: {
|
| 582 |
translation: {
|
| 583 |
-
|
| 584 |
-
|
| 585 |
-
|
| 586 |
-
|
| 587 |
-
|
| 588 |
-
|
| 589 |
-
|
| 590 |
-
|
| 591 |
-
|
| 592 |
-
|
| 593 |
-
|
| 594 |
-
|
| 595 |
-
|
| 596 |
-
|
| 597 |
-
|
| 598 |
-
|
| 599 |
-
|
| 600 |
-
|
| 601 |
-
|
| 602 |
-
|
| 603 |
-
|
| 604 |
-
"pricing_subtitle": "Selecciona el nivel de acceso que se ajuste a tus necesidades de entrenamiento mental. Todos los planes incluyen nuestra tecnología VR y AR.",
|
| 605 |
-
"cta_title": "¿LISTO PARA AMPLIFICAR TU RENDIMIENTO?",
|
| 606 |
-
"cta_subtitle": "Únete a miles de atletas, artistas y profesionales que están dominando sus mentes con nuestra tecnología."
|
| 607 |
-
// Add more Spanish translations as needed
|
| 608 |
}
|
| 609 |
},
|
| 610 |
fr: {
|
|
@@ -662,7 +738,7 @@ Get Started
|
|
| 662 |
// Initial translations loaded
|
| 663 |
updateContent();
|
| 664 |
});
|
| 665 |
-
|
| 666 |
const languageButton = document.getElementById('language-button');
|
| 667 |
const languageDropdown = document.getElementById('language-dropdown');
|
| 668 |
|
|
@@ -679,9 +755,6 @@ Get Started
|
|
| 679 |
document.getElementById('current-language').textContent = lang.toUpperCase();
|
| 680 |
updateContent();
|
| 681 |
languageDropdown.classList.add('hidden');
|
| 682 |
-
|
| 683 |
-
// Save language preference to localStorage
|
| 684 |
-
localStorage.setItem('amplify-language-pref', lang);
|
| 685 |
});
|
| 686 |
});
|
| 687 |
});
|
|
@@ -692,17 +765,6 @@ Get Started
|
|
| 692 |
languageDropdown.classList.add('hidden');
|
| 693 |
}
|
| 694 |
});
|
| 695 |
-
|
| 696 |
-
// Check for saved language preference on page load
|
| 697 |
-
document.addEventListener('DOMContentLoaded', function() {
|
| 698 |
-
const savedLang = localStorage.getItem('amplify-language-pref');
|
| 699 |
-
if (savedLang) {
|
| 700 |
-
i18next.changeLanguage(savedLang, () => {
|
| 701 |
-
document.getElementById('current-language').textContent = savedLang.toUpperCase();
|
| 702 |
-
updateContent();
|
| 703 |
-
});
|
| 704 |
-
}
|
| 705 |
-
});
|
| 706 |
// Update page content with translations
|
| 707 |
function updateContent() {
|
| 708 |
// Update navigation items
|
|
@@ -732,61 +794,24 @@ Get Started
|
|
| 732 |
});
|
| 733 |
|
| 734 |
// Update hero section
|
| 735 |
-
|
| 736 |
-
|
| 737 |
-
|
| 738 |
-
|
| 739 |
-
if (heroSubtitle) heroSubtitle.textContent = i18next.t('hero_subtitle');
|
| 740 |
-
|
| 741 |
-
const getStartedBtn = document.querySelector('section.hero-gradient button:nth-of-type(1)');
|
| 742 |
-
if (getStartedBtn) getStartedBtn.textContent = i18next.t('get_started');
|
| 743 |
-
|
| 744 |
-
const watchDemoBtn = document.querySelector('section.hero-gradient button:nth-of-type(2)');
|
| 745 |
-
if (watchDemoBtn) watchDemoBtn.textContent = i18next.t('watch_demo');
|
| 746 |
|
| 747 |
// Update features section
|
| 748 |
-
|
| 749 |
-
|
| 750 |
-
|
| 751 |
-
|
| 752 |
-
|
| 753 |
-
|
| 754 |
-
|
| 755 |
-
if (vrDesc) vrDesc.textContent = i18next.t('vr_desc');
|
| 756 |
-
|
| 757 |
-
const arTitle = document.querySelectorAll('section#features h3')[1];
|
| 758 |
-
if (arTitle) arTitle.textContent = i18next.t('ar_training');
|
| 759 |
-
|
| 760 |
-
const arDesc = document.querySelectorAll('section#features p')[3];
|
| 761 |
-
if (arDesc) arDesc.textContent = i18next.t('ar_desc');
|
| 762 |
-
|
| 763 |
-
const bioTitle = document.querySelectorAll('section#features h3')[2];
|
| 764 |
-
if (bioTitle) bioTitle.textContent = i18next.t('biometrics');
|
| 765 |
-
|
| 766 |
-
const bioDesc = document.querySelectorAll('section#features p')[4];
|
| 767 |
-
if (bioDesc) bioDesc.textContent = i18next.t('bio_desc');
|
| 768 |
-
|
| 769 |
-
// Update pricing section
|
| 770 |
-
document.querySelectorAll('#pricing .text-yellow-500').forEach(el => {
|
| 771 |
-
el.textContent = i18next.t('pricing_title');
|
| 772 |
-
});
|
| 773 |
-
document.querySelectorAll('#pricing .text-gray-400').forEach(el => {
|
| 774 |
-
if (el.textContent.includes('Select the level of access')) {
|
| 775 |
-
el.textContent = i18next.t('pricing_subtitle');
|
| 776 |
-
}
|
| 777 |
-
});
|
| 778 |
-
|
| 779 |
-
// Update CTA section
|
| 780 |
-
document.querySelectorAll('section:last-child h2').forEach(el => {
|
| 781 |
-
el.textContent = i18next.t('cta_title');
|
| 782 |
-
});
|
| 783 |
-
document.querySelectorAll('section:last-child p').forEach(el => {
|
| 784 |
-
el.textContent = i18next.t('cta_subtitle');
|
| 785 |
-
});
|
| 786 |
|
| 787 |
// Update document title
|
| 788 |
document.title = i18next.t('title');
|
| 789 |
-
|
|
|
|
| 790 |
feather.replace();
|
| 791 |
}
|
| 792 |
// Mobile menu toggle
|
|
|
|
| 66 |
<i data-feather="menu"></i>
|
| 67 |
</button>
|
| 68 |
</div>
|
| 69 |
+
|
| 70 |
<!-- Desktop Navigation -->
|
| 71 |
<div class="hidden md:flex items-center space-x-8">
|
| 72 |
<a href="index.html" class="text-white hover:text-yellow-500 transition">Home</a>
|
| 73 |
<a href="index.html#features" class="text-white hover:text-yellow-500 transition">Features</a>
|
|
|
|
| 74 |
<a href="index.html#pricing" class="text-white hover:text-yellow-500 transition">Pricing</a>
|
| 75 |
+
<a href="about.html" class="text-white hover:text-yellow-500 transition">About</a>
|
| 76 |
<a href="currency.html" class="text-white hover:text-yellow-500 transition">Currency</a>
|
| 77 |
<a href="events.html" class="text-white hover:text-yellow-500 transition">Events</a>
|
| 78 |
<a href="results.html" class="text-white hover:text-yellow-500 transition">Results</a>
|
|
|
|
| 83 |
<i data-feather="shopping-cart" class="text-yellow-500 hover:text-black"></i>
|
| 84 |
<span id="cart-count" class="text-white">0</span>
|
| 85 |
</button>
|
| 86 |
+
</div>
|
| 87 |
+
<div class="relative">
|
| 88 |
+
<button id="language-button" class="flex items-center space-x-1 bg-yellow-500 hover:bg-yellow-600 text-black px-4 py-2 rounded-lg transition">
|
| 89 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-globe mr-1"><circle cx="12" cy="12" r="10"></circle><line x1="2" y1="12" x2="22" y2="12"></line><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path></svg>
|
| 90 |
+
<span id="current-language">EN</span>
|
| 91 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down ml-1"><polyline points="6 9 12 15 18 9"></polyline></svg>
|
| 92 |
+
</button>
|
| 93 |
+
<div id="language-dropdown" class="hidden absolute right-0 mt-2 w-48 bg-black border border-yellow-500 rounded-lg shadow-lg py-1 z-50">
|
| 94 |
+
<a href="#" class="language-switch block px-4 py-2 text-white hover:bg-yellow-500 hover:text-black" data-lang="en">English</a>
|
| 95 |
+
<a href="#" class="language-switch block px-4 py-2 text-white hover:bg-yellow-500 hover:text-black" data-lang="es">Español</a>
|
| 96 |
+
<a href="#" class="language-switch block px-4 py-2 text-white hover:bg-yellow-500 hover:text-black" data-lang="fr">Français</a>
|
| 97 |
+
<a href="#" class="language-switch block px-4 py-2 text-white hover:bg-yellow-500 hover:text-black" data-lang="de">Deutsch</a>
|
| 98 |
+
</div>
|
| 99 |
</div>
|
| 100 |
<a href="login.html" class="bg-yellow-500 hover:bg-yellow-600 text-black font-bold px-4 py-2 rounded-lg transition flex items-center">
|
| 101 |
<i data-feather="user" class="mr-2"></i> Login
|
|
|
|
| 532 |
<p class="text-sm text-gray-400">No credit card required • Cancel anytime</p>
|
| 533 |
</div>
|
| 534 |
</section>
|
| 535 |
+
|
| 536 |
<!-- Footer -->
|
| 537 |
+
<footer class="relative z-10 bg-black bg-opacity-90 border-t border-gray-800 py-12">
|
| 538 |
+
<div class="container mx-auto px-6">
|
| 539 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
|
| 540 |
+
<div>
|
| 541 |
+
<div class="flex items-center space-x-2 mb-4">
|
| 542 |
+
<i data-feather="zap" class="text-yellow-500"></i>
|
| 543 |
+
<span class="text-2xl font-bold font-['Bebas+Neue'] tracking-wider text-yellow-500">AMPLIFY</span>
|
| 544 |
+
</div>
|
| 545 |
+
<p class="text-gray-400 mb-4">
|
| 546 |
+
Mental performance technology for champions in sports, business, and life.
|
| 547 |
+
</p>
|
| 548 |
+
<div class="flex space-x-4">
|
| 549 |
+
<a href="#" class="text-gray-400 hover:text-yellow-500 transition">
|
| 550 |
+
<i data-feather="facebook"></i>
|
| 551 |
+
</a>
|
| 552 |
+
<a href="#" class="text-gray-400 hover:text-yellow-500 transition">
|
| 553 |
+
<i data-feather="twitter"></i>
|
| 554 |
+
</a>
|
| 555 |
+
<a href="#" class="text-gray-400 hover:text-yellow-500 transition">
|
| 556 |
+
<i data-feather="instagram"></i>
|
| 557 |
+
</a>
|
| 558 |
+
<a href="#" class="text-gray-400 hover:text-yellow-500 transition">
|
| 559 |
+
<i data-feather="linkedin"></i>
|
| 560 |
+
</a>
|
| 561 |
+
</div>
|
| 562 |
+
</div>
|
| 563 |
+
|
| 564 |
+
<div>
|
| 565 |
+
<h3 class="text-lg font-bold text-white mb-4">Products</h3>
|
| 566 |
+
<ul class="space-y-2">
|
| 567 |
+
<li><a href="#" class="text-gray-400 hover:text-yellow-500 transition">VR Training</a></li>
|
| 568 |
+
<li><a href="#" class="text-gray-400 hover:text-yellow-500 transition">AR Coaching</a></li>
|
| 569 |
+
<li><a href="#" class="text-gray-400 hover:text-yellow-500 transition">Biofeedback</a></li>
|
| 570 |
+
<li><a href="#" class="text-gray-400 hover:text-yellow-500 transition">Scenario Library</a></li>
|
| 571 |
+
</ul>
|
| 572 |
+
</div>
|
| 573 |
+
|
| 574 |
+
<div>
|
| 575 |
+
<h3 class="text-lg font-bold text-white mb-4">Company</h3>
|
| 576 |
+
<ul class="space-y-2">
|
| 577 |
+
<li><a href="about.html" class="text-gray-400 hover:text-yellow-500 transition">About Us</a></li>
|
| 578 |
+
<li><a href="currency.html" class="text-gray-400 hover:text-yellow-500 transition">Currency Converter</a></li>
|
| 579 |
+
<li><a href="#" class="text-gray-400 hover:text-yellow-500 transition">Careers</a></li>
|
| 580 |
+
<li><a href="#" class="text-gray-400 hover:text-yellow-500 transition">Press</a></li>
|
| 581 |
+
<li><a href="#" class="text-gray-400 hover:text-yellow-500 transition">Contact</a></li>
|
| 582 |
+
</ul>
|
| 583 |
+
</div>
|
| 584 |
+
|
| 585 |
+
<div>
|
| 586 |
+
<h3 class="text-lg font-bold text-white mb-4">Resources</h3>
|
| 587 |
+
<ul class="space-y-2">
|
| 588 |
+
<li><a href="#" class="text-gray-400 hover:text-yellow-500 transition">Blog</a></li>
|
| 589 |
+
<li><a href="#" class="text-gray-400 hover:text-yellow-500 transition">Research</a></li>
|
| 590 |
+
<li><a href="#" class="text-gray-400 hover:text-yellow-500 transition">Help Center</a></li>
|
| 591 |
+
<li><a href="#" class="text-gray-400 hover:text-yellow-500 transition">Community</a></li>
|
| 592 |
+
</ul>
|
| 593 |
+
</div>
|
| 594 |
+
</div>
|
| 595 |
+
|
| 596 |
+
<div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
|
| 597 |
+
<p class="text-gray-500 mb-4 md:mb-0">
|
| 598 |
+
© 2025 Amplify Technologies. All rights reserved.
|
| 599 |
+
</p>
|
| 600 |
+
<div class="flex space-x-6">
|
| 601 |
+
<a href="#" class="text-gray-500 hover:text-yellow-500 transition">Privacy Policy</a>
|
| 602 |
+
<a href="#" class="text-gray-500 hover:text-yellow-500 transition">Terms of Service</a>
|
| 603 |
+
<a href="#" class="text-gray-500 hover:text-yellow-500 transition">Cookies</a>
|
| 604 |
+
</div>
|
| 605 |
+
</div>
|
| 606 |
+
</div>
|
| 607 |
+
</footer>
|
| 608 |
+
<!-- Mobile Menu -->
|
| 609 |
<div id="mobile-menu" class="hidden fixed inset-0 bg-black bg-opacity-90 z-50 flex flex-col items-center justify-center">
|
| 610 |
<button id="mobile-menu-close" class="absolute top-4 right-4 text-white text-2xl">
|
| 611 |
<i data-feather="x"></i>
|
|
|
|
| 613 |
<div class="flex flex-col space-y-6 text-center">
|
| 614 |
<a href="index.html" class="text-2xl text-white hover:text-yellow-500 transition">Home</a>
|
| 615 |
<a href="index.html#features" class="text-2xl text-white hover:text-yellow-500 transition">Features</a>
|
|
|
|
| 616 |
<a href="index.html#pricing" class="text-2xl text-white hover:text-yellow-500 transition">Pricing</a>
|
| 617 |
+
<a href="about.html" class="text-2xl text-white hover:text-yellow-500 transition">About</a>
|
| 618 |
<a href="currency.html" class="text-2xl text-white hover:text-yellow-500 transition">Currency</a>
|
| 619 |
<a href="events.html" class="text-2xl text-white hover:text-yellow-500 transition">Events</a>
|
| 620 |
<a href="results.html" class="text-2xl text-white hover:text-yellow-500 transition">Results</a>
|
| 621 |
</div>
|
| 622 |
</div>
|
| 623 |
+
<!-- Add i18next libraries -->
|
| 624 |
<script src="https://unpkg.com/i18next/dist/umd/i18next.min.js"></script>
|
| 625 |
<script src="https://unpkg.com/i18next-browser-languagedetector/i18nextBrowserLanguageDetector.js"></script>
|
| 626 |
<script src="https://unpkg.com/i18next-http-backend/i18nextHttpBackend.js"></script>
|
|
|
|
| 634 |
debug: false,
|
| 635 |
resources: {
|
| 636 |
en: {
|
| 637 |
+
translation: {
|
| 638 |
+
"home": "Home",
|
| 639 |
+
"features": "Features",
|
| 640 |
+
"pricing": "Pricing",
|
| 641 |
+
"about": "About",
|
| 642 |
+
"currency": "Currency",
|
| 643 |
+
"events": "Events",
|
| 644 |
+
"results": "Results",
|
| 645 |
+
"login": "Login",
|
| 646 |
+
"title": "Amplify - Mental Performance for Champions",
|
| 647 |
+
"hero_title": "AMPLIFY YOUR MIND",
|
| 648 |
+
"hero_subtitle": "VR & AR mental training for athletes and performers.",
|
| 649 |
+
"get_started": "Get Started",
|
| 650 |
+
"watch_demo": "Watch Demo",
|
| 651 |
+
"train_your_mind": "TRAIN YOUR MIND",
|
| 652 |
+
"vr_scenarios": "VR Scenarios",
|
| 653 |
+
"vr_desc": "Immersive virtual reality puts you in high-pressure situations before the big moment.",
|
| 654 |
+
"ar_training": "AR Training",
|
| 655 |
+
"ar_desc": "Augmented reality overlays provide real-time feedback on posture, breathing, and movement.",
|
| 656 |
+
"biometrics": "Biometrics",
|
| 657 |
+
"bio_desc": "Track heart rate, breathing patterns, and stress levels to understand your physiological responses."
|
| 658 |
+
// Add more translations as needed
|
|
|
|
|
|
|
|
|
|
|
|
|
| 659 |
}
|
| 660 |
},
|
| 661 |
es: {
|
| 662 |
translation: {
|
| 663 |
+
"home": "Inicio",
|
| 664 |
+
"features": "Características",
|
| 665 |
+
"pricing": "Precios",
|
| 666 |
+
"about": "Sobre nosotros",
|
| 667 |
+
"currency": "Moneda",
|
| 668 |
+
"events": "Eventos",
|
| 669 |
+
"results": "Resultados",
|
| 670 |
+
"login": "Iniciar sesión",
|
| 671 |
+
"title": "Amplify - Rendimiento mental para campeones",
|
| 672 |
+
"hero_title": "AMPLIFICA TU MENTE",
|
| 673 |
+
"hero_subtitle": "Entrenamiento mental con VR y AR para atletas y artistas.",
|
| 674 |
+
"get_started": "Comenzar",
|
| 675 |
+
"watch_demo": "Ver demo",
|
| 676 |
+
"train_your_mind": "ENTRENA TU MENTE",
|
| 677 |
+
"vr_scenarios": "Escenarios VR",
|
| 678 |
+
"vr_desc": "La realidad virtual inmersiva te coloca en situaciones de alta presión antes del gran momento.",
|
| 679 |
+
"ar_training": "Entrenamiento AR",
|
| 680 |
+
"ar_desc": "Las superposiciones de realidad aumentada proporcionan retroalimentación en tiempo real sobre postura, respiración y movimiento.",
|
| 681 |
+
"biometrics": "Biometría",
|
| 682 |
+
"bio_desc": "Monitorea ritmo cardíaco, patrones de respiración y niveles de estrés para entender tus respuestas fisiológicas."
|
| 683 |
+
// Add more Spanish translations as needed
|
|
|
|
|
|
|
|
|
|
|
|
|
| 684 |
}
|
| 685 |
},
|
| 686 |
fr: {
|
|
|
|
| 738 |
// Initial translations loaded
|
| 739 |
updateContent();
|
| 740 |
});
|
| 741 |
+
// Language switcher
|
| 742 |
const languageButton = document.getElementById('language-button');
|
| 743 |
const languageDropdown = document.getElementById('language-dropdown');
|
| 744 |
|
|
|
|
| 755 |
document.getElementById('current-language').textContent = lang.toUpperCase();
|
| 756 |
updateContent();
|
| 757 |
languageDropdown.classList.add('hidden');
|
|
|
|
|
|
|
|
|
|
| 758 |
});
|
| 759 |
});
|
| 760 |
});
|
|
|
|
| 765 |
languageDropdown.classList.add('hidden');
|
| 766 |
}
|
| 767 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 768 |
// Update page content with translations
|
| 769 |
function updateContent() {
|
| 770 |
// Update navigation items
|
|
|
|
| 794 |
});
|
| 795 |
|
| 796 |
// Update hero section
|
| 797 |
+
document.querySelector('h1 span.text-yellow-500').textContent = i18next.t('hero_title');
|
| 798 |
+
document.querySelector('section.hero-gradient p').textContent = i18next.t('hero_subtitle');
|
| 799 |
+
document.querySelector('section.hero-gradient button:nth-of-type(1)').textContent = i18next.t('get_started');
|
| 800 |
+
document.querySelector('section.hero-gradient button:nth-of-type(2)').textContent = i18next.t('watch_demo');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 801 |
|
| 802 |
// Update features section
|
| 803 |
+
document.querySelector('section#features h2').textContent = i18next.t('train_your_mind');
|
| 804 |
+
document.querySelectorAll('section#features h3')[0].textContent = i18next.t('vr_scenarios');
|
| 805 |
+
document.querySelectorAll('section#features p')[2].textContent = i18next.t('vr_desc');
|
| 806 |
+
document.querySelectorAll('section#features h3')[1].textContent = i18next.t('ar_training');
|
| 807 |
+
document.querySelectorAll('section#features p')[3].textContent = i18next.t('ar_desc');
|
| 808 |
+
document.querySelectorAll('section#features h3')[2].textContent = i18next.t('biometrics');
|
| 809 |
+
document.querySelectorAll('section#features p')[4].textContent = i18next.t('bio_desc');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 810 |
|
| 811 |
// Update document title
|
| 812 |
document.title = i18next.t('title');
|
| 813 |
+
|
| 814 |
+
// Re-render feather icons after text changes
|
| 815 |
feather.replace();
|
| 816 |
}
|
| 817 |
// Mobile menu toggle
|