aboutsummaryrefslogtreecommitdiff
path: root/src/web/component/image
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/component/image')
-rw-r--r--src/web/component/image/index.css0
-rw-r--r--src/web/component/image/index.html2
-rw-r--r--src/web/component/image/index.js1
-rw-r--r--src/web/component/image/root.zig8
4 files changed, 11 insertions, 0 deletions
diff --git a/src/web/component/image/index.css b/src/web/component/image/index.css
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/web/component/image/index.css
diff --git a/src/web/component/image/index.html b/src/web/component/image/index.html
new file mode 100644
index 0000000..918c5df
--- /dev/null
+++ b/src/web/component/image/index.html
@@ -0,0 +1,2 @@
+<div id="image">
+</div>
diff --git a/src/web/component/image/index.js b/src/web/component/image/index.js
new file mode 100644
index 0000000..d88023d
--- /dev/null
+++ b/src/web/component/image/index.js
@@ -0,0 +1 @@
+console.log(Z.by_selector('div'));
diff --git a/src/web/component/image/root.zig b/src/web/component/image/root.zig
new file mode 100644
index 0000000..7c8ec77
--- /dev/null
+++ b/src/web/component/image/root.zig
@@ -0,0 +1,8 @@
+const z = @import("z");
+
+pub const component: z.Component = .{
+ .name = .image,
+ .body = @embedFile("index.html"),
+ .style = @embedFile("index.css"),
+ .script = @embedFile("index.js"),
+};