import { useSignal } from "@preact/signals"; import { define } from "../utils.ts"; import Counter from "../islands/Counter.tsx"; export default define.page(function Home(ctx) { const count = useSignal(3); ctx.state.title = count.value + " Fresh Counter" + (Math.abs(count.value) === 1 ? "" : "s"); return (
the Fresh logo: a sliced lemon dripping with juice

Welcome to Fresh

Try updating this message in the ./routes/index.tsx file, and refresh.

); });