More work on marketing pages

This commit is contained in:
Matthew Holt 2023-12-05 20:55:44 -07:00 committed by Francis Lavoie
parent 12564261f4
commit f44e6af8ad
No known key found for this signature in database
GPG key ID: 0F66EE1687682239
16 changed files with 479 additions and 145 deletions

View file

@ -13,6 +13,9 @@ const resp = fetch("/resources/testimonials.json").then(async resp => {
} else {
$_('.testimonial-name', tpl).innerText = testimonial.name || "";
}
if (testimonial.link) {
$_('.testimonial-name', tpl).href = testimonial.link;
}
$_('.testimonial-role', tpl).innerText = testimonial.role || "";
if (testimonial.org) {
$_('.testimonial-role', tpl).appendChild(document.createElement("br"));