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 1m32s
All checks were successful
Build And Deploy / build-and-deploy (push) Successful in 1m32s
before <html> tag)
This commit is contained in:
parent
e80bbb9619
commit
ffdeab097f
1 changed files with 121 additions and 116 deletions
|
|
@ -26,10 +26,15 @@ const phoneValue = pickValue("phone");
|
|||
const msgValue = pickValue("msg");
|
||||
---
|
||||
|
||||
<Layout>
|
||||
<title slot="head">Contact</title>
|
||||
<script>
|
||||
import Cap from "@cap.js/widget";
|
||||
import "iconify-icon";
|
||||
|
||||
</script>
|
||||
<script is:inline>
|
||||
import Cap from "@cap.js/widget";
|
||||
import "iconify-icon";
|
||||
const captchaInput = document.querySelector("input[id='captcha']");
|
||||
const captchaStatus = document.querySelector("#captchaStatus");
|
||||
const statusText = captchaStatus?.querySelector("#statusText");
|
||||
|
|
@ -77,6 +82,7 @@ const msgValue = pickValue("msg");
|
|||
captchaInput.value = token;
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
form {
|
||||
display: grid;
|
||||
|
|
@ -142,8 +148,7 @@ const msgValue = pickValue("msg");
|
|||
}
|
||||
}
|
||||
</style>
|
||||
<Layout>
|
||||
<title slot="head">Contact</title>
|
||||
|
||||
<Fragment slot="content">
|
||||
<h2>Contact</h2>
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue