diff --git a/routes/_app.tsx b/routes/_app.tsx
index a186394..d83c539 100644
--- a/routes/_app.tsx
+++ b/routes/_app.tsx
@@ -5,10 +5,10 @@ export default function App({ Component }: PageProps) {
- bank
+ Bank
-
+
diff --git a/routes/index.tsx b/routes/index.tsx
index 3fedaf0..67be0d7 100644
--- a/routes/index.tsx
+++ b/routes/index.tsx
@@ -1,25 +1,46 @@
-import { useSignal } from '@preact/signals'
-import Counter from '../islands/Counter.tsx'
+import { VNode } from 'https://esm.sh/v128/preact@10.19.6/src/index.js'
+import { JSX } from 'preact'
+
+interface Budget {
+ name: string
+ target: number
+ buffer?: number
+}
+
+interface IconButtonProps {
+ text: string
+ icon: string
+}
+
+function IconButton(
+ { icon, text, ...props }:
+ & IconButtonProps
+ & JSX.HTMLAttributes,
+) {
+ return (
+
+ {icon}
+ {text}
+
+ )
+}
export default function Home() {
- const count = useSignal(3)
return (
-
-
-
-
Welcome to Fresh
-
- Try updating this message in the
- ./routes/index.tsx
file, and refresh.
-
-
-
+
+
+ This is the main content
+
+
+
)
}