Styled with tailwind css

This commit is contained in:
2024-04-01 14:22:59 +02:00
parent 959e1e96b3
commit a730e11b4a
17 changed files with 1131 additions and 109 deletions

View File

@ -1,13 +1,15 @@
{{define "page-content"}}
<div>
<div class="flex flex-col gap-4">
{{range .}}
<div>
<h1>{{.Title}}</h1>
<div class="border px-2 py-1 rounded-md">
<h1 class="font-bold text-2xl">{{.Title}}</h1>
<p>{{.Description}}</p>
</div>
{{end}}
</div>
<button hx-get="/publish-issue/" hx-target="#page-content">Ausgabe publizieren</button>
<button hx-get="/hub/" hx-target="#page-content">Abbrechen</button>
<div class="btn-area">
<button class="action-btn" hx-get="/publish-issue/" hx-target="#page-content">Ausgabe publizieren</button>
<button class="btn" hx-get="/hub/" hx-target="#page-content">Abbrechen</button>
</div>
{{end}}