Skip to content

Commit

Permalink
adjust CTA and styles
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Oct 3, 2023
1 parent 8fdbb0d commit 1dc5267
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
8 changes: 6 additions & 2 deletions static/style.css
Expand Up @@ -202,13 +202,17 @@ nav > ul > li > a {
background-color: var(--verydim);
}

.convertkit > p {
.convertkit > p:first-child {
margin-top: 0;
}

.convertkit > p:last-child {
margin-bottom: 0;
}

.convertkit > form {
display: flex;
margin: 0.5em auto 0 auto;
margin: 1em auto;
max-width: 30em;
}

Expand Down
9 changes: 4 additions & 5 deletions templates/convertkit.html
@@ -1,13 +1,12 @@
<section class="convertkit">
<p>
If you just have questions about this, or anything I write, <a href="{{ get_url(path="@/open-invitation.md") }}">please feel free to email me</a>!
</p>
<p>
Otherwise, if you'd like me to email you when I have a new post, sign up below and I'll do exactly that!
(You can also get new posts via <a href="{{ get_url(path="/posts/index.xml", trailing_slash=false) }}" target="_blank">RSS</a>.)
If you'd like me to email you when I have a new post, sign up below and I'll do exactly that!
</p>
<form action="https://app.convertkit.com/forms/2069198/subscriptions" method="post">
<input class="email" name="email_address" aria-label="Email Address" placeholder="Email Address" required="true" type="email" />
<button data-element="submit">Subscribe</button>
</form>
<p>
If you just have questions about this, or anything I write, <a href="{{ get_url(path="@/open-invitation.md") }}">please feel free to email me</a>!
</p>
</section>

0 comments on commit 1dc5267

Please sign in to comment.