mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
enable Kit email subscription form
This commit is contained in:
+23
-11
@@ -525,20 +525,30 @@
|
||||
first to know when it's ready for production use.
|
||||
<p>
|
||||
|
||||
<!-- CTAs -->
|
||||
<div class="flex flex-col sm:flex-row justify-center gap-4 items-stretch">
|
||||
<!-- Subscribe form -->
|
||||
<form class="w-full max-w-sm mx-auto flex">
|
||||
<input type="email"
|
||||
class="flex-1 min-w-0 form-input px-4 py-2 text-sm text-zinc-900 bg-white border border-zinc-200 rounded-l border-r-0 rounded-r-none shadow-sm focus:border-zinc-900"
|
||||
placeholder="Your email address"
|
||||
required/>
|
||||
<button type="submit"
|
||||
class="btn text-zinc-100 bg-zinc-900 hover:bg-zinc-800 rounded-l-none shadow">
|
||||
Subscribe
|
||||
</button>
|
||||
<div class="flex flex-col sm:flex-row justify-center gap-4 items-stretch text-zinc-900">
|
||||
<form action="https://app.kit.com/forms/7595321/subscriptions"
|
||||
class="w-full max-w-sm mx-auto"
|
||||
method="post" data-sv-form="7595321" data-uid="a6c3ce5004" data-format="inline"
|
||||
data-version="5"
|
||||
data-options="{"settings":{"after_subscribe":{"action":"message","success_message":"Success! Please 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://kit.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"}"
|
||||
>
|
||||
<div data-element="fields" class="flex">
|
||||
<input class="flex-1 min-w-0 form-input px-4 py-2 text-sm text-zinc-900 bg-white border border-zinc-200 rounded-l border-r-0 rounded-r-none shadow-sm focus:border-zinc-900"
|
||||
name="email_address"
|
||||
aria-label="Your email address"
|
||||
placeholder="Your email address"
|
||||
type="email"
|
||||
required>
|
||||
<button class="btn text-zinc-100 bg-zinc-900 hover:bg-zinc-800 rounded-l-none shadow"
|
||||
data-element="submit">
|
||||
Subscribe
|
||||
</button>
|
||||
</div>
|
||||
<ul class="text-sm text-rose-700 mt-2" data-element="errors" data-group="alert"></ul>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="mt-6 text-sm text-zinc-500">
|
||||
<p>
|
||||
Want to contribute? Check out the
|
||||
@@ -570,6 +580,8 @@
|
||||
|
||||
</div>
|
||||
|
||||
<script src="https://f.convertkit.com/ckjs/ck.5.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user