DEVELOPMENT ENVIRONMENT

~liljamo/emerwen-web

ref: 14e0729381328bc2af9840dce46025c829b2aa2c emerwen-web/internal/components/index.templ -rw-r--r-- 227 bytes
14e07293Jonni Liljamo fix(components): better base layout 15 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
package components

templ Index() {
	@Base("emerwen, counting sheep") {
		<div class="flex flex-col gap-2">
			if loggedIn(ctx) {
				<div hx-get="/partials/workers" hx-trigger="load" hx-target="this"></div>
			}
		</div>
	}
}