Files
sonr/app/gateway/views/view_errors.templ
T

15 lines
292 B
Templ
Raw Normal View History

2024-12-22 17:01:11 -05:00
package views
templ ErrorView(err string) {
@LayoutView("Error | Sonr.ID") {
@LayoutContainer() {
@HeroTitle("Uh oh!", "Something went wrong.")
<div class="pt-3 flex flex-col items-center justify-center h-full">
<p class="text-red-500">
{ err }
</p>
</div>
}
}
}