From edfda756d5f59ffde7500a20abc4b1a51e29b858 Mon Sep 17 00:00:00 2001 From: Aditya Singh <148507838+singh-odyssey@users.noreply.github.com> Date: Sat, 6 Sep 2025 18:03:48 +0000 Subject: [PATCH] Fix buttons to redirect to their origin --- src/pages/community/index.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/community/index.tsx b/src/pages/community/index.tsx index de0e46e1..3198da7e 100644 --- a/src/pages/community/index.tsx +++ b/src/pages/community/index.tsx @@ -28,7 +28,7 @@ const contributionSections: ContributionSection[] = [ ], links: [ { text: 'GitHub', url: 'https://github.com/recodehive' }, - { text: 'GitLab', url: '/community' } + { text: 'GitLab', url: 'https://gitlab.com' } ], color: '#8b5cf6' }, @@ -74,8 +74,8 @@ const contributionSections: ContributionSection[] = [ 'Share knowledge and insights' ], links: [ - { text: 'Discord', url: '/community' }, - { text: 'Slack', url: '/community' } + { text: 'Discord', url: 'https://discord.gg/Yxv9RA3r' }, + { text: 'Slack', url: 'https://slack.com' } ], color: '#10b981' }, @@ -90,8 +90,8 @@ const contributionSections: ContributionSection[] = [ 'Pick a task or area you\'re excited about!' ], links: [ - { text: 'Discord', url: '/community' }, - { text: 'Slack', url: '/community' }, + { text: 'Discord', url: 'https://discord.gg/Yxv9RA3r' }, + { text: 'Slack', url: 'https://slack.com' }, { text: 'GitHub', url: 'https://github.com/recodehive' } ], color: '#6366f1' @@ -108,7 +108,7 @@ const tableOfContents = [ { id: 'thank-you', title: 'Thank You', icon: '💚' } ]; -export default function CommunityPage(): JSX.Element { +export default function CommunityPage(): React.ReactElement { const [activeSections, setActiveSections] = useState(['how-you-can-contribute']); const [selectedSection, setSelectedSection] = useState(null);