-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show dev workshop ad on homepage (#107)
* Add ad for dev workshop * Add changelog entry * Fix date
- Loading branch information
1 parent
5bcbc37
commit c51e2c2
Showing
3 changed files
with
30 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import React from 'react' | ||
import { Alert } from 'reactstrap' | ||
import moment from 'moment' | ||
|
||
export default () => { | ||
// Hide ad once the event starts | ||
if (moment().isAfter('2018-04-24 19:00:00.000-05')) return null | ||
|
||
return ( | ||
<Alert color="primary"> | ||
<h6>Want to work on the queue?</h6> | ||
<p className="mb-0"> | ||
Join us for a development workshop on Tuesday, April 24th at 7PM in | ||
Siebel 2405. We'll teach you how to run a version of the queue on | ||
your machine, introduce you to the architecture, go over how to | ||
contribute, and more! | ||
<a | ||
className="ml-2" | ||
href="https://www.facebook.com/events/352213225287320/" | ||
> | ||
More information | ||
</a> | ||
</p> | ||
</Alert> | ||
) | ||
} |
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