Skip to content

Commit

Permalink
new link for community discussion (github#32424)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbe authored Nov 7, 2022
1 parent c2ff84b commit ea468cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/page-footer/Support.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const Support = () => {
<div className="mb-2">
<a
id="ask-community"
href={communityRedirect.href || 'https://github.community/'}
href={communityRedirect.href || 'https://github.com/orgs/community/discussions'}
className="Link—secondary text-bold"
>
<PeopleIcon size="small" className="octicon mr-1" />
Expand Down
4 changes: 3 additions & 1 deletion tests/rendering/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ describe('footer', () => {
describe('test redirects for non-product landing community links pages', () => {
test('leads to https://github.community/ when clicking on the community link', async () => {
const $ = await getDOM(`/en/github/authenticating-to-github`)
expect($('a#ask-community').attr('href')).toBe('https://github.community/')
expect($('a#ask-community').attr('href')).toBe(
'https://github.com/orgs/community/discussions'
)
})
})
})

0 comments on commit ea468cc

Please sign in to comment.