Skip to content

Commit 0f72767

Browse files
authored
added email signup (#10)
added email signup
2 parents 3cc5065 + 0b1dca5 commit 0f72767

File tree

2 files changed

+31
-3
lines changed

2 files changed

+31
-3
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
|<!-- Begin Mailchimp Signup Form -->
2+
|<link href="//cdn-images.mailchimp.com/embedcode/horizontal-slim-10_7.css" rel="stylesheet" type="text/css">
3+
|<style type="text/css">
4+
| #mc_embed_signup{clear:left; font:14px Helvetica,Arial,sans-serif; width:100%;}
5+
| /* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
6+
| We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
7+
|
8+
| #mc_embed_signup .button { background-color: #55F; }
9+
|</style>
10+
|<div id="mc_embed_signup">
11+
|<form action="https://github.us18.list-manage.com/subscribe/post?u=26af7d1564af1d149f5ed656d&amp;id=be5c05f542" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
12+
| <div id="mc_embed_signup_scroll">
13+
| <label for="mce-EMAIL">Subscribe for updates!</label>
14+
| <input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
15+
| <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
16+
| <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_26af7d1564af1d149f5ed656d_be5c05f542" tabindex="-1" value=""></div>
17+
| <div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
18+
| </div>
19+
|</form>
20+
|</div>
21+
|
22+
|<!--End mc_embed_signup-->

thankful/index.pug

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ html
1010
include /templates/navbar.pug
1111

1212
main.mdl-layout__content
13-
+cover('linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05))', style="padding: 8em 0em 8em 0")
13+
+cover('linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05))', style="padding: 8em 0em 2em 0")
1414
+text('div', 'text-center', 'grey-800')
1515
div
1616
+typo('div', 'display-4') Be Thankful
@@ -35,6 +35,9 @@ html
3535

3636
p(style="margin-top: 1em") Not ready to try it out yet? Check out the #[a(href="#screenshot") screenshot]!
3737

38+
div(style="padding: 2em;")
39+
include /templates/email-signup-horizontal.pug
40+
3841
//div
3942
h5(style='margin-bottom: 0.5em')
4043
b Get started!
@@ -49,7 +52,7 @@ html
4952
5053
+section
5154
+cell(9)
52-
+sectitle Support everyone you like
55+
+sectitle Support everyone you like
5356
p The browser extension makes supporting creators easy. It keeps track of the creators you've viewed, gives an overview of them, and then lets you choose who you want to support at the end of every month.
5457
+cell(3)(align='right')
5558
+fa('donate', 'fas', 'amber')
@@ -77,10 +80,13 @@ html
7780
span
7881
+fa('bitcoin', 'fab', 'amber')
7982

80-
+section
83+
+section.mdl-color--grey-200
8184
h2.mdl-typography--display-2-color-contrast(id="screenshot" style="width: 100%; text-align: center")
8285
| Screenshot
8386
figure(style="border: 1px solid #555; border-radius: 3px")
8487
img(src="/media/screenshot-thankful.png", width="100%")
8588

89+
+section
90+
include /templates/email-signup-horizontal.pug
91+
8692
+footer.mdl-color--grey-200

0 commit comments

Comments
 (0)