diff options
Diffstat (limited to 'view/main.templ')
-rw-r--r-- | view/main.templ | 15 |
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>
+}
|