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.
|
first to know when it's ready for production use.
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
<!-- CTAs -->
|
|
||||||
<div class="flex flex-col sm:flex-row justify-center gap-4 items-stretch">
|
|
||||||
<!-- Subscribe form -->
|
<!-- Subscribe form -->
|
||||||
<form class="w-full max-w-sm mx-auto flex">
|
<div class="flex flex-col sm:flex-row justify-center gap-4 items-stretch text-zinc-900">
|
||||||
<input type="email"
|
<form action="https://app.kit.com/forms/7595321/subscriptions"
|
||||||
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"
|
class="w-full max-w-sm mx-auto"
|
||||||
placeholder="Your email address"
|
method="post" data-sv-form="7595321" data-uid="a6c3ce5004" data-format="inline"
|
||||||
required/>
|
data-version="5"
|
||||||
<button type="submit"
|
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"}"
|
||||||
class="btn text-zinc-100 bg-zinc-900 hover:bg-zinc-800 rounded-l-none shadow">
|
>
|
||||||
Subscribe
|
<div data-element="fields" class="flex">
|
||||||
</button>
|
<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>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mt-6 text-sm text-zinc-500">
|
<div class="mt-6 text-sm text-zinc-500">
|
||||||
<p>
|
<p>
|
||||||
Want to contribute? Check out the
|
Want to contribute? Check out the
|
||||||
@@ -570,6 +580,8 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script src="https://f.convertkit.com/ckjs/ck.5.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1193,6 +1193,10 @@ input[type="search"]::-webkit-search-results-decoration {
|
|||||||
visibility: collapse;
|
visibility: collapse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.static{
|
||||||
|
position: static;
|
||||||
|
}
|
||||||
|
|
||||||
.absolute{
|
.absolute{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
@@ -1201,6 +1205,10 @@ input[type="search"]::-webkit-search-results-decoration {
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sticky{
|
||||||
|
position: sticky;
|
||||||
|
}
|
||||||
|
|
||||||
.-top-5{
|
.-top-5{
|
||||||
top: -1.25rem;
|
top: -1.25rem;
|
||||||
}
|
}
|
||||||
@@ -1421,6 +1429,10 @@ input[type="search"]::-webkit-search-results-decoration {
|
|||||||
display: grid;
|
display: grid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.list-item{
|
||||||
|
display: list-item;
|
||||||
|
}
|
||||||
|
|
||||||
.hidden{
|
.hidden{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -1744,6 +1756,10 @@ input[type="search"]::-webkit-search-results-decoration {
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.resize{
|
||||||
|
resize: both;
|
||||||
|
}
|
||||||
|
|
||||||
.appearance-none{
|
.appearance-none{
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
-moz-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));
|
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{
|
.underline{
|
||||||
text-decoration-line: underline;
|
text-decoration-line: underline;
|
||||||
}
|
}
|
||||||
@@ -2567,6 +2598,11 @@ input[type="search"]::-webkit-search-results-decoration {
|
|||||||
outline-style: solid;
|
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{
|
||||||
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: 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