chore: add buymeacoffee

This commit is contained in:
ShareVB committed 2025-10-15 22:44:39 +02:00
1 parent de2de50769
commit 087860c472
2 files changed
+17 -1

No files matched your search

+2
View File
@@ -8,6 +8,8 @@ Docker image listen to IPv6, so it needs to be enabled: https://serverfault.com/
Especially for UI improvements and translation. And for anything else.
Want to support this fork of IT Tools: [Buy me a coffee](https://www.buymeacoffee.com/sharevb)
## HTTPS is recommanded
Some tools like PGP encryption rely on WebCrypto API that is only available in HTTPS/SSL. Also, if you want to use PWA, HTTPS is required.
+15 -1
View File
@@ -1,5 +1,5 @@
<script lang="ts" setup>
import { Home2, Menu2 } from '@vicons/tabler';
import { Coffee, Home2, Menu2 } from '@vicons/tabler';
import { NIcon, useThemeVars } from 'naive-ui';
import { storeToRefs } from 'pinia';
import { RouterLink } from 'vue-router';
@@ -115,6 +115,20 @@ const tools = computed<ToolCategory[]>(() => [
<div>
<NavbarButtons v-if="!styleStore.isSmallScreen" />
</div>
<c-tooltip position="bottom" :tooltip="$t('home.support')">
<c-button
round
href="https://www.buymeacoffee.com/sharevb"
rel="noopener"
target="_blank"
class="support-button"
:bordered="false"
>
<span v-if="!styleStore.isSmallScreen" mr-2>{{ $t('home.buyMeACoffee') }}</span>
<NIcon :component="Coffee" />
</c-button>
</c-tooltip>
</div>
<slot />
</template>