1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-29 07:00:16 +02:00

🔤 ui/ux

This commit is contained in:
2025-03-05 18:35:09 +01:00
parent 49243b978a
commit 5a6f011823
13 changed files with 16 additions and 46 deletions

View File

@@ -19,8 +19,7 @@ export function simplePage({ pkg, info }){
// Main content area
el("main", { id: "main-content", role: "main" }).append(
// Page title as an h1
el("h1", { className: "page-title", textContent: info.title }),
el("h2", { textContent: info.fullTitle || info.title }),
// Main content from child elements
el("slot"),