aboutsummaryrefslogtreecommitdiff
path: root/src/web/component/image/root.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/component/image/root.zig')
-rw-r--r--src/web/component/image/root.zig8
1 files changed, 8 insertions, 0 deletions
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"),
+};