From f0851bd728c3a227b54c592edfbf12fd0c5b8c62 Mon Sep 17 00:00:00 2001 From: "Manuel Mr. X" <123715579+mdm108@users.noreply.github.com> Date: Sat, 9 May 2026 06:37:18 +0200 Subject: [PATCH] Add Telegram channel footer link --- components/page-footer/Support.tsx | 18 ++++++++++++++++-- data/ui.yml | 1 + 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/components/page-footer/Support.tsx b/components/page-footer/Support.tsx index 3e5f7e22cbfc..8bbafec10b35 100644 --- a/components/page-footer/Support.tsx +++ b/components/page-footer/Support.tsx @@ -1,8 +1,10 @@ -import { PeopleIcon, CommentDiscussionIcon } from '@primer/octicons-react' +import { PeopleIcon, CommentDiscussionIcon, PaperAirplaneIcon } from '@primer/octicons-react' import { useTranslation } from 'components/hooks/useTranslation' import { useMainContext } from 'components/context/MainContext' +const TELEGRAM_CHANNEL_URL = process.env.NEXT_PUBLIC_TELEGRAM_CHANNEL_URL || 'https://t.me/github' + export const Support = () => { const { t } = useTranslation('support') const { communityRedirect } = useMainContext() @@ -20,7 +22,7 @@ export const Support = () => { {Object.keys(communityRedirect).length === 0 ? t`ask_community` : communityRedirect.name} -
+
{ {t`contact_support`}
+
+ + + {t`join_telegram_channel`} + +
) } diff --git a/data/ui.yml b/data/ui.yml index 3cfe3eaf0db8..d4f9d4056ce7 100644 --- a/data/ui.yml +++ b/data/ui.yml @@ -65,6 +65,7 @@ support: still_need_help: Still need help? contact_support: Contact support ask_community: Ask the GitHub community + join_telegram_channel: Join Telegram channel survey: able_to_find: Did this doc help you? yes: Yes