refactor(ui): change sponsor button location and caption

This commit is contained in:
Corentin Thomasset 2022-11-13 23:16:57 +01:00
parent 35a3760771
commit 5d8f46abf8
No known key found for this signature in database
GPG key ID: DBD997E935996158

View file

@ -134,23 +134,24 @@ const menuOptions: MenuGroupOption[] = toolsByCategory.map((category) => ({
<search-bar /> <search-bar />
<navbar-buttons v-if="!styleStore.isSmallScreen" />
<n-tooltip trigger="hover"> <n-tooltip trigger="hover">
<template #trigger> <template #trigger>
<n-button <n-button
round
type="primary" type="primary"
tag="a" tag="a"
href="https://github.com/sponsors/CorentinTh" href="https://github.com/sponsors/CorentinTh"
rel="noopener" rel="noopener"
target="_blank" target="_blank"
> >
<n-icon v-if="!styleStore.isSmallScreen" :component="Heart" style="margin-right: 5px" /> Buy me a coffee
Sponsor <n-icon v-if="!styleStore.isSmallScreen" :component="Heart" style="margin-left: 5px" />
</n-button> </n-button>
</template> </template>
Support IT Tools development ! Support IT Tools development !
</n-tooltip> </n-tooltip>
<navbar-buttons v-if="!styleStore.isSmallScreen" />
</div> </div>
<slot /> <slot />
</template> </template>