From 81c170c99f58e28270fb5306b759b231578e36a9 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 21 Jul 2025 16:43:41 +0300 Subject: AKNS records resolver + Donations page --- src/js/ui/header.js | 2 +- src/js/ui/main.js | 2 ++ src/js/ui/menu.js | 1 + src/js/ui/sections/aboutSection.js | 4 +++- src/js/ui/sections/welcomeSection.js | 3 ++- 5 files changed, 9 insertions(+), 3 deletions(-) (limited to 'src/js/ui') diff --git a/src/js/ui/header.js b/src/js/ui/header.js index 03b2332..8059419 100644 --- a/src/js/ui/header.js +++ b/src/js/ui/header.js @@ -15,7 +15,7 @@ export function headerSpawn() className: 'header', innerHTML: [ { element: "a", id:"logo-button", innerHTML:[ - {element: "img", src:"./img/header-logo.png" } + {element: "img", src:"./img/logo.png" } ]}, { element: "h1", style:"text-align: center;", innerText: "Arching Kaos"} ], diff --git a/src/js/ui/main.js b/src/js/ui/main.js index f38bb16..209781f 100644 --- a/src/js/ui/main.js +++ b/src/js/ui/main.js @@ -22,6 +22,7 @@ import { stellarDataConfigSection } from "./sections/stellarDataConfigSection.js import { stellarSection } from "./sections/stellarSection.js"; import { welcomeSection } from "./sections/welcomeSection.js"; import { zchainDataSection } from "./sections/zchainDataSection.js"; +import { donationSection } from "./sections/donationSection.js"; import { markdownSection } from "./sections/markdownSection.js"; export function mainSpawn() @@ -30,6 +31,7 @@ export function mainSpawn() akNodeInfoSection(); chatSection(); commentsSection(); + donationSection() markdownSection() filesSection(); mixtapesSection(); diff --git a/src/js/ui/menu.js b/src/js/ui/menu.js index 91be65f..0810dc9 100644 --- a/src/js/ui/menu.js +++ b/src/js/ui/menu.js @@ -153,6 +153,7 @@ export function menuids() return [ '#welcome-section', '#about-section', + '#donation-section', '#zchain-data-section', '#news-section', '#comments-section', diff --git a/src/js/ui/sections/aboutSection.js b/src/js/ui/sections/aboutSection.js index 6a01c44..7c77f46 100644 --- a/src/js/ui/sections/aboutSection.js +++ b/src/js/ui/sections/aboutSection.js @@ -35,7 +35,9 @@ export function aboutSection() { element:"li", innerText:"Your zchain (...)"}, { 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."} + { element:"p", innerText:"Also, on the stats page you can find people that are participating over the Stellar Network, using the ARCHINGKAOS token/asset/coin."}, + { element:"p", innerText:"If you like what you see or you think the project has potential, you can use the button below to donate."}, + { element: "button", onclick:'menusel({id:"#/donation-section"})', innerText:"Donation"} ] }; diff --git a/src/js/ui/sections/welcomeSection.js b/src/js/ui/sections/welcomeSection.js index 873063b..cfa6816 100644 --- a/src/js/ui/sections/welcomeSection.js +++ b/src/js/ui/sections/welcomeSection.js @@ -59,7 +59,8 @@ var homeGrid = { className:"menu-clickable", id:"#/stats-section", onclick:"menusel(this)", - innerText:"Stats" + // innerText:"Stats", + style:"background-image: url(img/stats-logo.png); background-repeat: round; background-size: cover;" } ] }; -- cgit v1.2.3