Update form copy

This commit is contained in:
Jeremy Thomas 2024-01-11 12:57:09 +00:00
parent 25d054e64b
commit 4301f50d06
6 changed files with 2367 additions and 1925 deletions

View File

@ -97,6 +97,7 @@ document.addEventListener("DOMContentLoaded", () => {
const $amis = document.getElementById("amis");
if ($amis) {
fetch("https://jgthms.com/amis.json")
.then((response) => {
if (!response.ok) {
@ -113,7 +114,7 @@ document.addEventListener("DOMContentLoaded", () => {
const { url, alt = "", width, height } = ami;
const el = document.createElement("a");
el.className = "bd-sponsor-item bd-partner-sponsor";
el.href = "url";
el.href = url;
el.target = "_blank";
el.title = alt;
const extension = ami.svg ? ".svg" : ".png";
@ -125,4 +126,5 @@ document.addEventListener("DOMContentLoaded", () => {
$amis.appendChild(el);
});
});
}
});

View File

@ -160,6 +160,13 @@
display: flex;
width: 100%;
}
.label em {
font-style: normal;
font-weight: normal;
opacity: 0.5;
font-size: 0.875em;
}
}
.v1-tsp {

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -86,6 +86,7 @@ document.addEventListener("DOMContentLoaded", function () {
var $amis = document.getElementById("amis");
if ($amis) {
fetch("https://jgthms.com/amis.json").then(function (response) {
if (!response.ok) {
throw new Error("HTTP error! Status: " + response.status);
@ -107,7 +108,7 @@ document.addEventListener("DOMContentLoaded", function () {
var el = document.createElement("a");
el.className = "bd-sponsor-item bd-partner-sponsor";
el.href = "url";
el.href = url;
el.target = "_blank";
el.title = alt;
var extension = ami.svg ? ".svg" : ".png";
@ -119,4 +120,5 @@ document.addEventListener("DOMContentLoaded", function () {
$amis.appendChild(el);
});
});
}
});

View File

@ -21,14 +21,14 @@ layout: playground
</div>
<div class="block">
<label class="label" for="name">Name</label>
<label class="label" for="name">Name <em>(required)</em></label>
<div class="form-control">
<input class="input" type="text" name="name" id="name">
</div>
</div>
<div class="block">
<label class="label" for="email">Email</label>
<label class="label" for="email">Email <em>(required)</em></label>
<div class="form-control">
<input class="input" type="email" name="email" id="email">
</div>
@ -43,6 +43,7 @@ layout: playground
<input type="hidden" name="list" value="cLsqDIbNTqfozYoXXXBLrw">
<input type="hidden" name="subform" value="yes">
<input class="button is-primary" type="submit" name="submit" id="submit">
<p class="v1-tsp">No spam. Just a few emails regarding gaining access and providing feedback.</p>