We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf8ef80 commit 5351de1Copy full SHA for 5351de1
website/server.jsx
@@ -0,0 +1,17 @@
1
+// @ts-check
2
+
3
+import { Hono } from "hono";
4
+import Layout from "./layouts/Layout.jsx";
5
6
+const app = new Hono();
7
8
+/**
9
+ * Handles GET requests for the root route "/"
10
+ * @param {import("hono").Context} c - The Hono context object
11
+ * @returns {Response} The HTML response using the Layout component
12
+ */
13
+app.get("/", (c) => {
14
+ return c.html(<Layout></Layout>);
15
+});
16
17
+export default app;
0 commit comments