summaryrefslogtreecommitdiff
path: root/view/main.templ
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-08 23:23:23 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-08 23:23:23 +0200
commitc60dd3357fc84e14795f5f864e9fa9ce7150179f (patch)
treee642f70b89674b0f4ef88986a98001f8be8e24db /view/main.templ
parent01e96380a4e48b5d338c71fad690382124195b17 (diff)
Some work
Diffstat (limited to 'view/main.templ')
-rw-r--r--view/main.templ15
1 files changed, 15 insertions, 0 deletions
diff --git a/view/main.templ b/view/main.templ
new file mode 100644
index 0000000..1a4bf95
--- /dev/null
+++ b/view/main.templ
@@ -0,0 +1,15 @@
+package view
+
+templ Main(contents templ.Component) {
+ <!DOCTYPE html>
+ <html>
+ <head>
+ <title>Cool timer app</title>
+ <link rel="stylesheet" href="/static/style.css" />
+ <script src="/static/htmx.min.js"></script>
+ </head>
+ <body hx-boost="true">
+ @contents
+ </body>
+ </html>
+}