Skip to content

Commit

Permalink
[skip ci] Add link to README
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Nov 3, 2023
1 parent c199ddb commit fc094e8
Show file tree
Hide file tree
Showing 3 changed files with 345 additions and 323 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ Homepage https://jbrowse.org/jb2

Docs http://jbrowse.org/jb2/docs/

Fall 2023: We have created an "office hours" Google Calendar for anyone to
schedule 1-on-1 meetings with the development team. Please schedule an
appointment here https://calendar.app.google/E9i5fyZN4UcZawuNA

## Pre-requisites

- [git](https://git-scm.com/downloads)
Expand Down
73 changes: 35 additions & 38 deletions website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,56 +9,53 @@ import {
Button,
Box,
Alert,
Dialog,
DialogContent,
DialogTitle,
IconButton,
createTheme,
} from '@mui/material'
import CloseIcon from '@mui/icons-material/Close'
import GetAppIcon from '@mui/icons-material/GetApp'
import OpenInBrowserIcon from '@mui/icons-material/OpenInBrowser'

function GoogleDialog({ onClose }: { onClose: () => void }) {
return (
<Dialog open onClose={() => onClose()} fullWidth maxWidth="xl">
<DialogTitle>
Schedule appointment
<IconButton style={{ position: 'absolute' }} onClick={() => onClose()}>
<CloseIcon />
</IconButton>
</DialogTitle>
<DialogContent>
<iframe
width="1600"
height="1000"
src="https://calendar.google.com/calendar/appointments/schedules/AcZssZ2WIB6bwPtShkYDn49c-ADXvpxfa6iyaEP453Uvy-e-RDZPZF5rsbTRbRlXrWelVpSicZJQsdn5?gv=true"
></iframe>
</DialogContent>
</Dialog>
)
}
function GoogleCalendarScheduleFunction() {
const [open, setOpen] = useState(false)
return (
<div style={{ display: 'flex' }}>
<div>
<div>
<Typography variant="h6">New: JBrowse 2 office hours!</Typography>
<Typography variant="h6">
New: JBrowse 2 office hours and community meetings!
</Typography>
<Typography>
Starting Fall 2023, we are offering appointments with members of our
team via Google Calendar, click the button here to schedule!
team via Google Calendar
<Button
variant="contained"
style={{ margin: 10 }}
size="small"
href="https://calendar.google.com/calendar/u/0/appointments/schedules/AcZssZ2WIB6bwPtShkYDn49c-ADXvpxfa6iyaEP453Uvy-e-RDZPZF5rsbTRbRlXrWelVpSicZJQsdn5"
>
Schedule appointment
</Button>
<Typography>
We will also have community meetings where anyone can join a public
Google Meet
</Typography>
</Typography>
</div>
<div style={{ margin: 20 }}>
<Button
variant="contained"
color="primary"
onClick={() => setOpen(true)}
>
Schedule appointment
</Button>
</div>
{open ? <GoogleDialog onClose={() => setOpen(false)} /> : null}
<ul>
<li>
<a href="https://meet.google.com/uti-xsjf-xbu">
Monthly on the last Tuesday, 8pm EST (Asia Pacific friendly)
</a>
</li>
<li>
<a href="https://meet.google.com/rnq-exdt-tuz">
Monthly on the third Thursday, 10am EST (North America, Europe
friendly)
</a>
</li>
<li>
<a href="https://calendar.google.com/calendar/u/2?cid=ZDgxZmE0Yjk3YjdiZTAxYThjMDAzYzNkOThkMjUyOGQ1ZWM4YzNkMzRjNjgwMmQ3YjZhOWEwYmU4NDYxZDBiM0Bncm91cC5jYWxlbmRhci5nb29nbGUuY29t">
Add both events to your Google calendar
</a>
</li>
</ul>
</div>
)
}
Expand Down

0 comments on commit fc094e8

Please sign in to comment.