summaryrefslogtreecommitdiff
path: root/src/chef/utils.clj
diff options
context:
space:
mode:
authorTim <contact@bytim.eu>2025-05-11 12:12:50 +0200
committerTim <contact@bytim.eu>2025-05-11 12:12:50 +0200
commit06ecbc8c6d52f3e832683e68a52461c5f7c6cb84 (patch)
tree25f4a4f6881549ca1d6fdd1da0a4b8ff2965e9e0 /src/chef/utils.clj
parent77594fd2b62e4ea3e6a55fed2dabcce50e618bd3 (diff)
downloadchef-06ecbc8c6d52f3e832683e68a52461c5f7c6cb84.tar.xz
chef-06ecbc8c6d52f3e832683e68a52461c5f7c6cb84.zip
Add basic home page; TODO: use real data for home page
Diffstat (limited to 'src/chef/utils.clj')
-rw-r--r--src/chef/utils.clj4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/chef/utils.clj b/src/chef/utils.clj
index a721617..3170be9 100644
--- a/src/chef/utils.clj
+++ b/src/chef/utils.clj
@@ -5,7 +5,9 @@
[:html
[:head
[:meta {:name "viewport" :content "width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"}]
- [:title title]]
+ [:title title]
+ [:link {:rel :stylesheet :href "/static/style.css"}]
+ [:meta {:http-equiv "content-type" :content "text/html; charset=utf-8"}]]
(apply conj [:body] content [[:script {:src "/static/htmx.js"}]])])
(defmacro auth-only [request & body]