Fix: add is:inline to support-us script so onclick handlers can reach functions

Astro wraps <script> tags as ES modules; inline onclick="fn()" only reaches
window globals. is:inline emits the script verbatim so all functions are global.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Calum Muir 2026-05-25 12:40:50 +02:00
parent a9d72fcde2
commit 51fb8c1553

View file

@ -780,7 +780,7 @@ const faqs = [
<SiteFooter fullBleedOnMobile /> <SiteFooter fullBleedOnMobile />
</div> </div>
<script> <script is:inline>
// ── Nav scroll ──────────────────────────────────────────── // ── Nav scroll ────────────────────────────────────────────
const nav = document.getElementById("site-nav"); const nav = document.getElementById("site-nav");
if (nav) { if (nav) {