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

export function statsSection()
{
    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'));
}