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