Skip to content

Commit 502c745

Browse files
authored
Merge pull request #486 from singh-odyssey/buttons-redirect
Fix buttons to redirect to their origin
2 parents efba69d + edfda75 commit 502c745

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/pages/community/index.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const contributionSections: ContributionSection[] = [
2828
],
2929
links: [
3030
{ text: 'GitHub', url: 'https://github.com/recodehive' },
31-
{ text: 'GitLab', url: '/community' }
31+
{ text: 'GitLab', url: 'https://gitlab.com' }
3232
],
3333
color: '#8b5cf6'
3434
},
@@ -74,8 +74,8 @@ const contributionSections: ContributionSection[] = [
7474
'Share knowledge and insights'
7575
],
7676
links: [
77-
{ text: 'Discord', url: '/community' },
78-
{ text: 'Slack', url: '/community' }
77+
{ text: 'Discord', url: 'https://discord.gg/Yxv9RA3r' },
78+
{ text: 'Slack', url: 'https://slack.com' }
7979
],
8080
color: '#10b981'
8181
},
@@ -90,8 +90,8 @@ const contributionSections: ContributionSection[] = [
9090
'Pick a task or area you\'re excited about!'
9191
],
9292
links: [
93-
{ text: 'Discord', url: '/community' },
94-
{ text: 'Slack', url: '/community' },
93+
{ text: 'Discord', url: 'https://discord.gg/Yxv9RA3r' },
94+
{ text: 'Slack', url: 'https://slack.com' },
9595
{ text: 'GitHub', url: 'https://github.com/recodehive' }
9696
],
9797
color: '#6366f1'
@@ -108,7 +108,7 @@ const tableOfContents = [
108108
{ id: 'thank-you', title: 'Thank You', icon: '💚' }
109109
];
110110

111-
export default function CommunityPage(): JSX.Element {
111+
export default function CommunityPage(): React.ReactElement {
112112
const [activeSections, setActiveSections] = useState<string[]>(['how-you-can-contribute']);
113113
const [selectedSection, setSelectedSection] = useState<string | null>(null);
114114

0 commit comments

Comments
 (0)