Add dynamic templates index page with responsive design

This commit is contained in:
Mauricio Siu
2025-03-01 02:33:06 -06:00
parent 332f89ed6f
commit 3d8f598eb8
2 changed files with 130 additions and 0 deletions

View File

@@ -3,6 +3,10 @@ import { Hono } from 'hono'
import { serveStatic } from '@hono/node-server/serve-static'
import fs from 'node:fs'
import path from 'node:path'
import { fileURLToPath } from 'url'
const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
const app = new Hono()
@@ -56,6 +60,7 @@ async function generateIndex() {
.template-links {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}
.template-links a {
text-decoration: none;