mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03: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>
|
||||
|
||||
@@ -1193,6 +1193,10 @@ input[type="search"]::-webkit-search-results-decoration {
|
||||
visibility: collapse;
|
||||
}
|
||||
|
||||
.static{
|
||||
position: static;
|
||||
}
|
||||
|
||||
.absolute{
|
||||
position: absolute;
|
||||
}
|
||||
@@ -1201,6 +1205,10 @@ input[type="search"]::-webkit-search-results-decoration {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sticky{
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
.-top-5{
|
||||
top: -1.25rem;
|
||||
}
|
||||
@@ -1421,6 +1429,10 @@ input[type="search"]::-webkit-search-results-decoration {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.list-item{
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
.hidden{
|
||||
display: none;
|
||||
}
|
||||
@@ -1744,6 +1756,10 @@ input[type="search"]::-webkit-search-results-decoration {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.resize{
|
||||
resize: both;
|
||||
}
|
||||
|
||||
.appearance-none{
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
@@ -2482,6 +2498,21 @@ input[type="search"]::-webkit-search-results-decoration {
|
||||
color: rgb(31 41 55 / var(--tw-text-opacity));
|
||||
}
|
||||
|
||||
.text-red-600{
|
||||
--tw-text-opacity: 1;
|
||||
color: rgb(220 38 38 / var(--tw-text-opacity));
|
||||
}
|
||||
|
||||
.text-rose-700{
|
||||
--tw-text-opacity: 1;
|
||||
color: rgb(190 18 60 / var(--tw-text-opacity));
|
||||
}
|
||||
|
||||
.text-rose-600{
|
||||
--tw-text-opacity: 1;
|
||||
color: rgb(225 29 72 / var(--tw-text-opacity));
|
||||
}
|
||||
|
||||
.underline{
|
||||
text-decoration-line: underline;
|
||||
}
|
||||
@@ -2567,6 +2598,11 @@ input[type="search"]::-webkit-search-results-decoration {
|
||||
outline-style: solid;
|
||||
}
|
||||
|
||||
.grayscale{
|
||||
--tw-grayscale: grayscale(100%);
|
||||
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
||||
}
|
||||
|
||||
.filter{
|
||||
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user