package layout
import "github.com/onsonr/nebula/ui/head"
templ Container() {
}
// Columns is a component that renders a responsive flex container that stacks on mobile
templ Columns() {
{ children... }
}
// Rows is a component that renders a responsive flex container that wraps on mobile
templ Rows() {
{ children... }
}
templ Separator(text string) {
}
// Layout is a component that renders the general layout of the application
templ Root(title string) {
@head.Root(title, "0.0.11")
{ children... }
}
func Clsx(attrs ...templ.Attributes) templ.Attributes {
merged := templ.Attributes{}
for _, attr := range attrs {
for k, v := range attr {
merged[k] = v
}
}
return merged
}