From 99d49959148251151b5121f45d26ae0ac5694120 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Sun, 25 Jan 2026 17:24:19 -0500 Subject: Use Phosphor Icons --- src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/index.ts b/src/index.ts index 393c5ec..43d4cfa 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,6 +13,10 @@ const eta = new Eta({ views: path.join(__dirname, "..", "views") }); app.use("/static/*", serveStatic({ root: path.join(__dirname, "..") })); +app.get("/", async (c) => { + return c.html(await eta.renderAsync("home.eta", {})); +}); + app.get("/:owner/:repo", async (c) => { const { owner, repo } = c.req.param(); const data = await getGitHubRepo(owner, repo); -- cgit v1.3.1