Skip to content

Commit 7a2b77d

Browse files
feat: change icons on mobile menu
1 parent 4618252 commit 7a2b77d

1 file changed

Lines changed: 5 additions & 27 deletions

File tree

app/components/Header/MobileMenu.client.vue

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -114,19 +114,8 @@ onUnmounted(deactivate)
114114
class="w-full flex items-center gap-3 px-3 py-3 rounded-md font-mono text-sm text-fg hover:bg-bg-subtle transition-colors duration-200 text-start"
115115
@click="handleShowConnector"
116116
>
117-
<img
118-
v-if="npmAvatar"
119-
:src="npmAvatar"
120-
:alt="npmUser"
121-
width="20"
122-
height="20"
123-
class="w-5 h-5 rounded-full object-cover"
124-
/>
125-
<span
126-
v-else
127-
class="w-5 h-5 rounded-full bg-bg-muted flex items-center justify-center"
128-
>
129-
<span class="i-carbon-terminal w-3 h-3 text-fg-muted" aria-hidden="true" />
117+
<span class="w-5 h-5 rounded-full bg-bg-muted flex items-center justify-center">
118+
<span class="i-simple-icons:npm w-3 h-3 text-fg-muted" aria-hidden="true" />
130119
</span>
131120
<span class="flex-1">~{{ npmUser }}</span>
132121
<span class="w-2 h-2 rounded-full bg-green-500" aria-hidden="true" />
@@ -139,19 +128,8 @@ onUnmounted(deactivate)
139128
class="w-full flex items-center gap-3 px-3 py-3 rounded-md font-mono text-sm text-fg hover:bg-bg-subtle transition-colors duration-200 text-start"
140129
@click="handleShowAuth"
141130
>
142-
<img
143-
v-if="atprotoUser.avatar"
144-
:src="atprotoUser.avatar"
145-
:alt="atprotoUser.handle"
146-
width="20"
147-
height="20"
148-
class="w-5 h-5 rounded-full object-cover"
149-
/>
150-
<span
151-
v-else
152-
class="w-5 h-5 rounded-full bg-bg-muted flex items-center justify-center"
153-
>
154-
<span class="i-carbon-cloud w-3 h-3 text-fg-muted" aria-hidden="true" />
131+
<span class="w-5 h-5 rounded-full bg-bg-muted flex items-center justify-center">
132+
<span class="i-simple-icons:maildotru w-3 h-3 text-fg-muted" aria-hidden="true" />
155133
</span>
156134
<span class="flex-1 truncate">@{{ atprotoUser.handle }}</span>
157135
</button>
@@ -164,7 +142,7 @@ onUnmounted(deactivate)
164142
@click="handleShowAuth"
165143
>
166144
<span class="w-5 h-5 rounded-full bg-bg-muted flex items-center justify-center">
167-
<span class="i-carbon-cloud w-3 h-3 text-fg-muted" aria-hidden="true" />
145+
<span class="i-simple-icons:maildotru w-3 h-3 text-fg-muted" aria-hidden="true" />
168146
</span>
169147
<span class="flex-1">{{ $t('account_menu.connect_atmosphere') }}</span>
170148
</button>

0 commit comments

Comments
 (0)