aboutsummaryrefslogtreecommitdiff
path: root/src/js/ui/footer.js
blob: c4471894ee81617f5aac84ca24839b2570581d38 (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
47
48
49
50
51
52
53
54
// Arching Kaos Footer
//
// Kaotisk Hund - 2024
//
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0
//

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'));
}
// @license-end