Skip to content

Commit

Permalink
Update: banner text
Browse files Browse the repository at this point in the history
  • Loading branch information
altfoxie committed Jun 2, 2024
1 parent 16b2f63 commit 9255ca8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { defineConfig } from "vitepress";

// TODO: Reuse telegram icon
const telegramSvg = `<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Telegram</title><path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg>`;

// https://vitepress.dev/reference/site-config
export default defineConfig({
locales: {
Expand Down Expand Up @@ -163,6 +166,7 @@ export default defineConfig({
},
socialLinks: [
{ icon: "github", link: "https://github.com/huecker-io/huecker" },
{ icon: { svg: telegramSvg }, link: "https://t.me/hueckerio" },
{ icon: "youtube", link: "https://t.ly/1El1f" },
],
},
Expand Down
4 changes: 2 additions & 2 deletions .vitepress/theme/Banner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { useData } from "vitepress";
const data = useData();
const textByLang = {
ru: `Помогите протестировать <b>безопасный SOCKS5 прокси</b> ->`,
en: `Help to test a <b>secure SOCKS5 proxy</b> ->`,
ru: `Попробуйте <b>безопасный SOCKS5 прокси</b> ->`,
en: `Try a <b>secure SOCKS5 proxy</b> ->`,
};
</script>

Expand Down

0 comments on commit 9255ca8

Please sign in to comment.