seperator forms.html into templates and improve page styling

This commit is contained in:
Patryk Hegenberg 2023-11-29 13:53:29 +01:00
parent a0738a7665
commit 24c11cbd50
7 changed files with 407 additions and 181 deletions

15
templates/header.html Normal file
View file

@ -0,0 +1,15 @@
{{ define "header" }}
<header>
<div id="banner" class="bg-gray-800 p-8 text-white">
<!-- Hier könntest du ein Dungeons-and-Dragons-Banner einfügen -->
<img src="/images/images/banner.jpg" alt="Dungeons-and-Dragons-Banner">
<a href="https://dnd.wizards.com/resources/press-assets">image credits</a>
<h1 class="text-4xl font-bold">Dungeons and Dragons</h1>
</div>
<nav class="navbar bg-base-100">
<a href="#" class="btn btn-ghost text-xl">Dungeons & Dragons</a>
<a href="#" class="btn btn-ghost text-xl">About</a>
<a href="#" class="btn btn-ghost text-xl">Contact</a>
</nav>
</header>
{{ end }}