-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(page): creating nerdlog thank you page
- Loading branch information
Showing
1 changed file
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,42 @@ | ||
import React from 'react'; | ||
import cx from 'classnames'; | ||
import PropTypes from 'prop-types'; | ||
import PageLayout from '../components/PageLayout'; | ||
import DevSiteSeo from '../components/DevSiteSeo'; | ||
import nerdlogBanner from '../images/nerdlog/nerdlog-banner.png'; | ||
import styles from './nerd-days.module.scss'; | ||
|
||
const NerdDaysPage = ({ location }) => { | ||
return ( | ||
<> | ||
<DevSiteSeo location={location} /> | ||
<PageLayout type={PageLayout.TYPE.SINGLE_COLUMN}> | ||
<PageLayout.Content> | ||
<section className={cx(styles.section)}> | ||
<div> | ||
<img | ||
className={styles.img} | ||
src={nerdlogBanner} | ||
alt="nerd days header" | ||
/> | ||
<br /> | ||
<br /> | ||
<h1>Thank you for subscribing to Nerdlog emails!</h1> | ||
<p> | ||
You will now be notified when we have episodes of the Nerdlog | ||
and get information about previous episodes every week. | ||
</p> | ||
</div> | ||
</section> | ||
<section /> | ||
</PageLayout.Content> | ||
</PageLayout> | ||
</> | ||
); | ||
}; | ||
|
||
NerdDaysPage.propTypes = { | ||
location: PropTypes.object.isRequired, | ||
}; | ||
|
||
export default NerdDaysPage; |