This directory contains the React frontend for the Notion webhook integration application.
IMPORTANT: All React files must:
/** @jsxImportSource https://esm.sh/react@18.2.0 */ at the top?deps=react@18.2.0Uses Pico CSS (minimal CSS framework loaded from CDN in index.html). Pico automatically styles semantic HTML elements without requiring CSS classes, keeping markup clean and maintainable. We use it in classless mode with custom padding styles for proper spacing.
/api/* endpoints../shared/types.tsThe error catching script is included in index.html to capture client-side errors for better debugging.
Since this is a Val Town project, the frontend is served through Hono routes defined in main.http.tsx.