diff options
| author | ilotterytea <iltsu@alright.party> | 2024-05-18 17:36:23 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-05-18 17:36:23 +0500 |
| commit | 372e7704a59f51877c132cfaf3d47c98f8516c56 (patch) | |
| tree | 6689a5cc8ed47a9c413660d8a0873bc8fef7dd05 /templates | |
| parent | 85b02485556142a04d902195f895420f306f9781 (diff) | |
feat: navbar
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/header.html | 8 | ||||
| -rw-r--r-- | templates/index.html | 7 |
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> |
