Implemented hub

This commit is contained in:
2024-02-24 15:31:33 +01:00
parent 49988edd82
commit 8f5739fb68
4 changed files with 38 additions and 13 deletions

6
web/templates/hub.html Normal file
View File

@ -0,0 +1,6 @@
{{define "page-content"}}
<h2>Hub</h2>
<button hx-post="/write-article/" hx-target="#page-content">Artikel schreiben</button>
<button hx-post="/rss/" hx-target="#page-content">RSS Feed</button>
<button hx-post="/create-user/" hx-target="#page-content">Benutzer hinzufügen</button>
{{end}}