mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-08-02 03:13:16 +00:00
Style navbar login button as navbar-link (#5033)
This commit is contained in:
parent
ce9c5341c3
commit
a3c8cc9283
@ -33,7 +33,12 @@
|
||||
<IconButton v-if="user" :to="{ name: 'user' }" :title="$t('user.settings.settings')" class="navbar-icon p-1.5!">
|
||||
<img v-if="user && user.avatar_url" class="rounded-md" :src="`${user.avatar_url}`" />
|
||||
</IconButton>
|
||||
<Button v-else :text="$t('login')" :to="`/login?url=${route.fullPath}`" />
|
||||
<Button
|
||||
v-else
|
||||
:text="$t('login')"
|
||||
:to="`/login?url=${route.fullPath}`"
|
||||
class="navbar-link !text-wp-primary-text-100 bg-wp-primary-200 dark:bg-wp-primary-300 !border-transparent !shadow-none"
|
||||
/>
|
||||
</div>
|
||||
</nav>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user