fix: change react-icon prop from class to className in navbar
This commit is contained in:
@@ -42,7 +42,7 @@ import { FaBars, FaTimes } from 'react-icons/fa';
|
||||
|
||||
<!-- Mobile menu button (44x44px target) -->
|
||||
<button id="mobile-menu-btn" class="md:hidden w-11 h-11 flex items-center justify-center rounded bg-white dark:bg-zinc-900 text-slate-700 dark:text-white border border-slate-200 dark:border-brand-darkBorder hover:bg-slate-50 dark:hover:bg-zinc-800 transition-all focus:outline-none focus:ring-2 focus:ring-sky-500" aria-label="Menü öffnen">
|
||||
<FaBars class="w-5 h-5" aria-hidden="true" />
|
||||
<FaBars className="w-5 h-5" aria-hidden="true" />
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -56,7 +56,7 @@ import { FaBars, FaTimes } from 'react-icons/fa';
|
||||
N&D <span class="bg-gradient-to-r from-brand-arcticBlue to-blue-500 bg-clip-text text-transparent">i-t SOLUTIONS</span>
|
||||
</span>
|
||||
<button id="mobile-close-btn" class="p-2 rounded bg-slate-100 dark:bg-zinc-900 text-slate-700 dark:text-white hover:bg-slate-200 dark:hover:bg-zinc-800 transition-all" aria-label="Close Menu">
|
||||
<FaTimes class="w-5 h-5" />
|
||||
<FaTimes className="w-5 h-5" aria-hidden="true" />
|
||||
</button>
|
||||
</div>
|
||||
<nav class="flex flex-col gap-6 p-8 text-center text-lg font-semibold text-slate-900 dark:text-white">
|
||||
|
||||
Reference in New Issue
Block a user