diff --git a/app/src/frontend/layout.tsx b/app/src/frontend/layout.tsx index 042a701..973e9f5 100644 --- a/app/src/frontend/layout.tsx +++ b/app/src/frontend/layout.tsx @@ -1,20 +1,23 @@ -import { FC } from 'hono/jsx'; -import Header from './layout/header'; -import Footer from './layout/footer'; +import { html } from 'hono/html'; -const Layout: FC = (props) => { - return ( +export const Layout = (props: { title: string, children?: any }) => { + return html` - {props.siteData.title} + + + + ${props.title} -
- {props.children} -