summaryrefslogtreecommitdiff
path: root/components/index.html
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-03-29 11:12:53 +0300
committerGrail Finder <wohilas@gmail.com>2025-03-29 11:12:53 +0300
commit3921db6166e2da895257496bb76dd115556699d3 (patch)
tree1be4f739121761085f69cb7706c60dbbe98a93e9 /components/index.html
init
Diffstat (limited to 'components/index.html')
-rw-r--r--components/index.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/components/index.html b/components/index.html
new file mode 100644
index 0000000..4562550
--- /dev/null
+++ b/components/index.html
@@ -0,0 +1,28 @@
+{{define "main"}}
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Action Points Journal</title>
+ <meta charset="utf-8" name="viewport" content="width=device-width,initial-scale=1"/>
+ <link rel="stylesheet" type="text/css" href="/assets/style.css" />
+ <link rel="icon" sizes="64x64" href="/assets/favicon/wolfhead_negated.ico" />
+ <script src="https://unpkg.com/htmx.org@1.9.11" integrity="sha384-0gxUXCCR8yv9FM2b+U3FDbsKthCI66oH5IA9fHppQq9DDMHuMauqq1ZHBpJxQ0J0" crossorigin="anonymous"></script>
+ </head>
+ <body>
+ <div id="ancestor">
+ {{ if not .Username }}
+ <div>
+ {{ template "auth" }}
+ </div>
+ {{ else }}
+ <div>
+ hello user
+ </div>
+ <div>
+ some button
+ </div>
+ {{ end }}
+ </div>
+ </body>
+</html>
+{{end}}