Implemented hub

This commit is contained in:
2024-02-24 15:31:33 +01:00
parent 6f02852212
commit 8dae3ca21e
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}}