aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/web/hello-world
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-05-20 17:29:28 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2026-05-20 17:29:28 +0200
commita7d0a6c409850b3603abb162fa6fd22d2dfd0177 (patch)
tree6ea221fb7b1d314409b897b818a33e7fccd51626 /src/frontend/web/hello-world
parent755c794883467609e425207f6a543d2e8c6d6b46 (diff)
frontend: add comptime bundler
Diffstat (limited to 'src/frontend/web/hello-world')
-rw-r--r--src/frontend/web/hello-world/index.css7
-rw-r--r--src/frontend/web/hello-world/index.html3
-rw-r--r--src/frontend/web/hello-world/index.js3
3 files changed, 13 insertions, 0 deletions
diff --git a/src/frontend/web/hello-world/index.css b/src/frontend/web/hello-world/index.css
new file mode 100644
index 0000000..41b0b29
--- /dev/null
+++ b/src/frontend/web/hello-world/index.css
@@ -0,0 +1,7 @@
+#container {
+ background: #efefef;
+ padding: 10px;
+ border-radius: 4px;
+ user-select: none;
+ cursor: pointer;
+}
diff --git a/src/frontend/web/hello-world/index.html b/src/frontend/web/hello-world/index.html
new file mode 100644
index 0000000..a9b0be7
--- /dev/null
+++ b/src/frontend/web/hello-world/index.html
@@ -0,0 +1,3 @@
+<div id="container" onclick="clicked()">
+ Click Me!
+</div>
diff --git a/src/frontend/web/hello-world/index.js b/src/frontend/web/hello-world/index.js
new file mode 100644
index 0000000..8e55c52
--- /dev/null
+++ b/src/frontend/web/hello-world/index.js
@@ -0,0 +1,3 @@
+function clicked() {
+ console.log('clicked');
+}