-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a "Thank You" page for MailChimp subscribers (#1642)
- Loading branch information
1 parent
beded0d
commit b1a208a
Showing
3 changed files
with
42 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,11 @@ | ||
import React from 'react' | ||
import styles from './styles.module.css' | ||
|
||
const ThankYouPage: React.FC = () => ( | ||
<div className={styles.wrapper}> | ||
<h1 className={styles.heading}>Thanks for subscribing!</h1> | ||
<p className={styles.copy}>Keep an eye on your inbox</p> | ||
</div> | ||
) | ||
|
||
export default ThankYouPage |
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,29 @@ | ||
.wrapper { | ||
margin: 12rem auto; | ||
text-align: center; | ||
|
||
@media (--md-scr) { | ||
margin: 10rem auto; | ||
} | ||
|
||
@media (--sm-scr) { | ||
margin: 6rem auto; | ||
} | ||
} | ||
|
||
.heading { | ||
font-size: 3rem; | ||
margin: 2rem 0; | ||
|
||
@media (--sm-scr) { | ||
font-size: 2rem; | ||
} | ||
} | ||
|
||
.copy { | ||
font-size: 1.75rem; | ||
|
||
@media (--sm-scr) { | ||
font-size: 1.1rem; | ||
} | ||
} |
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,2 @@ | ||
import ThankYou from '../components/ThankYou' | ||
export default ThankYou |