goipam/web/templates/formatting.templ

14 lines
251 B
Plaintext

package templates
// columns takes components and arranges them in columns
templ columns(columns ...templ.Component) {
<div class="columns is-centered">
for _, column := range columns {
<div class="column">
@column
</div>
}
</div>
}