aboutsummaryrefslogtreecommitdiff
path: root/src/js/ui/sections/statsSection.js
blob: 1f2ede250bd88111b7326abf38a4fea621c80a7b (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
import { makeElement } from "../../arching-kaos-generator.js";

var statsSection = {
    element: 'div',
    id: "stats-section",
    innerHTML: [
        { element: "div", className: "where-am-i", innerHTML: `
            <img src="./img/logo.png" onclick="menusel({id:'#/welcome-section'})"/>
            <span>&gt;</span>
            <h2>Explore</h2>
            <span>&gt;</span>
            <h2>Stats</h2>
        `},
        { element: "div", className: "available-networks", innerHTML: `
            <h3>Networks</h3>
            <details class="stellar-network">
                <summary>Stellar</summary>
            </details>
            <details class="aknet-network">
                <summary>Arching Kaos Experimental Instance</summary>
            </details>
            <details class="aknet-sblocks">
                <summary>Arching Kaos SBlocks</summary>
            </details>
        `}
    ]
};

makeElement(statsSection, document.querySelector('.main'));