aboutsummaryrefslogtreecommitdiff
path: root/client/js/ui/header.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/js/ui/header.js')
-rw-r--r--client/js/ui/header.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/client/js/ui/header.js b/client/js/ui/header.js
new file mode 100644
index 0000000..fb0511c
--- /dev/null
+++ b/client/js/ui/header.js
@@ -0,0 +1,23 @@
+// Arching Kaos RSE ui/header.js
+//
+// Kaotisk Hund - 2024
+//
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0
+//
+var pageLayout = document.querySelector('#page-layout');
+
+var header = {
+ element:"div",
+ className:"header",
+ innerHTML:[
+ {element:"img", className:"logo", src:"img/logo.jpg"},
+ {element:"div", innerHTML:[
+ {element:"h1", innerText:"Arching Kaos Radio"},
+ {element:"em", innerHTML:"by <a href=\"https://kaotisk-hund.com/\" target=\"_blank\">Kaotisk Hund</a>, for <a href=\"https://arching-kaos.org\" target=\"_blank\">Arching Kaos</a> and for everyone."}
+ ]}
+ ]
+};
+
+makeElement(header, pageLayout);
+
+// @license-end