aboutsummaryrefslogtreecommitdiff
path: root/client/js/ui/header.js
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-11-12 07:44:56 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-11-12 07:44:56 +0200
commit130a30756962cc013e686e2671f92e97b88e7c1b (patch)
tree309cc7bd8a5ca6f205b2ffbd711f84b967e17546 /client/js/ui/header.js
parent073352cb2bec05be8898385b54d74122846886e0 (diff)
downloadarching-kaos-radio-130a30756962cc013e686e2671f92e97b88e7c1b.tar.gz
arching-kaos-radio-130a30756962cc013e686e2671f92e97b88e7c1b.tar.bz2
arching-kaos-radio-130a30756962cc013e686e2671f92e97b88e7c1b.zip
HTML migrated to Generator JSON format
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