make form post

This commit is contained in:
Anton Livaja 2025-05-27 11:08:37 -07:00
parent 20e5f2e3fc
commit 07627a1dcd
Signed by: anton
GPG Key ID: 44A86CFF1FDF0E85
4 changed files with 108 additions and 56 deletions

View File

@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: en }}">
{%- include head.html -%}
{%- include head.html -%}
<!-- index.html -->
<head>
@ -19,7 +19,7 @@
</head>
<body>
<section class="logo-section center"></section>
<section class="logo-section center"></section>
<div class="logo">
<img src="/assets/base/caution-logo-triangle-black.svg" alt="Caution logo" style="height: clamp(3rem, 10vw, 4rem)">
</div>
@ -40,11 +40,15 @@
</div>
<div class="waitlist-form">
<form method="post" class="email-form">
<div class="input-wrapper">
<form id="contact-form" method="post" class="email-form" action="https://distrust.co/submit-email">
<div class="input-wrapper">
<input type="email" name="email" placeholder="Enter your email" id="email" class="email-input" required>
<input type="hidden" id="name" name="name" class="form-input" value="caution.co">
<input type="hidden" id="company-name" value="caution.co" name="company-name" class="form-input">
<input id="service" type="hidden" name="service" class="form-select" value="caution.co">
<input type="hidden" id="other-source" name="other-source" class="form-input" placeholder="Please specify">
<button type="submit" class="submit-btn" aria-label="Submit email">
<span class="arrow"></span>
<span class="arrow"></span>
</button>
</div>
</form>

40
_layouts/thank_you.html Normal file
View File

@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: en }}">
{%- include head.html -%}
<!-- index.html -->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Caution Waitlist</title>
<link rel="stylesheet" href="styles.css">
<style>
html, body {
height: 100vh;
width: 100vw;
overflow-x: hidden;
overflow-y: auto;
}
</style>
</head>
<body>
<section class="logo-section center"></section>
<div class="logo">
<img src="/assets/base/caution-logo-triangle-black.svg" alt="Caution logo" style="height: clamp(3rem, 10vw, 4rem)">
</div>
<div class="heading center">
<h3>Thank you, you'll hear from us soon.</h3>
<p class="subtext center">
</p>
</div>
</section>
<div class="footer">
<p>Brought to you by the security engineers behind Distrust, BitGo, Unit410 and Turkney.</p>
</div>
</html>

View File

