diff options
Diffstat (limited to 'src/js/ui/sections/newsSection.js')
-rw-r--r-- | src/js/ui/sections/newsSection.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/js/ui/sections/newsSection.js b/src/js/ui/sections/newsSection.js new file mode 100644 index 0000000..3b89cef --- /dev/null +++ b/src/js/ui/sections/newsSection.js @@ -0,0 +1,18 @@ +import { makeElement } from "../../arching-kaos-generator.js"; + +var newsSection = { + element: 'div', + id: 'news-section', + innerHTML: [ + { element: "div", className: "where-am-i", innerHTML: ` + <img src="./img/logo.png" onclick="menusel({id:'#/welcome-section'})"/> + <span>></span> + <h2>Modules</h2> + <span>></span> + <h2>News</h2> + ` }, + { element: "em", id:"news-sec-not-found", innerText: "No data found (yet?)!"} + ] +}; + +makeElement(newsSection, document.querySelector('.main')); |