2024-04-13 11:50:05 -07:00
|
|
|
package home
|
2024-04-09 07:29:45 -07:00
|
|
|
|
|
|
|
import "templ-test/views/components/bootstrap"
|
2024-04-13 11:50:05 -07:00
|
|
|
import "templ-test/views/layout"
|
2024-04-09 07:29:45 -07:00
|
|
|
|
|
|
|
templ Home() {
|
2024-04-13 11:50:05 -07:00
|
|
|
@layout.WithLayout("Home", true) {
|
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.BootstrapButton("I am the darkness", bootstrap.VariantDark)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|