Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add new newsletter view #644

Merged
merged 5 commits into from
Apr 5, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat: add new newsletter view
  • Loading branch information
derberg committed Mar 31, 2022
commit f9c6d9ce4089c1ac7661eb7f06cc7bbfcbcee630
24 changes: 24 additions & 0 deletions pages/newsletter/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import NavBar from "../../components/navigation/NavBar";
import Footer from "../../components/Footer";
import Head from "../../components/Head";
import Container from '../../components/layout/Container'
import StickyNavbar from "../../components/navigation/StickyNavbar"
import NewsletterSubscribe from '../../components/NewsletterSubscribe'

export default function NewsletterIndexPage() {

return (
<div>
<Head title="Newsletter"/>
<StickyNavbar>
<NavBar className="max-w-screen-xl block px-4 sm:px-6 lg:px-8 mx-auto" />
</StickyNavbar>
<div className="bg-gray-900 py-12 mt-12">
<Container wide>
<NewsletterSubscribe formName="form 1" dark />
</Container>
</div>
<Footer />
</div>
);
}