split javascript file into multiple

This commit is contained in:
2026-09-21 21:25:31 +02:00
parent b09f2029ed
commit cc91f7d4ff
17 changed files with 473 additions and 461 deletions
+10
View File
@@ -0,0 +1,10 @@
import { el } from "../core/dom.js";
// Status / profession / workplace lines below the name.
export function renderSidebarTop(data) {
const content = document.getElementById("sidebar-top-content");
content.appendChild(el("p", "", data.status));
content.appendChild(el("p", "", data.profession));
content.appendChild(el("p", "", data.workplace));
}