Fix script and style tags being outside the fragment (and thus rendering
All checks were successful
Build And Deploy / build-and-deploy (push) Successful in 3m33s

before <html> tag)
This commit is contained in:
badblocks 2026-02-27 09:23:18 -08:00
parent e80bbb9619
commit e847fc254f
No known key found for this signature in database

View file

@ -26,7 +26,9 @@ const phoneValue = pickValue("phone");
const msgValue = pickValue("msg");
---
<script>
<Layout>
<title slot="head">Contact</title>
<script>
import Cap from "@cap.js/widget";
import "iconify-icon";
@ -76,8 +78,9 @@ const msgValue = pickValue("msg");
const { token } = await cap.solve();
captchaInput.value = token;
}
</script>
<style>
</script>
<style>
form {
display: grid;
row-gap: var(--stack-large);
@ -141,9 +144,8 @@ const msgValue = pickValue("msg");
transform: rotate(360deg);
}
}
</style>
<Layout>
<title slot="head">Contact</title>
</style>
<Fragment slot="content">
<h2>Contact</h2>
{