aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/image
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-10-12 09:43:19 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2026-10-12 09:43:19 +0200
commit0b2af471b6d5dfc4eaf53639102c1b854bbb324b (patch)
treeaba3943b8c54d26d8552d0685d4178bc995d91c3 /src/app/components/image
parent812f547d84b5ce1a2924ae16f6257e4fd19efcc0 (diff)
first version of zilch
Diffstat (limited to 'src/app/components/image')
-rw-r--r--src/app/components/image/index.css0
-rw-r--r--src/app/components/image/index.html0
-rw-r--r--src/app/components/image/root.zig8
3 files changed, 8 insertions, 0 deletions
diff --git a/src/app/components/image/index.css b/src/app/components/image/index.css
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/app/components/image/index.css
diff --git a/src/app/components/image/index.html b/src/app/components/image/index.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/app/components/image/index.html
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(),
+};