From 20422fbb846a21eb99e4a86720e969a3b5f1419b Mon Sep 17 00:00:00 2001 From: "shakespeare.diy" Date: Mon, 15 Jun 2026 19:49:38 +0700 Subject: [PATCH] Add Hello World page at /hello route Co-authored-by: shakespeare.diy --- src/AppRouter.tsx | 2 ++ src/pages/HelloWorld.tsx | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 src/pages/HelloWorld.tsx diff --git a/src/AppRouter.tsx b/src/AppRouter.tsx index 2db53ee..91ee9df 100644 --- a/src/AppRouter.tsx +++ b/src/AppRouter.tsx @@ -1,6 +1,7 @@ import { BrowserRouter, Route, Routes } from "react-router-dom"; import { ScrollToTop } from "./components/ScrollToTop"; +import HelloWorld from "./pages/HelloWorld"; import Index from "./pages/Index"; import { NIP19Page } from "./pages/NIP19Page"; import NotFound from "./pages/NotFound"; @@ -11,6 +12,7 @@ export function AppRouter() { } /> + } /> {/* NIP-19 route for npub1, note1, naddr1, nevent1, nprofile1 */} } /> {/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */} diff --git a/src/pages/HelloWorld.tsx b/src/pages/HelloWorld.tsx new file mode 100644 index 0000000..052b3eb --- /dev/null +++ b/src/pages/HelloWorld.tsx @@ -0,0 +1,7 @@ +export default function HelloWorld() { + return ( +
+

Hello World

+
+ ); +}