diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-11-30 16:13:00 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-11-30 16:13:00 +0200 |
commit | 2cd1f36b60e191a0e3cdc1117f552c6dd5d4fcc7 (patch) | |
tree | 3cb08c403acd2f9c4cdcaa1a5ccae68c595e253b /src/js/ui/sections/commentsSection.js | |
parent | 3068b57c4841491ae885e555cc5560a1c2f80a9c (diff) | |
download | arching-kaos-web-ui-2cd1f36b60e191a0e3cdc1117f552c6dd5d4fcc7.tar.gz arching-kaos-web-ui-2cd1f36b60e191a0e3cdc1117f552c6dd5d4fcc7.tar.bz2 arching-kaos-web-ui-2cd1f36b60e191a0e3cdc1117f552c6dd5d4fcc7.zip |
create navigation header for all pages
Diffstat (limited to 'src/js/ui/sections/commentsSection.js')
-rw-r--r-- | src/js/ui/sections/commentsSection.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/js/ui/sections/commentsSection.js b/src/js/ui/sections/commentsSection.js index 5d520cf..00ec8fe 100644 --- a/src/js/ui/sections/commentsSection.js +++ b/src/js/ui/sections/commentsSection.js @@ -9,11 +9,20 @@ import { makeElement } from "../../arching-kaos-generator.js"; export function commentsSection() { + var whereAmI = { + element: "div", + className: "where-am-i", + innerHTML: [ + { element: "img", src:"./img/logo.png", onclick:"menusel({id:'#/welcome-section'})"}, + { element: "span", innerText:">"}, + { element: "h2", innerText:"Comments"} + ] + }; var commentsSection = { element: 'div', id: 'comments-section', innerHTML: [ - { element: "h2", innerText: "Comments" }, + whereAmI, { element: "em", id:"comments-sec-not-found", innerText: "No data found (yet?)!"} ] }; |