summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/header.html8
-rw-r--r--templates/index.html7
2 files changed, 14 insertions, 1 deletions
diff --git a/templates/header.html b/templates/header.html
new file mode 100644
index 0000000..6e439da
--- /dev/null
+++ b/templates/header.html
@@ -0,0 +1,8 @@
+<div class="w-full py-2 space-x-4 flex flex-row items-center">
+ <a href="/">
+ <img src="static/img/logo.png" alt="BOT" width="64">
+ </a>
+
+ <a href="/">home</a>
+ <a href="/wiki">wiki</a>
+</div>
diff --git a/templates/index.html b/templates/index.html
index 8fb123f..78683ef 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -4,6 +4,11 @@
<link rel="stylesheet" type="text/css" href="/static/style.css">
</head>
<body>
- <h1>hi</h1>
+ <div class="min-h-screen w-full flex justify-center">
+ <div class="w-1/2 flex items-center flex-col">
+ {{> header.html }}
+ <p>lol</p>
+ </div>
+ </div>
</body>
</html>