Skip to content

Commit

Permalink
Add newsletter page
Browse files Browse the repository at this point in the history
  • Loading branch information
kubgus committed Sep 10, 2024
1 parent adb548c commit 7d0ea1b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/content/blog.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ posts.sort((a, b) => new Date(b.frontmatter.date).valueOf() - new Date(a.frontma
guides, and Patreon member articles for free.
</p>

<a href="/join" class="btn">Subscribe</a>
<a href="/newsletter" class="btn">Subscribe</a>
</section>

<h1>Blog Posts</h1>
Expand Down
26 changes: 26 additions & 0 deletions src/pages/newsletter.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<div style="text-align: left" class="sender-form-field" data-sender-form-id="m0w9xt4nav2qymk3ber"></div>

<script lang="javascript" is:inline>
(function (s, e, n, d, er) {
s['Sender'] = er;
s[er] = s[er] || function () {
(s[er].q = s[er].q || []).push(arguments)
}, s[er].l = 1 * new Date();
var a = e.createElement(n),
m = e.getElementsByTagName(n)[0];
a.async = 1;
a.src = d;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://cdn.sender.net/accounts_resources/universal.js', 'sender');
sender('d3766cb7935281')
</script>

<style>
body {
background-color: black;
display: flex;
justify-content: center;
align-items: center;
height: 90vh;
}
</style>

0 comments on commit 7d0ea1b

Please sign in to comment.