500 internal error: {(error as Error).message}
; +export default function Error500Page(_props: ErrorPageProps) { + return500 internal error
; } diff --git a/routes/index.tsx b/routes/index.tsx index 4b8ee1a..f6de535 100644 --- a/routes/index.tsx +++ b/routes/index.tsx @@ -1,18 +1,15 @@ import Counter from "../islands/Counter.tsx"; +import { Page } from "../components/Page.tsx"; export default function Home() { return ( -- Welcome to `fresh`. Try updating this message in the ./routes/index.tsx - file, and refresh. -
Yo!
+Create a note:
+{JSON.stringify(data, null, 2)}diff --git a/routes/register.tsx b/routes/register.tsx new file mode 100644 index 0000000..5dea34f --- /dev/null +++ b/routes/register.tsx @@ -0,0 +1,11 @@ +export default function Register() { + return ( + + ); +}