aboutsummaryrefslogtreecommitdiff
path: root/src/js/ui/main.js
blob: f57be595ad29b2c9346ec0f4f42417823989b937 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import { makeElement } from "../arching-kaos-generator.js";

var scripts = [
    {
        element:"script",
        type:"module",
        src:"./js/ui/sections/welcomeSection.js"
    },
    {
        element:"script",
        type:"module",
        src:"./js/ui/sections/chatSection.js"
    },
    {
        element:"script",
        type:"module",
        src:"./js/ui/sections/notFoundSection.js"
    },
    {
        element:"script",
        type:"module",
        src:"./js/ui/sections/settingsSection.js"
    },
    {
        element:"script",
        type:"module",
        src:"./js/ui/sections/radioSection.js"
    }
];

for ( var i = 0; i < scripts.length; i++ )
{
    makeElement(scripts[i], document.querySelector('body'));
}