File tree Expand file tree Collapse file tree 1 file changed +19
-9
lines changed
Expand file tree Collapse file tree 1 file changed +19
-9
lines changed Original file line number Diff line number Diff line change @@ -197,17 +197,27 @@ onKeyStroke(
197197 class =" relative container min-h-14 flex items-center gap-2 z-1"
198198 :class =" isOnHomePage ? 'justify-end' : 'justify-between'"
199199 >
200- <!-- Mobile: Logo + search button (expands search, doesn't navigate ) -->
201- <button
200+ <!-- Mobile: Logo (navigates home) + Search button (expands search) -->
201+ <div
202202 v-if =" !isSearchExpanded && !isOnHomePage"
203- type =" button"
204- 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"
205- :aria-label =" $t('nav.tap_to_search')"
206- @click =" expandMobileSearch"
203+ class =" sm:hidden flex-shrink-0 inline-flex items-center gap-2"
207204 >
208- <AppLogo class =" w-8 h-8 rounded-lg" />
209- <span class =" i-carbon:search w-4 h-4 text-fg-subtle" aria-hidden =" true" />
210- </button >
205+ <NuxtLink
206+ to =" /"
207+ :aria-label =" $t('header.home')"
208+ class =" font-mono text-lg font-medium text-fg hover:text-fg transition-colors duration-200 focus-ring rounded"
209+ >
210+ <AppLogo class =" w-8 h-8 rounded-lg" />
211+ </NuxtLink >
212+ <button
213+ type =" button"
214+ class =" p-1 -m-1 text-fg-subtle hover:text-fg transition-colors duration-200 focus-ring rounded"
215+ :aria-label =" $t('nav.tap_to_search')"
216+ @click =" expandMobileSearch"
217+ >
218+ <span class =" i-carbon:search w-4 h-4" aria-hidden =" true" />
219+ </button >
220+ </div >
211221
212222 <!-- Desktop: Logo (navigates home) -->
213223 <div v-if =" showLogo" class =" hidden sm:flex flex-shrink-0 items-center" >
You can’t perform that action at this time.
0 commit comments