diff options
Diffstat (limited to 'components/index.html')
-rw-r--r-- | components/index.html | 28 |
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}} |