Redmage/views/components/body.templ

17 lines
314 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 w-screen" hx-ext="response-targets">
2024-04-09 16:09:08 +07:00
@Navigation(c) {
<div class="flex">
@Navbar(c)
2024-04-29 15:18:23 +07:00
<div class="flex-1">
2024-04-09 16:09:08 +07:00
{ children... }
2024-04-29 15:18:23 +07:00
</div>
2024-04-09 16:09:08 +07:00
</div>
}
</body>
}