fix: move search icon to the left of Sign In button on desktop

Reordered the right-side header actions so the search icon appears
before the Sign In button when the user is not authenticated.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Dorian
2026-02-13 22:37:44 +00:00
parent 0917410c9e
commit 7da4104aa2
2 changed files with 10 additions and 10 deletions

View File

@@ -20,7 +20,7 @@ services:
context: .
dockerfile: Dockerfile
args:
CACHEBUST: "19"
CACHEBUST: "20"
VITE_USE_MOCK_DATA: "false"
VITE_CONTENT_ORIGIN: ${FRONTEND_URL}
VITE_INDEEHUB_API_URL: /api

View File

@@ -114,15 +114,6 @@
</div>
-->
<!-- Sign In (app auth, if not Nostr logged in) -->
<button
v-if="!isAuthenticated && showAuth && !hasNostrSession"
@click="$emit('openAuth')"
class="hidden md:block hero-play-button px-4 py-2 text-sm"
>
Sign In
</button>
<!-- Search -->
<div v-if="showSearch" class="hidden md:block relative search-wrapper" ref="searchWrapperRef">
<!-- Collapsed: icon button -->
@@ -186,6 +177,15 @@
</Transition>
</div>
<!-- Sign In (app auth, if not Nostr logged in) -->
<button
v-if="!isAuthenticated && showAuth && !hasNostrSession"
@click="$emit('openAuth')"
class="hidden md:block hero-play-button px-4 py-2 text-sm"
>
Sign In
</button>
<!-- Active Nostr Account -->
<div v-if="hasNostrSession" class="hidden md:block relative profile-dropdown">
<button