Skip to content

Commit

Permalink
Fix: Vue sucks
Browse files Browse the repository at this point in the history
  • Loading branch information
altfoxie committed Jun 1, 2024
1 parent 3422556 commit 0d135a3
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .vitepress/theme/Banner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@ import { VPBadge } from "vitepress/theme";
import { computed } from "vue";
const data = useData();
const text = computed(() => {
return data.lang.value == "en"
? "Help test <b>secure SOCKS5 proxy</b> ->"
: "Помогите протестировать <b>безопасный SOCKS5 прокси</b> ->";
});
</script>

<template>
<a href="/use#socks5">
<VPBadge class="banner-text" v-html="text" />
<VPBadge class="banner-text" v-if="data.lang.value == 'en'"
>Help test <b>secure SOCKS5 proxy</b> -></VPBadge
>
<VPBadge class="banner-text" v-else
>Помогите протестировать <b>безопасный SOCKS5 прокси</b> -></VPBadge
>
</a>
</template>

Expand Down

0 comments on commit 0d135a3

Please sign in to comment.