go-cook-portal/views/home/home.templ

18 lines
509 B
Plaintext
Raw Normal View History

package home
2024-04-09 07:29:45 -07:00
import "templ-test/views/components/bootstrap"
import "templ-test/views/layout"
2024-04-09 07:29:45 -07:00
templ Home() {
@layout.WithLayout("Home") {
2024-04-09 07:29:45 -07:00
<p>
this should be above the alert
</p>
@bootstrap.BootstrapAlert("Testing!", bootstrap.VariantDark)
<p>you should now see this under the Alert </p>
@bootstrap.BootstrapButton("I am in danger", bootstrap.VariantDanger, bootstrap.ButtonTypeDefault)
@bootstrap.BootstrapButton("I am the darkness", bootstrap.VariantDark, bootstrap.ButtonTypeDefault)
2024-04-09 07:29:45 -07:00
}
}