From 684787bcb72aece2aa914597a3bc8788432e66f7 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Sun, 13 Jul 2025 21:23:34 +0100 Subject: Add flags --- web/command/html/error.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 web/command/html/error.go (limited to 'web/command/html/error.go') 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", "/"), + ) +} -- cgit v1.2.3-70-g09d2