diff --git a/apps/docs/src/components/Layout.tsx b/apps/docs/src/components/Layout.tsx index 899295c..df43e67 100644 --- a/apps/docs/src/components/Layout.tsx +++ b/apps/docs/src/components/Layout.tsx @@ -23,9 +23,7 @@ export const Layout: FC = ({ title, children, client }) => { name="viewport" content="width=device-width, initial-scale=1.0" /> - {client.map((tags) => { - return tags; - })} + {client.map((tags) => tags)} = ({ title, children, client }) => {
diff --git a/apps/docs/src/components/Nav.tsx b/apps/docs/src/components/Nav.tsx index de226f5..da8c8e4 100644 --- a/apps/docs/src/components/Nav.tsx +++ b/apps/docs/src/components/Nav.tsx @@ -1,4 +1,4 @@ -import { BookSvg, EarthSvg, FuncSvg, PlugSvg } from "./svg"; +import { BookSvg, EarthSvg, FuncSvg, HomeSvg, PlugSvg, XSvg } from "./svg"; import type { FC } from "hono/jsx"; export const Nav: FC = () => { @@ -17,11 +17,16 @@ type NavLinkProps = { const SideBar: FC = () => { return ( -