aboutsummaryrefslogtreecommitdiff
path: root/src/web/component/image/root.zig
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-05-28 18:37:11 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2026-05-28 18:37:11 +0200
commit35fb9361b2113f4ebc7179b9421f5f3b8a98a6c7 (patch)
treed0edf41dce305830c7e776de5e120a543fb1d1c2 /src/web/component/image/root.zig
parent567c1fa209b0820444e2ad2c6234af5e4e203a8f (diff)
add timeline
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"),
+};