2024-05-08 10:10:23 +07:00
|
|
|
package components
|
|
|
|
|
|
|
|
import "github.com/tigorlazuardi/redmage/views"
|
|
|
|
|
2024-05-08 19:32:14 +07:00
|
|
|
templ PageError(c *views.Context, text string) {
|
2024-05-08 10:10:23 +07:00
|
|
|
@Doctype() {
|
|
|
|
@Head(c, HeadTitle(text))
|
|
|
|
@Body(c) {
|
|
|
|
<h1>{ text }</h1>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|