@ -37,23 +37,23 @@ body {
text-align: center;
margin: auto;
}
.logo img {
.logo img {
margin-top: 2.5rem;
margin-bottom: 2rem;
}
}
h1 {
font-size: clamp(3rem, 10vw, 5rem);
margin-bottom: 0rem;
}
.subtext {
font-size: clamp(1rem, 2vw, 1.25rem);
max-width: 670px;
margin-bottom: 10rem;
}
.info-block {
font-size: clamp(.7rem, 10vw, .9rem);
text-transform: uppercase;
@ -70,7 +70,7 @@ body {
.waitlist-form {
width: min(90%, 500px);
}
.email-form {
display: flex;
justify-content: center;
@ -89,7 +89,7 @@ body {
justify-content: space-between;
margin-bottom: 10rem;
}
.email-input {
flex: 1;
font-size: 1.25rem;
@ -129,8 +129,8 @@ body {
.submit-btn .arrow:hover {
transform: translateX(2.5px);
}
.footer {
margin-bottom: 2rem;
font-size: clamp(0.5rem, 10vw, 0.9rem);
@ -139,7 +139,7 @@ body {
word-spacing: 80%;
justify-content: center;
}
a {
text-decoration: none;
color: inherit;
@ -269,7 +269,7 @@ h3.gradient-text.center {
background: var(--dark-grey);
border: 1px solid var(--mid-purple);
border-radius: 20px;
padding: 45px;
padding: 45px;
margin: 20px;
min-height: 150px;
max-width: 550px;
@ -489,7 +489,7 @@ h3.gradient-text.center {
}
.threat-model {
margin-top: 1rem;
margin-top: 1rem;
margin-bottom: 1.5rem;
}
@ -614,7 +614,7 @@ h3.gradient-text.center {
flex-direction: column;
min-height: 360px;
padding: 35px;
background: none;
background: none;
border: 1px solid var(--light-teal);
}
@ -700,7 +700,7 @@ h3.gradient-text.center {
top: 1850px;
left: 0;
z-index: -1;
transform: scaleY(-1)
transform: scaleY(-1)
}
.video-background-container-building-blocks {
@ -710,7 +710,7 @@ h3.gradient-text.center {
overflow: hidden;
top: 2170px;
left: 0;
z-index: -1;
z-index: -1;
}
.gradient-overlay-philosophy, .gradient-overlay-our-approach {
@ -807,12 +807,12 @@ h3.gradient-text.center {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
flex-wrap: wrap;
gap: 1rem;
margin-top: 15rem;
}
.flex-container-inner {
flex: 1;
min-width: 250px;
@ -821,13 +821,13 @@ h3.gradient-text.center {
.flex-container-inner .card .landing-offerings {
min-height: 480px;
}
.threatmodel-cta-right-column .button-container {
flex-shrink: 0;
display: block;
}
.threatmodel-cta-bottom .button-container {
.threatmodel-cta-bottom .button-container {
display: none;
}
@ -836,7 +836,7 @@ h3.gradient-text.center {
box-shadow: 0 0 18px var(--pink);
background-color: #2A0A1F;
}
.threatmodel-cta-right-column .mega.button:hover, .threatmodel-cta-bottom .mega-inverted.button:hover {
border: 2px solid var(--pink);
box-shadow: 0 0 18px var(--pink);
@ -872,11 +872,11 @@ h3.gradient-text.center {
}
p {
word-wrap: break-word;
word-break: break-word;
white-space: pre-wrap;
margin-top: 16px;
margin-bottom: 16px;
}
@ -953,7 +953,7 @@ footer {
}
.footer-links a:hover {
color: var(--purple);
color: var(--purple);
}
.footer-bottom {
@ -970,7 +970,7 @@ footer {
.footer-social a img {
height: 20px;
width: 20px;
width: 20px;
margin-left: 0.5rem;
filter: invert(1) grayscale(1) brightness(0.5);
transition: filter 0.2s ease;
@ -1004,7 +1004,7 @@ hr {
align-items: center;
gap: 10px;
}
.form-input {
flex: 1;
padding: 12px 16px;
@ -1012,7 +1012,7 @@ hr {
border-radius: 8px;
font-size: 1rem;
}
.circle-btn {
background-color: black;
color: white;
@ -1027,11 +1027,11 @@ hr {
cursor: pointer;
transition: background-color 0.2s ease-in-out;
}
.circle-btn:hover {
background-color: #333;
}
.btn-arrow {
font-weight: bold;
}
@ -1405,7 +1405,7 @@ hr {
justify-content: space-between;
}
.contact-info {
.contact-info {
flex: 1 1 45%;
max-width: 500px;
}
@ -1426,7 +1426,7 @@ hr {
opacity: 0.9;
padding-top: 1.5rem;
}
.logo-grid img {
max-width: 100%;
max-height: 30px;
@ -1434,7 +1434,7 @@ hr {
filter: grayscale(100%);
transition: filter 0.3s ease;
}
::selection {
background: var(--selection-background);
@ -1597,7 +1597,7 @@ textarea {
gap: 20px;
flex-wrap: wrap;
}
.form-half {
flex: 1;
min-width: 200px;
@ -1762,7 +1762,7 @@ pre {
.highlight .gr {
color: var(--code-color-7);
}
.highlight .gh {
color: var(--code-color-8);
font-weight: bold
@ -2237,7 +2237,7 @@ pre {
padding: 3rem 1.5rem;
background-color: #0d0d0d;
}
.testimonial-card {
background-color: #121212;
padding: 2rem;
@ -2248,37 +2248,37 @@ pre {
justify-content: space-between;
gap: 1.5rem;
}
.testimonial-logo {
height: 32px;
}
.testimonial-quote {
color: #fff;
font-size: 1rem;
line-height: 1.6;
font-style: italic;
}
.testimonial-author {
display: flex;
align-items: center;
gap: 1rem;
}
.testimonial-avatar {
width: 48px;
height: 48px;
border-radius: 50%;
object-fit: cover;
}
.testimonial-name {
font-weight: 600;
color: #fff;
margin: 0;
}
.testimonial-title {
font-size: 0.875rem;
color: #aaa;
@ -2388,7 +2388,7 @@ pre {
}
.footer-links a:hover {
color: var(--purple);
color: var(--purple);
}
.footer-footer {
@ -2402,7 +2402,7 @@ pre {
.footer-social a img {
height: 20px;
margin-left: 0rem;
width: 20px;
width: 20px;
}
}
@ -2418,7 +2418,7 @@ pre {
.text-description-desktop {
display: none;
}
.text-description-mobile {
display: block;
}
@ -2515,7 +2515,7 @@ pre {
display: none;
}
.threatmodel-cta-bottom .button-container {
.threatmodel-cta-bottom .button-container {
display: block;
}
@ -2549,7 +2549,7 @@ pre {
}
@media (max-width: 600px) {
.live-tools-cards .card {
min-height: 300px;
}
@ -2661,7 +2661,7 @@ pre {
}
.footer-links a:hover {
color: var(--purple);
color: var(--purple);
}
.footer-footer {
@ -2675,7 +2675,7 @@ pre {
.footer-social a img {
height: 20px;
margin-left: 0rem;
width: 20px;
width: 20px;
}
//footer//
@ -2773,7 +2773,7 @@ pre {
}
@media (max-width: 400px) {
.footer-description-mobile {
display: none;
}
@ -2782,4 +2782,4 @@ pre {
margin-bottom: 1.5rem;
}
}
*/
*/

8
thank_you.md Normal file
View File

@ -0,0 +1,8 @@
---
title: Thank You
tagline: Caution | Thank you
layout: thank_you
summary: Thank you for your interest
permalink: /thank_you.html
---