Redmage/views/components/body.templ

17 lines
307 B
Plaintext
Raw Normal View History

2024-04-09 16:09:08 +07:00
package components
import "github.com/tigorlazuardi/redmage/views"
templ Body(c *views.Context) {
<body class="bg-base-100 min-h-screen" hx-ext="response-targets">
@Navigation(c) {
<div class="flex">
@Navbar(c)
<main class="flex-1">
{ children... }
</main>
</div>
}
</body>
}