aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/image/root.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/components/image/root.zig')
-rw-r--r--src/app/components/image/root.zig8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app/components/image/root.zig b/src/app/components/image/root.zig
new file mode 100644
index 0000000..971713d
--- /dev/null
+++ b/src/app/components/image/root.zig
@@ -0,0 +1,8 @@
+const zilch = @import("zilch");
+
+pub const component: zilch.Component = .{
+ .name = "image",
+ .html = .parse(@embedFile("index.html")),
+ .css = @embedFile("index.css"),
+ .link = @This(),
+};