diff options
| -rw-r--r-- | static/img/logo.png | bin | 0 -> 14534 bytes | |||
| -rw-r--r-- | templates/header.html | 8 | ||||
| -rw-r--r-- | templates/index.html | 7 |
3 files changed, 14 insertions, 1 deletions
diff --git a/static/img/logo.png b/static/img/logo.png Binary files differnew file mode 100644 index 0000000..6215477 --- /dev/null +++ b/static/img/logo.png 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> |
