diff options
| author | Leonardo Bishop <me@leonardobishop.net> | 2025-07-13 21:23:34 +0100 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.net> | 2025-07-13 21:23:34 +0100 |
| commit | 684787bcb72aece2aa914597a3bc8788432e66f7 (patch) | |
| tree | a55fdcfc6f7f4d2f7ae86ba0a94e8d366f5c5cda /web/command/html/error.go | |
| parent | cdb75d3fcbc9339b897f8c6ff4d69a577f017393 (diff) | |
Add flags
Diffstat (limited to 'web/command/html/error.go')
| -rw-r--r-- | web/command/html/error.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/web/command/html/error.go b/web/command/html/error.go new file mode 100644 index 0000000..b39cc19 --- /dev/null +++ b/web/command/html/error.go @@ -0,0 +1,13 @@ +package html + +import ( + . "maragu.dev/gomponents" +) + +func ErrorPage(err string) Node { + return page("Error", + alertError(err), + + navButton("Home", "/"), + ) +} |
