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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user