|
123 | 123 | href="./index.html" |
124 | 124 | class="text-gray-300 hover:text-green-500" |
125 | 125 | id="home" |
| 126 | + data-translate="nav-home" |
126 | 127 | >Home</a |
127 | 128 | > |
| 129 | + <a |
| 130 | + href="./explore.html" |
| 131 | + class="text-gray-300 hover:text-green-500" |
| 132 | + id="explore" |
| 133 | + data-translate="nav-explore" |
| 134 | + >Explore</a |
| 135 | + > |
128 | 136 | <a |
129 | 137 | href="./about.html" |
130 | 138 | class="text-gray-300 hover:text-green-500" |
131 | 139 | id="about" |
| 140 | + data-translate="nav-about" |
132 | 141 | >About</a |
133 | 142 | > |
134 | 143 |
|
135 | 144 | <a href="./contact.html" class="text-gray-300 hover:text-green-500" |
| 145 | + data-translate="nav-contact" |
136 | 146 | >Contact</a |
137 | 147 | > |
138 | 148 | <a href="./faq.html" class="text-gray-300 hover:text-green-500" |
| 149 | + data-translate="nav-faqs" |
139 | 150 | >FAQs</a |
140 | 151 | > |
141 | 152 |
|
|
244 | 255 | </svg> |
245 | 256 | </button> |
246 | 257 |
|
| 258 | + <!-- Language-selector Toggle --> |
| 259 | + <div class="language-selector"> |
| 260 | + <select id="language" onchange="changeLanguage()"> |
| 261 | + <option value="en">English</option> |
| 262 | + <option value="fr">Français</option> |
| 263 | + <option value="es">Español</option> |
| 264 | + <option value="zh">简体中文</option> |
| 265 | + </select> |
| 266 | + </div> |
| 267 | + |
247 | 268 | <a |
248 | 269 | href="./profile.html" |
249 | 270 | class="text-gray-300 hover:text-green-500 me-4" |
@@ -455,6 +476,7 @@ <h2 class="h1 fw-semibold">Join our open-source project!</h2> |
455 | 476 | <script src="https://unpkg.com/typed.js@2.1.0/dist/typed.umd.js"></script> |
456 | 477 | <!-- JavaScript --> |
457 | 478 | <script src="./script.js"></script> |
| 479 | + <script src="./translation.js"></script> |
458 | 480 | <script |
459 | 481 | src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" |
460 | 482 | integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" |
|
0 commit comments