Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/connect_with/training.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ Gain foundational skills in research computing while working alongside graduate

## Registration and Schedule

Workshops are offered throughout the academic year with both daytime and evening sessions to accommodate different schedules. Registration is free for SLU community members. Check our [news pages](/news) or [Join our Slack workspace](./) for upcoming sessions.
Workshops are offered throughout the academic year with both daytime and evening sessions to accommodate different schedules. Registration is free for SLU community members. Check our [news pages](/news) or [Join our Slack workspace](https://join.slack.com/t/oswslu/shared_invite/zt-24f0qhjbo-NkSfQ4LOg5wXxBdxP4vzfA) for upcoming sessions.

Contact [[email protected]](mailto:[email protected]) to request specific topics, suggest new workshop ideas, or arrange lab-specific training sessions.
12 changes: 12 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,18 @@ const config = {
]
},
{to: '/news', label: 'News', position: 'left'},
{
type: 'doc',
docId: 'connect_with/community',
label: 'Contribute',
position: 'right',
className: 'button button--secondary button--lg',
},
{
type: 'custom-myAwesomeNavbarItem',
position: 'right',
className: 'button button--secondary button--lg',
},
{
type: 'doc',
docId: 'connect_with/donate',
Expand Down
19 changes: 4 additions & 15 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,9 @@ const sidebars = {
items: [
{
type: 'category',
label: 'Get involved as an individual',
label: 'Participate as an individual',
link: {type: 'doc', id: 'connect_with/participants'},
items: [
{
label: 'Participate',
type: 'doc',
id: 'connect_with/participants',
},
{
label: 'Contribute',
type: 'doc',
Expand All @@ -122,12 +118,8 @@ const sidebars = {
{
type: 'category',
label: 'Partner as an organization',
link: {type: 'doc', id: 'connect_with/partners'},
items: [
{
label: 'Partner',
type: 'doc',
id: 'connect_with/partners',
},
{
label: 'Engage Programs',
type: 'doc',
Expand All @@ -153,11 +145,8 @@ const sidebars = {
{
type: 'category',
label: 'Consult with an expert',
link: {type: 'doc', id: 'connect_with/consult'},
items: [
{
type: 'doc',
id: 'connect_with/consult',
},
{
label: 'Research Software Consults',
type: 'doc',
Expand Down
12 changes: 12 additions & 0 deletions src/components/SlackButton.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';
import styles from '../pages/index.module.css';

function SlackButton() {
return (
<button className='button button--secondary button--lg' title={"Open link to Slack channel in a new tab"} onClick={() => {
window.open('https://join.slack.com/t/oswslu/shared_invite/zt-24f0qhjbo-NkSfQ4LOg5wXxBdxP4vzfA', '_blank').focus()
}}>Contribute</button>
)
}

export default SlackButton;
7 changes: 7 additions & 0 deletions src/theme/NavbarItem/ComponentTypes.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import ComponentTypes from '@theme-original/NavbarItem/ComponentTypes';
import SlackButton from '@site/src/components/SlackButton';

export default {
...ComponentTypes,
'custom-myAwesomeNavbarItem': SlackButton,
};