feat: add crisp, hubspot, and overlay video (#5)

Reviewed-on: https://codeberg.org/nhcarrigan/boost-monitor/pulls/5
Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com>
Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
This commit is contained in:
Naomi Carrigan 2024-11-29 04:59:47 +00:00 committed by Naomi the Technomancer
parent b92393c55f
commit 35d5a52bc4

View File

@ -25,6 +25,7 @@ export const instantiateServer = async (bot: Client) => {
});
server.get("/", (_req, res) => {
res.header("Content-Type", "text/html");
res.send(`
<!DOCTYPE html>
<html>
@ -126,6 +127,22 @@ export const instantiateServer = async (bot: Client) => {
}).render("#tree-nation-offset-website");
</script>
</footer>
<video
autoplay="true"
loop="true"
muted="true"
playsinline="true"
src="https://cdn.nhcarrigan.com/overlay.webm"
style="pointer-events: none; position: fixed; top: 0; left: 0; opacity: 0.25;">
</video>
<script
async="true"
defer="true"
id="hs-script-loader"
src="//js.hs-scripts.com/47086586.js"
type="text/javascript">
</script>
<script type="text/javascript">window.$crisp=[];window.CRISP_WEBSITE_ID="5398ce41-4ceb-4e31-9049-4c784a70179a";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();</script>
</body>
</html>`);
});