|
102 | 102 | </a> |
103 | 103 |
|
104 | 104 | <div id="menu" |
105 | | - class="fixed inset-0 bg-gray-900 w-full h-full flex flex-col items-center justify-center space-y-8 transform scale-0 transition-transform duration-300 ease-in-out lg:relative lg:flex lg:items-end lg:justify-end lg:space-y-0 lg:bg-transparent lg:scale-100 lg:flex-row lg:space-x-4 z-20"> |
| 105 | + class="fixed inset-0 bg-gray-900 w-full h-full flex flex-col items-center justify-center space-y-8 transform scale-0 transition-transform duration-300 ease-in-out lg:relative lg:flex lg:items-center lg:justify-end lg:space-y-0 lg:bg-transparent lg:scale-100 lg:flex-row lg:space-x-4 z-20"> |
106 | 106 | <div id="menu-close" class="text-gray-300 lg:hidden absolute top-5 right-5 cursor-pointer"> |
107 | 107 | <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" |
108 | 108 | stroke="currentColor"> |
|
115 | 115 | <a href="./about.html" class="text-gray-300 hover:text-green-500" id="about" data-translate="nav-about"><i class="fa-solid fa-address-card"></i> About</a> |
116 | 116 | <a href="./contact.html" class="text-gray-300 hover:text-green-500" data-translate="nav-contact"><i class="fa-solid fa-phone"></i> Contact</a> |
117 | 117 | <a href="./faq.html" class="text-gray-300 hover:text-green-500" data-translate="nav-faqs"><i class="fa-solid fa-circle-question"></i> FAQs</a> --> |
118 | | - <!-- added icons by dodithakur --> |
119 | | - <a href="./index.html" class="text-gray-300 hover:text-green-500"> |
| 118 | + <!-- Navigation Links - Horizontal Layout --> |
| 119 | + <a href="./index.html" class="text-gray-300 hover:text-green-500 flex items-center gap-2"> |
120 | 120 | <i class="fa-solid fa-house"></i> Home |
121 | 121 | </a> |
122 | 122 |
|
123 | | -<a href="./explore.html" class="text-gray-300 hover:text-green-500" id="explore" > |
124 | | - <i class="fa-solid fa-magnifying-glass"></i> Explore |
125 | | -</a> |
| 123 | + <a href="./explore.html" class="text-gray-300 hover:text-green-500 flex items-center gap-2" id="explore"> |
| 124 | + <i class="fa-solid fa-magnifying-glass"></i> Explore |
| 125 | + </a> |
126 | 126 |
|
127 | | -<a href="./scan.html" class="text-gray-300 hover:text-green-500"> |
128 | | - <i class="fa-solid fa-book-open-reader"></i> Scan Book |
129 | | -</a> |
| 127 | + <a href="./scan.html" class="text-gray-300 hover:text-green-500 flex items-center gap-2"> |
| 128 | + <i class="fa-solid fa-book-open-reader"></i> Scan Book |
| 129 | + </a> |
130 | 130 |
|
131 | | -<a href="./about.html" class="text-gray-300 hover:text-green-500" id="about" > |
132 | | - <i class="fa-solid fa-address-card"></i> About |
133 | | -</a> |
| 131 | + <a href="./about.html" class="text-gray-300 hover:text-green-500 flex items-center gap-2" id="about"> |
| 132 | + <i class="fa-solid fa-address-card"></i> About |
| 133 | + </a> |
134 | 134 |
|
135 | | -<a href="./contact.html" class="text-gray-300 hover:text-green-500"> |
136 | | - <i class="fa-solid fa-phone"></i> Contact |
137 | | -</a> |
| 135 | + <a href="./contact.html" class="text-gray-300 hover:text-green-500 flex items-center gap-2"> |
| 136 | + <i class="fa-solid fa-phone"></i> Contact |
| 137 | + </a> |
138 | 138 |
|
139 | | -<a href="./faq.html" class="text-gray-300 hover:text-green-500" > |
140 | | - <i class="fa-solid fa-circle-question"></i> FAQs |
141 | | -</a> |
| 139 | + <a href="./faq.html" class="text-gray-300 hover:text-green-500 flex items-center gap-2"> |
| 140 | + <i class="fa-solid fa-circle-question"></i> FAQs |
| 141 | + </a> |
142 | 142 |
|
143 | 143 | <!-- Profile Icon and Theme Toggle --> |
144 | 144 | <button id="theme-toggle" class="text-gray-300 hover:text-green-500"> |
|
164 | 164 | <a href="./profile.html" class="text-gray-300 hover:text-green-500 me-4"> |
165 | 165 | <i class="bi bi-person-circle h-6 w-6"></i> |
166 | 166 | </a> |
167 | | - </div> |
168 | 167 |
|
169 | | - <div class="language-selector me-3"> |
170 | | - <i class="fa-solid fa-language"></i> |
171 | | - <select id="language" onchange="changeLanguage()" class="bg-gray-700 text-gray-300 border border-gray-600 rounded px-3 py-2 focus:outline-none focus:border-green-500"> |
172 | | - <option value="en">English</option> |
173 | | - <option value="fr">Français</option> |
174 | | - <option value="es">Español</option> |
175 | | - <option value="zh">简体中文</option> |
176 | | - </select> |
177 | | - </div> |
| 168 | + <!-- Language Selector --> |
| 169 | + <div class="language-selector me-3"> |
| 170 | + <i class="fa-solid fa-language"></i> |
| 171 | + <select id="language" onchange="changeLanguage()" class="bg-gray-700 text-gray-300 border border-gray-600 rounded px-3 py-2 focus:outline-none focus:border-green-500"> |
| 172 | + <option value="en">English</option> |
| 173 | + <option value="fr">Français</option> |
| 174 | + <option value="es">Español</option> |
| 175 | + <option value="zh">简体中文</option> |
| 176 | + </select> |
| 177 | + </div> |
178 | 178 |
|
179 | | - <!-- Signup button --> |
180 | | - <div class="flex-shrink-0"> |
181 | | - <button id="signupButton" class="w-24 text-white bg-transparent border-2 border-green-600 focus:border-green-700 rounded-full py-2 px-4 hover:-translate-y-0.5 transition-all duration-300 text-sm"><i class="fa-regular fa-circle-user"></i> Sign up</button> |
| 179 | + <!-- Signup button --> |
| 180 | + <div class="flex-shrink-0"> |
| 181 | + <button id="signupButton" class="text-white bg-transparent border-2 border-green-600 focus:border-green-700 rounded-full py-2 px-4 hover:-translate-y-0.5 transition-all duration-300 text-sm whitespace-nowrap"><i class="fa-regular fa-circle-user"></i> Sign up</button> |
| 182 | + </div> |
182 | 183 | </div> |
183 | 184 |
|
184 | 185 | <!-- Mobile Menu Toggle Button --> |
|
0 commit comments