Added firework ai and improved some logo

This commit is contained in:
2024-06-16 11:40:35 +02:00
parent 1125f86331
commit c7ca2bc4a0
15 changed files with 234 additions and 10 deletions
+15 -2
View File
@@ -23,13 +23,26 @@
<script src="https://unpkg.com/@highlightjs/cdn-assets@11.9.0/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script src="wasm_exec.js"></script>
<script>
const go = new Go();
WebAssembly.instantiateStreaming(fetch("main-v1.wasm"), go.importObject).then((result) => {
go.run(result.instance);
});
</script>
</head>
<body hx-ext="sse" sse-connect="/sse">
<body>
{{embed}}
{{ embed }}
<script>
// run printHello(); every 5 seconds
setInterval(function () {
printHello();
}, 5000);
function generateMessagePlaceholder(content) {
marked.setOptions({
highlight: function (code, lang) {