From 420a543f8af3075502b0a7530a0fa06af264eb8b Mon Sep 17 00:00:00 2001 From: polwex Date: Tue, 18 Nov 2025 16:59:24 +0700 Subject: refactoring gui too, improvements to Nostr user logic --- gui/src/pages/Error.tsx | 60 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 gui/src/pages/Error.tsx (limited to 'gui/src/pages/Error.tsx') diff --git a/gui/src/pages/Error.tsx b/gui/src/pages/Error.tsx new file mode 100644 index 0000000..c29e6a6 --- /dev/null +++ b/gui/src/pages/Error.tsx @@ -0,0 +1,60 @@ +import "@/styles/ErrorPage.css"; +import Icon from "@/components/Icon"; +import { Link } from "wouter"; +export function P404() { + return ( +
+
+
+ +
+

404

+

Page Not Found

+

+ The page you're looking for doesn't exist or has been moved. +

+
+ + + + + + +
+
+
+ ); +} + +export function ErrorPage({ msg }: { msg: string }) { + return ( +
+ +

{msg}

+
+
+
+ +
+

Oops!

+

Something went wrong

+

{msg}

+
+ + + +
+
+
+
+ ); +} -- cgit v1.2.3