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

export function stellarSection()
{
    var stellarSection = {
        element: 'div',
        id: "stellar-section",
        innerHTML: [
            {
                element: "h2",
                innerText: "Stellar dashboard"
            },
            {
                element: "button",
                className: "sub-input",
                id:"stellar-freigher-connect-address-button",
                onclick:"connect()",
                innerText:"Connect with Stellar address"
            }
        ]
    };

    makeElement(stellarSection, document.querySelector('.main'));
}