Spaces:
Running
Running
all pages must be in french and english take yout time to do step by step all - Follow Up Deployment
Browse files- index.html +31 -4
index.html
CHANGED
|
@@ -7,6 +7,27 @@
|
|
| 7 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 8 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
<script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
tailwind.config = {
|
| 11 |
darkMode: 'class',
|
| 12 |
theme: {
|
|
@@ -67,19 +88,25 @@
|
|
| 67 |
<img src="/images/b19c12f6-0e3f-4f15-b9ff-b1b60d376b87.jpeg" alt="Dossiya DAKOU"
|
| 68 |
class="h-48 w-48 lg:h-64 lg:w-64 rounded-full object-cover border-8 border-teal">
|
| 69 |
<div>
|
| 70 |
-
<h1 class="text-4xl md:text-5xl lg:text-6xl font-inter font-bold text-green-300 leading-tight">
|
|
|
|
|
|
|
|
|
|
| 71 |
<h2 class="text-2xl md:text-3xl lg:text-4xl font-medium text-teal mt-2">
|
| 72 |
-
Sustainable Engineering & Climate Innovation
|
|
|
|
| 73 |
</h2>
|
| 74 |
</div>
|
| 75 |
</div>
|
| 76 |
<p class="text-xl md:text-2xl lg:text-3xl leading-relaxed max-w-3xl border-l-4 border-teal pl-6 py-2">
|
| 77 |
-
Engineering sustainable energy futures through AI-powered solutions. Bridging the gap between renewable energy, climate action, and equitable technology for African communities.
|
|
|
|
| 78 |
</p>
|
| 79 |
<div class="flex flex-wrap gap-6 mt-6">
|
| 80 |
<a href="#contact"
|
| 81 |
class="bg-orange hover:bg-orange-600 text-onyx px-8 py-4 rounded-lg font-medium text-lg transition-all hover:shadow-lg">
|
| 82 |
-
Contact / Book a call
|
|
|
|
| 83 |
</a>
|
| 84 |
<a href="#"
|
| 85 |
class="border-2 border-teal hover:bg-teal/10 text-teal px-8 py-4 rounded-lg font-medium text-lg transition-all">
|
|
|
|
| 7 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 8 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
<script>
|
| 10 |
+
// Language management
|
| 11 |
+
function setLanguage(lang) {
|
| 12 |
+
document.documentElement.setAttribute('data-lang', lang);
|
| 13 |
+
localStorage.setItem('lang', lang);
|
| 14 |
+
toggleLanguageContent(lang);
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
function toggleLanguageContent(lang) {
|
| 18 |
+
document.querySelectorAll('[data-en], [data-fr]').forEach(el => {
|
| 19 |
+
if (el.hasAttribute(`data-${lang}`)) {
|
| 20 |
+
el.style.display = '';
|
| 21 |
+
} else {
|
| 22 |
+
el.style.display = 'none';
|
| 23 |
+
}
|
| 24 |
+
});
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
// Initialize language
|
| 28 |
+
const savedLang = localStorage.getItem('lang') || 'en';
|
| 29 |
+
setLanguage(savedLang);
|
| 30 |
+
|
| 31 |
tailwind.config = {
|
| 32 |
darkMode: 'class',
|
| 33 |
theme: {
|
|
|
|
| 88 |
<img src="/images/b19c12f6-0e3f-4f15-b9ff-b1b60d376b87.jpeg" alt="Dossiya DAKOU"
|
| 89 |
class="h-48 w-48 lg:h-64 lg:w-64 rounded-full object-cover border-8 border-teal">
|
| 90 |
<div>
|
| 91 |
+
<h1 class="text-4xl md:text-5xl lg:text-6xl font-inter font-bold text-green-300 leading-tight">
|
| 92 |
+
<span data-en>Dossiya DAKOU</span>
|
| 93 |
+
<span data-fr style="display:none">Dossiya DAKOU</span>
|
| 94 |
+
</h1>
|
| 95 |
<h2 class="text-2xl md:text-3xl lg:text-4xl font-medium text-teal mt-2">
|
| 96 |
+
<span data-en>Sustainable Engineering & Climate Innovation</span>
|
| 97 |
+
<span data-fr style="display:none">Ingénierie Durable & Innovation Climatique</span>
|
| 98 |
</h2>
|
| 99 |
</div>
|
| 100 |
</div>
|
| 101 |
<p class="text-xl md:text-2xl lg:text-3xl leading-relaxed max-w-3xl border-l-4 border-teal pl-6 py-2">
|
| 102 |
+
<span data-en>Engineering sustainable energy futures through AI-powered solutions. Bridging the gap between renewable energy, climate action, and equitable technology for African communities.</span>
|
| 103 |
+
<span data-fr style="display:none">Concevoir un avenir énergétique durable grâce à des solutions alimentées par l'IA. Combler le fossé entre les énergies renouvelables, l'action climatique et les technologies équitables pour les communautés africaines.</span>
|
| 104 |
</p>
|
| 105 |
<div class="flex flex-wrap gap-6 mt-6">
|
| 106 |
<a href="#contact"
|
| 107 |
class="bg-orange hover:bg-orange-600 text-onyx px-8 py-4 rounded-lg font-medium text-lg transition-all hover:shadow-lg">
|
| 108 |
+
<span data-en>Contact / Book a call</span>
|
| 109 |
+
<span data-fr style="display:none">Contact / Prendre rendez-vous</span>
|
| 110 |
</a>
|
| 111 |
<a href="#"
|
| 112 |
class="border-2 border-teal hover:bg-teal/10 text-teal px-8 py-4 rounded-lg font-medium text-lg transition-all">
|