mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-22 05:51:44 +03:00
chore: remove buymeacoffee
This commit is contained in:
1 parent
53bb635cd1
commit
dafe963ebd
1 file changed
+1
-18
@@ -2,7 +2,7 @@
|
|||||||
import { NIcon, useThemeVars } from 'naive-ui';
|
import { NIcon, useThemeVars } from 'naive-ui';
|
||||||
|
|
||||||
import { RouterLink } from 'vue-router';
|
import { RouterLink } from 'vue-router';
|
||||||
import { Heart, Home2, Menu2 } from '@vicons/tabler';
|
import { Home2, Menu2 } from '@vicons/tabler';
|
||||||
|
|
||||||
import { storeToRefs } from 'pinia';
|
import { storeToRefs } from 'pinia';
|
||||||
import HeroGradient from '../assets/hero-gradient.svg?component';
|
import HeroGradient from '../assets/hero-gradient.svg?component';
|
||||||
@@ -12,7 +12,6 @@ import { useStyleStore } from '@/stores/style.store';
|
|||||||
import { config } from '@/config';
|
import { config } from '@/config';
|
||||||
import type { ToolCategory } from '@/tools/tools.types';
|
import type { ToolCategory } from '@/tools/tools.types';
|
||||||
import { useToolStore } from '@/tools/tools.store';
|
import { useToolStore } from '@/tools/tools.store';
|
||||||
import { useTracker } from '@/modules/tracker/tracker.services';
|
|
||||||
import CollapsibleToolMenu from '@/components/CollapsibleToolMenu.vue';
|
import CollapsibleToolMenu from '@/components/CollapsibleToolMenu.vue';
|
||||||
|
|
||||||
const themeVars = useThemeVars();
|
const themeVars = useThemeVars();
|
||||||
@@ -20,7 +19,6 @@ const styleStore = useStyleStore();
|
|||||||
const version = config.app.version;
|
const version = config.app.version;
|
||||||
const commitSha = config.app.lastCommitSha.slice(0, 7);
|
const commitSha = config.app.lastCommitSha.slice(0, 7);
|
||||||
|
|
||||||
const { tracker } = useTracker();
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
|
|
||||||
const toolStore = useToolStore();
|
const toolStore = useToolStore();
|
||||||
@@ -119,21 +117,6 @@ const tools = computed<ToolCategory[]>(() => [
|
|||||||
<div>
|
<div>
|
||||||
<NavbarButtons v-if="!styleStore.isSmallScreen" />
|
<NavbarButtons v-if="!styleStore.isSmallScreen" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<c-tooltip position="bottom" :tooltip="$t('home.support')">
|
|
||||||
<c-button
|
|
||||||
round
|
|
||||||
href="https://www.buymeacoffee.com/cthmsst"
|
|
||||||
rel="noopener"
|
|
||||||
target="_blank"
|
|
||||||
class="support-button"
|
|
||||||
:bordered="false"
|
|
||||||
@click="() => tracker.trackEvent({ eventName: 'Support button clicked' })"
|
|
||||||
>
|
|
||||||
{{ $t('home.buyMeACoffee') }}
|
|
||||||
<NIcon v-if="!styleStore.isSmallScreen" :component="Heart" ml-2 />
|
|
||||||
</c-button>
|
|
||||||
</c-tooltip>
|
|
||||||
</div>
|
</div>
|
||||||
<slot />
|
<slot />
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in new issue
Block a user