-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds noMeetup component, for when there's no scheduled meetups
- Loading branch information
Steve Barman
committed
Dec 12, 2017
1 parent
0157e9a
commit 677a444
Showing
2 changed files
with
48 additions
and
9 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import React from 'react' | ||
|
||
const NoMeetup = () => { | ||
return ( | ||
<article className="w-100 w-100-ns pa2 pa3-ns"> | ||
<div className="bt bw2 b-solid" style={{ borderColor: '#f7d71e' }}> | ||
<h2 className="f2 tc">No Meetups Currently Scheduled</h2> | ||
<div style={{ background: '#f7df1e' }}> | ||
<div className="center measure lh-copy pa3 meetup-content"> | ||
😭 Sorry! We don't have anything scheduled at the moment. Please | ||
join our group over at{' '} | ||
<a href="https://www.meetup.com/Detroit-Javascript/">Meetup</a>. if | ||
you'd like to be notified when the next meetup happens. We are | ||
always looking for people to give talks. If you're interested in | ||
giving a talk, send us an email over at [email protected]. | ||
</div> | ||
</div> | ||
</div> | ||
<style jsx global>{` | ||
.meetup-content a { | ||
color: black; | ||
} | ||
`}</style> | ||
</article> | ||
) | ||
} | ||
|
||
export default NoMeetup |
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