aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/image
diff options
context:
space:
mode:
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(),
+};