23 lines
466 B
Plaintext
23 lines
466 B
Plaintext
|
package views
|
||
|
|
||
|
import "templ-test/views/components/bootstrap"
|
||
|
|
||
|
templ Home() {
|
||
|
@Testing("Home", true) {
|
||
|
<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)
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
templ List() {
|
||
|
@Testing("Lists", true) {
|
||
|
|
||
|
}
|
||
|
}
|