Initial commit

This commit is contained in:
mathias
2026-05-27 21:55:18 +00:00
commit d1193a57c6
23 changed files with 730 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package web
templ Index() {
@Layout("hostexecutor") {
<h1 class="text-3xl font-semibold mb-6">hostexecutor</h1>
<button hx-get="/api/hello" hx-target="#out"
class="px-4 py-2 bg-slate-900 text-white rounded-md hover:bg-slate-700">
Say hello
</button>
<div id="out" class="mt-6 text-slate-700"></div>
}
}
templ Hello(name string) {
<p>Hello, { name }!</p>
}