From 0b2af471b6d5dfc4eaf53639102c1b854bbb324b Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Mon, 12 Oct 2026 09:43:19 +0200 Subject: first version of zilch --- src/app/components/image/index.css | 0 src/app/components/image/index.html | 0 src/app/components/image/root.zig | 8 ++++++++ 3 files changed, 8 insertions(+) create mode 100644 src/app/components/image/index.css create mode 100644 src/app/components/image/index.html create mode 100644 src/app/components/image/root.zig (limited to 'src/app/components/image') diff --git a/src/app/components/image/index.css b/src/app/components/image/index.css new file mode 100644 index 0000000..e69de29 diff --git a/src/app/components/image/index.html b/src/app/components/image/index.html new file mode 100644 index 0000000..e69de29 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(), +}; -- cgit v1.2.3-70-g09d2