-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Slack invite links to website (Contact Us, Header, Footer) (#444)
* Use permanent slack invite URI * Adjust contact us to have slack join button * Move the slack invite info below the contact us form * Tweaking the contact us slack section * fix whitespace and link icon in footer * Suggestions from PR
- Loading branch information
Showing
3 changed files
with
19 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ module.exports = async function configCreatorAsync() { | |
); | ||
const releaseVersion = data.tag_name.substring(1); | ||
const releaseUrl = data.html_url; | ||
const slackUrl = 'https://join.slack.com/t/mlops-community/shared_invite/zt-258yl6ifq-zZNzBaddwlhifj56yt7ONg'; | ||
|
||
/** @type {import('@docusaurus/types').Config} */ | ||
return { | ||
|
@@ -38,7 +39,7 @@ module.exports = async function configCreatorAsync() { | |
|
||
customFields: { | ||
email: '[email protected]', | ||
newIssueUrl: 'https://github.com/G-Research/fasttrackml/issues/new', | ||
slackInviteUrl: slackUrl, | ||
}, | ||
|
||
presets: [ | ||
|
@@ -89,6 +90,11 @@ module.exports = async function configCreatorAsync() { | |
label: 'GitHub', | ||
position: 'right', | ||
}, | ||
{ | ||
href: slackUrl, | ||
label: 'Join our Slack', | ||
position: 'right', | ||
}, | ||
{ | ||
href: 'https://twitter.com/oss_gr', | ||
label: 'Twitter', | ||
|
@@ -126,6 +132,10 @@ module.exports = async function configCreatorAsync() { | |
label: 'GitHub', | ||
href: 'https://github.com/G-Research/fasttrackml', | ||
}, | ||
{ | ||
label: 'Join our Slack', | ||
href: slackUrl, | ||
}, | ||
{ | ||
label: 'Twitter', | ||
href: 'https://twitter.com/oss_gr', | ||
|
@@ -173,4 +183,4 @@ module.exports = async function configCreatorAsync() { | |
], | ||
}), | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters