import { html } from 'hono/html'; export interface SiteData { title: string; children?: any; } export const Layout = (props: SiteData) => html` ${props.title}
${props.children}
`; export const Content = (props: { siteData: SiteData; name: string; children?: any }) => (

{props.name}

{props.children || (

Welcome to our Hono application. This page was rendered server-side with JSX.

)}
);