feat: add video overlay, hubspot, crisp (#10)

Reviewed-on: https://codeberg.org/nhcarrigan/a4p-bot/pulls/10
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-28 22:50:10 +00:00 committed by Naomi the Technomancer
parent 4e41b58443
commit f43c8649d7

View File

@ -20,6 +20,7 @@ export const serve = async (bot: ExtendedClient) => {
app.use(express.json()); app.use(express.json());
app.get("/", (_req, res) => { app.get("/", (_req, res) => {
res.header("Content-Type", "text/html");
res.status(200).send(` res.status(200).send(`
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
@ -122,6 +123,22 @@ export const serve = async (bot: ExtendedClient) => {
</script> </script>
</footer> </footer>
</body> </body>
<video
autoplay="true"
loop="true"
muted="true"
playsinline="true"
src="https://cdn.nhcarrigan.com/overlay.webm"
style="pointerEvents: 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>
</html>`); </html>`);
}); });