From 28db8ea02c5169514bf044d5b7be0be36edc0288 Mon Sep 17 00:00:00 2001 From: ProgrammerIn-wonderland <3838shah@gmail.com> Date: Sun, 8 Sep 2024 19:52:52 -0400 Subject: [PATCH] more TN branding --- src/Boot.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Boot.tsx b/src/Boot.tsx index 301f0246..311ba476 100644 --- a/src/Boot.tsx +++ b/src/Boot.tsx @@ -371,6 +371,19 @@ window.addEventListener("load", async () => { } else if (anura.config.tnbranding === true) { bootsplash.remove(); document.body.appendChild(TNBootSplash); + const TNMark = document.createElement("span"); + TNMark.setAttribute( + "style", + "position: absolute; bottom: 70px; right: 10px", + ); + TNMark.innerHTML = + "Instance hosted by Titanium Network.
More mirrors at discord.gg/unblock"; + TNMark.onclick = () => { + anura.apps["anura.browser"].open([ + "https://discord.gg/unblock", + ]); + }; + document.body.appendChild(TNMark); } }