Skip to content

Commit

Permalink
feat(page): creating nerdlog thank you page
Browse files Browse the repository at this point in the history
  • Loading branch information
jaesius committed Mar 23, 2021
1 parent 5046aa5 commit 308dcc5
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions src/pages/nerdlog-thank-you.js
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;

0 comments on commit 308dcc5

Please sign in to comment.