Redmage/views/components/body.templ

17 lines
362 B
Plaintext
Raw Permalink 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 max-w-full" hx-boost="true" hx-ext="response-targets">
2024-04-09 16:09:08 +07:00
@Navigation(c) {
<div class="flex">
@Navbar(c)
<div id="root-content" class="flex-grow">
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>
}