-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
39adda8
commit a8c8e47
Showing
2 changed files
with
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.emailInput { | ||
max-width: 300px; | ||
} | ||
|
||
.emailForm { | ||
padding: 15px; | ||
} |
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,56 @@ | ||
import React from 'react' | ||
import { Button, Container, Form } from 'semantic-ui-react' | ||
|
||
import Page from '@components/Page' | ||
import styles from './index.module.scss' | ||
|
||
const Newsletter = () => ( | ||
<Page title="Kitspace Newsletter"> | ||
<Container> | ||
<p> | ||
Often people say to us: "Wow that's a nice printed circuit board. | ||
I would like to subscribe to your newsletter." Now you can! If | ||
you're curious, you can read the latest edition first:{' '} | ||
<a href="https://buttondown.email/kitspace/archive/kitspace-newsletter-1-assembling-projects/"> | ||
#1: Kitspace Newsletter #1: Assembling Projects. | ||
</a>{' '} | ||
</p> | ||
<p> | ||
Subscribe below, don't worry, it'`s easy to unsubscribe if you | ||
change your mind later. If you prefer, you can also{' '} | ||
<a href="https://buttondown.email/kitspace/rss">subscribe via RSS</a>. If | ||
you just want to get in touch email{' '} | ||
<a href="mailto:info@kitspace.org">info@kitspace.org</a> instead. | ||
</p> | ||
<Form | ||
action="https://buttondown.email/api/emails/embed-subscribe/kitspace" | ||
className={styles.emailForm} | ||
method="POST" | ||
name="newsletter" | ||
> | ||
<input name="form-name" type="hidden" value="newsletter" /> | ||
<Form.Field> | ||
<label>Your Email:</label> | ||
<input | ||
required | ||
className={styles.emailInput} | ||
name="email" | ||
placeholder="you@example.com" | ||
type="email" | ||
/> | ||
</Form.Field> | ||
<div hidden aria-hidden="true"> | ||
<label> | ||
Don't fill this out if you're human: | ||
<input name="bot-field" /> | ||
</label> | ||
</div> | ||
<Button primary type="submit"> | ||
Subscribe | ||
</Button> | ||
</Form> | ||
</Container> | ||
</Page> | ||
) | ||
|
||
export default Newsletter |