Website: Add note to website forms (#14138)

Closes: https://github.com/fleetdm/confidential/issues/348
Changes:
- Added a note about spam to forms on the /device-management, /contact,
and /upgrade pages.
This commit is contained in:
Eric 2023-09-27 17:22:33 -05:00 committed by GitHub
parent 1d9299dea2
commit 63fd385a7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 22 additions and 0 deletions

View file

@ -4,6 +4,14 @@
font-weight: 700;
font-size: 18px;
}
a {
font-size: 14px;
color: @core-vibrant-blue;
text-decoration: underline;
}
input {
border-radius: 8px;
}
.btn-primary {
background-color: #ff5c83;

View file

@ -30,6 +30,11 @@
font-size: 16px;
line-height: 24px;
}
a {
font-size: 14px;
color: @core-vibrant-blue;
text-decoration: underline;
}
[purpose='hero-background'] {
background: linear-gradient(180deg, #E8F1F7 3.37%, #FFFFFF 60%);

View file

@ -27,6 +27,12 @@
line-height: 24px;
margin-bottom: 16px;
}
a {
font-size: 14px;
color: @core-vibrant-blue;
text-decoration: underline;
}
[purpose='feature'] {
img {
margin-left: auto;

View file

@ -47,6 +47,7 @@
<ajax-button type="submit" :syncing="syncing" class="btn btn-primary btn-sm">Submit</ajax-button>
</div>
</ajax-form>
<p class="mb-0 mt-4 pt-3"><a href="/handbook/company/why-this-way#why-dont-we-sell-like-everyone-else" target="_blank">We will never spam you</a>.</p>
</div>
<div style="max-width: 725px;" class="mx-auto text-center" v-else>
<h2>Thank you, {{formData.firstName}}!</h2>

View file

@ -117,6 +117,7 @@
<ajax-button purpose="submit-button" spinner="true" type="submit" :syncing="syncing" class="btn btn-sm btn-block btn-primary">Submit</ajax-button>
</div>
</ajax-form>
<p class="mb-0 mt-4"><a href="/handbook/company/why-this-way#why-dont-we-sell-like-everyone-else" target="_blank">We will never spam you</a>.</p>
</div>
<div purpose="modal-form" class="text-center" v-else>
<h2 class="mb-2">Thank you!</h2>

View file

@ -95,6 +95,7 @@
<ajax-button purpose="submit-button" spinner="true" type="submit" :syncing="syncing" class="btn btn-sm btn-block btn-primary">Submit</ajax-button>
</div>
</ajax-form>
<p class="mb-0 mt-4 pt-3"><a href="/handbook/company/why-this-way#why-dont-we-sell-like-everyone-else" target="_blank">We will never spam you</a>.</p>
</div>
<%// Form success state %>
<div purpose="upgrade-form" v-else>