generated from nhcarrigan/template
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:
parent
b92393c55f
commit
35d5a52bc4
@ -25,6 +25,7 @@ export const instantiateServer = async (bot: Client) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
server.get("/", (_req, res) => {
|
server.get("/", (_req, res) => {
|
||||||
|
res.header("Content-Type", "text/html");
|
||||||
res.send(`
|
res.send(`
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
@ -126,6 +127,22 @@ export const instantiateServer = async (bot: Client) => {
|
|||||||
}).render("#tree-nation-offset-website");
|
}).render("#tree-nation-offset-website");
|
||||||
</script>
|
</script>
|
||||||
</footer>
|
</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>
|
</body>
|
||||||
</html>`);
|
</html>`);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user