Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 25 additions & 16 deletions overrides/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@
// Configuration
const NEWSLETTER_CONFIG = window.NEWSLETTER_CONFIG || {
RECAPTCHA_SITE_KEY: "6LdvUdMrAAAAAJksqV0YEwNBEBGL2SB90Gebun5n",
NEWSLETTER_ENDPOINT: "https://5cciazu22tev222enhrbx6w3y40hscvu.lambda-url.us-east-2.on.aws",
NEWSLETTER_ENDPOINT:
"https://5cciazu22tev222enhrbx6w3y40hscvu.lambda-url.us-east-2.on.aws",
FALLBACK_ENDPOINT:
"https://5cciazu22tev222enhrbx6w3y40hscvu.lambda-url.us-east-2.on.aws",
};
Expand Down Expand Up @@ -1062,21 +1063,29 @@
footerData.forEach((section) => {
const column = document.createElement("div");
column.innerHTML = `
<div class="tw-text-white tw-font-medium tw-text-base tw-mb-3">${
section.title
}</div>
<ul class="tw-space-y-2 tw-text-gray-300 tw-text-xs header-list-style">
${section.items
.map(
(item) => `<li class="hover:tw-text-[#7782FF]">
<a href="${item.link}" target="${item.target || ""}">${
item.text
}</a>
</li>`
)
.join("")}
</ul>
`;
<div class="tw-text-white tw-font-medium tw-text-base tw-mb-3">
${section.title}
</div>
<ul class="tw-space-y-2 tw-text-gray-300 tw-text-xs header-list-style">
${section.items
.map((item) => {
const plausibleAttr =
item.text === "Request Demo"
? 'plausible-event-name="Demo+Button"'
: "";
return `
<li class="hover:tw-text-[#7782FF]">
<a href="${item.link}" target="${
item.target || ""
}" ${plausibleAttr}>
${item.text}
</a>
</li>
`;
})
.join("")}
</ul>
`;
container.appendChild(column);
});

Expand Down
2 changes: 1 addition & 1 deletion overrides/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
</nav>
<div class="tw-flex tw-items-center tw-space-x-2">
<a
class="tw-flex tw-capitalize tw-text-nowrap tw-text-center tw-justify-center tw-items-center tw-px-3 md:tw-px-5 tw-py-1.5 tw-text-xs primary-button tw-transition-opacity tw-duration-500 tw-ease-in-out tw-opacity-100 tw-visible tw-pointer-events-auto"
class="tw-flex tw-capitalize tw-text-nowrap tw-text-center tw-justify-center tw-items-center tw-px-3 md:tw-px-5 tw-py-1.5 tw-text-xs primary-button tw-transition-opacity tw-duration-500 tw-ease-in-out tw-opacity-100 tw-visible tw-pointer-events-auto plausible-event-name='Demo+Button'"
href="/demo/"
target="_self"
>
Expand Down