aboutsummaryrefslogtreecommitdiff
path: root/src/js/ui/footer.js
blob: fbde42292a13ecd383e9b5345ddbcd7a90239ab7 (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
35
36
37
38
39
40
41
42
43
44
45
46
import { makeElement } from "../arching-kaos-generator.js";

export function footerSpawn()
{
    var footer = {
        element:"div",
        id:"footer",
        innerHTML:[
            {
                element:"div",
                innerHTML:[
                    {element:"p", innerText:"Arching Kaos 2019-2024"},
                    {element:"a", target:"_blank", href:"https://github.com/arching-kaos/arching-kaos-tools", innerText:"Tools"},
                    {element:"a", target:"_blank", href:"https://arching-kaos.org", innerText:"Org"},
                    {element:"a", target:"_blank", href:"https://arching-kaos.net", innerText:"Net"},
                ]
            },
            {
                element:"span",
                innerText:"::"
            },

            {
                element:"div",
                innerHTML:[
                    {element:"a", target:"_blank", href:"https://github.com/arching-kaos/arching-kaos-web-ui/issues/new/choose", innerText:"Report an issue"},
                ]
            },
            {
                element:"span",
                innerText:"::"
            },
            {
                element:"div",
                innerHTML:[
                    {
                        element:"p",
                        innerHTML:"Fra <a target=\"_blank\" href=\"https://www.kaotisk-hund.com\">Kaotisk Hund</a> med kjærlighet. <a href=\"bitcoin:BC1QYL9K5KDLSLJAED9PZCJJX0CPGZVY9LWY427SD4\">Donate</a>"
                    }
                ]
            }
        ]
    };

    makeElement(footer, document.querySelector('.footer'));
}