diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-12-03 12:15:31 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-12-03 12:15:31 +0200 |
commit | ad0f59fbc2dea546d1e33e2f4ee515827e698eed (patch) | |
tree | a0931bb97a482fa087d78a2218453f16c24a8a3c /src/js/ui/sections/aboutSection.js | |
parent | fb2428fb2eff87150d40d84b83c66ccdd7ea47b3 (diff) | |
download | arching-kaos-web-ui-ad0f59fbc2dea546d1e33e2f4ee515827e698eed.tar.gz arching-kaos-web-ui-ad0f59fbc2dea546d1e33e2f4ee515827e698eed.tar.bz2 arching-kaos-web-ui-ad0f59fbc2dea546d1e33e2f4ee515827e698eed.zip |
Separating content from layout
Diffstat (limited to 'src/js/ui/sections/aboutSection.js')
-rw-r--r-- | src/js/ui/sections/aboutSection.js | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/src/js/ui/sections/aboutSection.js b/src/js/ui/sections/aboutSection.js index 902783d..6a01c44 100644 --- a/src/js/ui/sections/aboutSection.js +++ b/src/js/ui/sections/aboutSection.js @@ -18,12 +18,11 @@ export function aboutSection() { element: "h2", innerText:"About"} ] }; - var aboutSection = { + + var content = { element: "div", - hidden: true, - id:"about-section", + className: "content", innerHTML: [ - whereAmI, { element: "p", innerText:"Arching Kaos is a project about radio, music, communications and decentralization."}, { element: "p", innerText:'On site, you can listen to the latest mixes of music (menu entry "Mixtapes"), read latest news ("News") of the network and chat (you guessed it, "Chat" menu entry).'}, { element: "p", innerText:'You can see the zchains appearing in "zchain" and logs of the process on "Logs"'}, @@ -37,7 +36,17 @@ export function aboutSection() { element:"li", innerText:"Your posted newsfeed (...)"} ]}, { element:"p", innerText:"Finally, on the stats page you can find people that are participating over the Stellar Network, using the ARCHINGKAOS token/asset/coin."} - ] + ] + }; + + var aboutSection = { + element: "div", + hidden: true, + id:"about-section", + innerHTML: [ + whereAmI, + content + ] }; makeElement(aboutSection, document.querySelector('.main')); |