There was an error while loading. Please reload this page.
1 parent 688e404 commit f74e97cCopy full SHA for f74e97c
1 file changed
src/pages/index.astro
@@ -67,7 +67,7 @@ const twitter = socials.find((s) => s.handle);
67
</main>
68
<Footer />
69
70
- <script define:vars={{ ctaIds: event.ctas.filter((cta) => cta.floating).map((cta) => cta.id) }}>
+ <script is:inline define:vars={{ ctaIds: event.ctas.filter((cta) => cta.floating).map((cta) => cta.id) }}>
71
// each floating cta appears once its hero counterpart scrolls out of view
72
function bindFloatingCta(heroId, floatingId) {
73
const hero = document.getElementById(heroId);
0 commit comments