@@ -95,18 +95,11 @@ onKeyStroke(
9595 <button
9696 v-if =" !isSearchExpanded && !isOnHomePage"
9797 type =" button"
98- class =" sm:hidden flex-shrink-0 inline-flex items-center gap-2 font-mono text-lg font-medium text-fg hover:text-fg transition-colors duration-200 focus-ring rounded"
98+ class =" sm:hidden flex-shrink-0 inline-flex items-center gap-2 font-mono text-lg font-medium text-fg hover:text-fg transition-colors duration-200 rounded"
9999 :aria-label =" $t('nav.tap_to_search')"
100100 @click =" expandMobileSearch"
101101 >
102- <img
103- aria-hidden =" true"
104- :alt =" $t('alt_logo')"
105- src =" /logo.svg"
106- width =" 96"
107- height =" 96"
108- class =" w-8 h-8 rounded-lg"
109- />
102+ <AppLogo class =" w-8 h-8 rounded-lg" />
110103 <span class =" i-carbon:search w-4 h-4 text-fg-subtle" aria-hidden =" true" />
111104 </button >
112105
@@ -116,16 +109,9 @@ onKeyStroke(
116109 to =" /"
117110 :aria-label =" $t('header.home')"
118111 dir =" ltr"
119- class =" inline-flex items-center gap-2 header-logo font-mono text-lg font-medium text-fg hover:text-fg transition-colors duration-200 focus-ring rounded"
112+ class =" inline-flex items-center gap-2 header-logo font-mono text-lg font-medium text-fg hover:text-fg transition-colors duration-200 rounded"
120113 >
121- <img
122- aria-hidden =" true"
123- :alt =" $t('alt_logo')"
124- src =" /logo.svg"
125- width =" 96"
126- height =" 96"
127- class =" w-8 h-8 rounded-lg"
128- />
114+ <AppLogo class =" w-8 h-8 rounded-lg" />
129115 <span >npmx</span >
130116 </NuxtLink >
131117 </div >
@@ -163,11 +149,11 @@ onKeyStroke(
163149 </div >
164150
165151 <!-- End: Desktop nav items + Mobile menu button -->
166- <div class =" flex-shrink-0 flex items-center gap-4 sm:gap-6 " >
152+ <div class =" flex-shrink-0 flex items-center gap-0.5 sm:gap-2 " >
167153 <!-- Desktop: Compare link -->
168154 <NuxtLink
169155 to =" /compare"
170- class =" hidden sm:inline-flex link-subtle font-mono text-sm items-center gap-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring -accent/50 rounded"
156+ class =" hidden sm:inline-flex link-subtle font-mono text-sm items-center gap-2 px-2 py-1.5 hover:bg-bg-subtle focus-visible:outline -accent/70 rounded"
171157 aria-keyshortcuts =" c"
172158 >
173159 {{ $t('nav.compare') }}
@@ -182,7 +168,7 @@ onKeyStroke(
182168 <!-- Desktop: Settings link -->
183169 <NuxtLink
184170 to =" /settings"
185- class =" hidden sm:inline-flex link-subtle font-mono text-sm items-center gap-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring -accent/50 rounded"
171+ class =" hidden sm:inline-flex link-subtle font-mono text-sm items-center gap-2 px-2 py-1.5 hover:bg-bg-subtle focus-visible:outline -accent/70 rounded"
186172 aria-keyshortcuts =" ,"
187173 >
188174 {{ $t('nav.settings') }}
@@ -202,7 +188,7 @@ onKeyStroke(
202188 <!-- Mobile: Menu button (always visible, toggles menu) -->
203189 <button
204190 type =" button"
205- class =" sm:hidden flex items-center p-2 -m-2 text-fg-subtle hover:text-fg transition-colors duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring- accent/50 rounded"
191+ class =" sm:hidden flex items-center p-2 -m-2 text-fg-subtle hover:text-fg transition-colors duration-200 focus-visible:outline-accent/70 rounded"
206192 :aria-label =" showMobileMenu ? $t('common.close') : $t('nav.open_menu')"
207193 :aria-expanded =" showMobileMenu"
208194 @click =" showMobileMenu = !showMobileMenu"
0 commit comments