Add daily email form to the home page
This commit is contained in:
parent
22783aac88
commit
eba93f0341
|
@ -1,6 +1,11 @@
|
|||
<script src="https://f.convertkit.com/ckjs/ck.5.js"></script>
|
||||
|
||||
<form
|
||||
<div>
|
||||
{% if title %}
|
||||
<h2 class="font-bold text-xl">{{ title }}</h2>
|
||||
{% endif %}
|
||||
|
||||
<form
|
||||
class="mx-auto mt-8 max-w-md"
|
||||
action="https://app.convertkit.com/forms/3546728/subscriptions"
|
||||
class="seva-form formkit-form"
|
||||
|
@ -11,7 +16,7 @@
|
|||
data-version="5"
|
||||
data-options='{"settings":{"after_subscribe":{"action":"message","success_message":"Success! Now check your email to confirm your subscription.","redirect_url":""},"analytics":{"google":null,"fathom":null,"facebook":null,"segment":null,"pinterest":null,"sparkloop":null,"googletagmanager":null},"modal":{"trigger":"timer","scroll_percentage":null,"timer":5,"devices":"all","show_once_every":15},"powered_by":{"show":true,"url":"https://convertkit.com/features/forms?utm_campaign=poweredby&utm_content=form&utm_medium=referral&utm_source=dynamic"},"recaptcha":{"enabled":false},"return_visitor":{"action":"show","custom_content":""},"slide_in":{"display_in":"bottom_right","trigger":"timer","scroll_percentage":null,"timer":5,"devices":"all","show_once_every":15},"sticky_bar":{"display_in":"top","trigger":"timer","scroll_percentage":null,"timer":5,"devices":"all","show_once_every":15}},"version":"5"}'
|
||||
min-width="400 500 600 700 800"
|
||||
>
|
||||
>
|
||||
<div data-style="clean">
|
||||
<ul
|
||||
class="formkit-alert formkit-alert-error"
|
||||
|
@ -633,4 +638,5 @@
|
|||
</style>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
@ -29,6 +29,11 @@ Here are all of my [products and services][pricing]. If you still can't find wha
|
|||
title: 'Kind words from clients, subscribers, and past colleagues',
|
||||
} %}
|
||||
|
||||
{% include 'daily-email-form.html.twig' with {
|
||||
title: 'Register for daily software development emails',
|
||||
intro: 'Sign up and get daily emails about Drupal, PHP and software development.',
|
||||
} %}
|
||||
|
||||
{% include 'about-me.html.twig' %}
|
||||
{% endblock %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue