From a7d0a6c409850b3603abb162fa6fd22d2dfd0177 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Wed, 20 May 2026 17:29:28 +0200 Subject: frontend: add comptime bundler --- src/frontend/web/hello-world/index.css | 7 +++++++ src/frontend/web/hello-world/index.html | 3 +++ src/frontend/web/hello-world/index.js | 3 +++ src/frontend/web/index.css | 4 ++++ src/frontend/web/index.html | 1 + 5 files changed, 18 insertions(+) create mode 100644 src/frontend/web/hello-world/index.css create mode 100644 src/frontend/web/hello-world/index.html create mode 100644 src/frontend/web/hello-world/index.js create mode 100644 src/frontend/web/index.css create mode 100644 src/frontend/web/index.html (limited to 'src/frontend/web') 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 @@ +
+ Click Me! +
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'); +} diff --git a/src/frontend/web/index.css b/src/frontend/web/index.css new file mode 100644 index 0000000..a93ea47 --- /dev/null +++ b/src/frontend/web/index.css @@ -0,0 +1,4 @@ +body { + padding: 0; + margin: 0; +} diff --git a/src/frontend/web/index.html b/src/frontend/web/index.html new file mode 100644 index 0000000..885f2c5 --- /dev/null +++ b/src/frontend/web/index.html @@ -0,0 +1 @@ + -- cgit v1.2.3-70-g09d2