summaryrefslogtreecommitdiff
path: root/crates/client/index.html
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-02-16 22:55:43 -0500
committerLLLL Colonq <llll@colonq>2025-02-16 22:55:43 -0500
commit4d0a8140130ebd0f46744b86eeb2a708657a942e (patch)
tree6b1a11e07173c769d0f3522c2f6088409b69332d /crates/client/index.html
parent33d69b282e082acce3c5d36cc08cd99a7ccf738d (diff)
Switch to workspace
Diffstat (limited to 'crates/client/index.html')
-rw-r--r--crates/client/index.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/crates/client/index.html b/crates/client/index.html
new file mode 100644
index 0000000..6b8e843
--- /dev/null
+++ b/crates/client/index.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
+ <head>
+ <meta charset="UTF-8">
+ <link data-trunk rel="copy-file" href="src/helpers.js" />
+ <script type="module" src="helpers.js"></script>
+ <link data-trunk rel="rust" data-wasm-opt="2" data-target-name="newton_lib" />
+ <!-- <link data-trunk rel="rust" data-keep-debug="true" /> -->
+ <base data-trunk-public-url />
+ <meta name="theme-color" media="(prefers-color-scheme: light)" content="white">
+ <meta name="theme-color" media="(prefers-color-scheme: dark)" content="#404040">
+ <link rel="icon" href="data:;base64,iVBORw0KGgo=">
+ <link data-trunk rel="css" href="src/index.css" />
+ <title>World of L: Online</title>
+ </head>
+ <body>
+ <script>
+ addEventListener("TrunkApplicationStarted", async (event) => {
+ console.log("initialized, starting...");
+ window.wasmBindings.main_js();
+ });
+ </script>
+ <div id="teleia-parent"></div>
+ </body>
+</html>