mettre la possibilite de changer la lange: français ou l'anglais - Follow Up Deployment
Browse files- index.html +35 -2
index.html
CHANGED
|
@@ -109,12 +109,23 @@
|
|
| 109 |
<h1 class="text-2xl font-bold">Kudos IA</h1>
|
| 110 |
</div>
|
| 111 |
<nav class="hidden md:block">
|
| 112 |
-
<ul class="flex space-x-8">
|
| 113 |
<li><a href="#features" class="hover:text-gray-200 transition">Fonctionnalités</a></li>
|
| 114 |
<li><a href="#formations" class="hover:text-gray-200 transition">Formations</a></li>
|
| 115 |
<li><a href="#pricing" class="hover:text-gray-200 transition">Abonnements</a></li>
|
| 116 |
<li><a href="#about" class="hover:text-gray-200 transition">À propos</a></li>
|
| 117 |
<li><a href="#contact" class="hover:text-gray-200 transition">Contact</a></li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
</ul>
|
| 119 |
</nav>
|
| 120 |
<button class="md:hidden text-2xl" id="menu-toggle">
|
|
@@ -130,6 +141,15 @@
|
|
| 130 |
<li><a href="#pricing" class="block hover:text-gray-200 transition">Abonnements</a></li>
|
| 131 |
<li><a href="#about" class="block hover:text-gray-200 transition">À propos</a></li>
|
| 132 |
<li><a href="#contact" class="block hover:text-gray-200 transition">Contact</a></li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 133 |
</ul>
|
| 134 |
</div>
|
| 135 |
|
|
@@ -575,7 +595,7 @@
|
|
| 575 |
</li>
|
| 576 |
<li class="flex items-start">
|
| 577 |
<i class="fas fa-language text-purple-500 mt-1 mr-3"></i>
|
| 578 |
-
<span>Interface disponible en
|
| 579 |
</li>
|
| 580 |
<li class="flex items-start">
|
| 581 |
<i class="fas fa-bell text-pink-500 mt-1 mr-3"></i>
|
|
@@ -830,6 +850,19 @@
|
|
| 830 |
document.querySelectorAll('button, a[href^="#"]').forEach(btn => {
|
| 831 |
btn.classList.add('btn-hover');
|
| 832 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 833 |
</script>
|
| 834 |
<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=ddakou/kudosia" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 835 |
</html>
|
|
|
|
| 109 |
<h1 class="text-2xl font-bold">Kudos IA</h1>
|
| 110 |
</div>
|
| 111 |
<nav class="hidden md:block">
|
| 112 |
+
<ul class="flex space-x-8 items-center">
|
| 113 |
<li><a href="#features" class="hover:text-gray-200 transition">Fonctionnalités</a></li>
|
| 114 |
<li><a href="#formations" class="hover:text-gray-200 transition">Formations</a></li>
|
| 115 |
<li><a href="#pricing" class="hover:text-gray-200 transition">Abonnements</a></li>
|
| 116 |
<li><a href="#about" class="hover:text-gray-200 transition">À propos</a></li>
|
| 117 |
<li><a href="#contact" class="hover:text-gray-200 transition">Contact</a></li>
|
| 118 |
+
<li class="relative group">
|
| 119 |
+
<button class="flex items-center hover:text-gray-200 transition">
|
| 120 |
+
<i class="fas fa-globe mr-1"></i>
|
| 121 |
+
<span>FR</span>
|
| 122 |
+
<i class="fas fa-chevron-down ml-1 text-xs"></i>
|
| 123 |
+
</button>
|
| 124 |
+
<div class="absolute right-0 mt-2 w-20 bg-white rounded-md shadow-lg hidden group-hover:block">
|
| 125 |
+
<a href="#" class="block px-4 py-2 text-gray-800 hover:bg-blue-100">EN</a>
|
| 126 |
+
<a href="#" class="block px-4 py-2 text-gray-800 hover:bg-blue-100">FR</a>
|
| 127 |
+
</div>
|
| 128 |
+
</li>
|
| 129 |
</ul>
|
| 130 |
</nav>
|
| 131 |
<button class="md:hidden text-2xl" id="menu-toggle">
|
|
|
|
| 141 |
<li><a href="#pricing" class="block hover:text-gray-200 transition">Abonnements</a></li>
|
| 142 |
<li><a href="#about" class="block hover:text-gray-200 transition">À propos</a></li>
|
| 143 |
<li><a href="#contact" class="block hover:text-gray-200 transition">Contact</a></li>
|
| 144 |
+
<li class="pt-4 border-t border-gray-700">
|
| 145 |
+
<div class="flex items-center">
|
| 146 |
+
<i class="fas fa-globe mr-2"></i>
|
| 147 |
+
<select class="bg-transparent border border-gray-300 rounded px-2 py-1 text-white">
|
| 148 |
+
<option value="fr">Français</option>
|
| 149 |
+
<option value="en">English</option>
|
| 150 |
+
</select>
|
| 151 |
+
</div>
|
| 152 |
+
</li>
|
| 153 |
</ul>
|
| 154 |
</div>
|
| 155 |
|
|
|
|
| 595 |
</li>
|
| 596 |
<li class="flex items-start">
|
| 597 |
<i class="fas fa-language text-purple-500 mt-1 mr-3"></i>
|
| 598 |
+
<span>Interface disponible en anglais et en français</span>
|
| 599 |
</li>
|
| 600 |
<li class="flex items-start">
|
| 601 |
<i class="fas fa-bell text-pink-500 mt-1 mr-3"></i>
|
|
|
|
| 850 |
document.querySelectorAll('button, a[href^="#"]').forEach(btn => {
|
| 851 |
btn.classList.add('btn-hover');
|
| 852 |
});
|
| 853 |
+
|
| 854 |
+
// Language switcher functionality
|
| 855 |
+
document.querySelectorAll('.language-switcher').forEach(switcher => {
|
| 856 |
+
switcher.addEventListener('change', function() {
|
| 857 |
+
const lang = this.value;
|
| 858 |
+
// Here you would typically:
|
| 859 |
+
// 1. Save language preference to localStorage
|
| 860 |
+
// 2. Reload the page with the new language
|
| 861 |
+
// 3. Or make an AJAX call to get translated content
|
| 862 |
+
localStorage.setItem('preferredLanguage', lang);
|
| 863 |
+
alert('Language changed to ' + lang + '. This would reload the page with translated content in a real implementation.');
|
| 864 |
+
});
|
| 865 |
+
});
|
| 866 |
</script>
|
| 867 |
<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=ddakou/kudosia" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 868 |
</html>
|