blob: 3b89cef9d5546afb48186d9a3f42344defbc4c8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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'));
|