From 723c59b081ce90be191d1874753410d1b1067235 Mon Sep 17 00:00:00 2001 From: Manfred Touron <94029+moul@users.noreply.github.com> Date: Thu, 12 May 2022 13:20:54 +0000 Subject: [PATCH] chore: update discord link the previous one was expired. fixes #188 Signed-off-by: Manfred Touron <94029+moul@users.noreply.github.com> --- README.md | 2 +- gnoland/website/views/home.html | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index ad4375efff6..ce511f6d01a 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Also, see the [quickstart guide](https://gno.land/r/boards:gnolang/4). ## Contact - * Discord: https://discord.gg/ctRYzHz5dD <-- join now + * Discord: https://discord.gg/tF2X8M6cVj <-- join now * Gnoland: https://gno.land/r/boards:gnolang * Telegram: https://t.me/gnoland * Twitter: https://twitter.com/_gnoland diff --git a/gnoland/website/views/home.html b/gnoland/website/views/home.html index c922b155d8e..4d61fd686d3 100644 --- a/gnoland/website/views/home.html +++ b/gnoland/website/views/home.html @@ -7,10 +7,10 @@ <script type="text/javascript" src="/static/js/purify.min.js"></script> </head> <body onload="main()"> - <div id="header"> - <a id="logo" href="/">GNO.LAND</a> + <div id="header"> + <a id="logo" href="/">GNO.LAND</a> {{ template "header_buttons" }} - </div> + </div> <div id="home"> <pre id="source"> @@ -35,19 +35,19 @@ Package names are not guaranteed to be available for production.\ To be guaranteed a package and realm name, [register](/r/users). -Also, join our [Discord](https://discord.gg/ctRYzHz5dD). +Also, join our [Discord](https://discord.gg/tF2X8M6cVj). </pre> </div> </body> <script type="text/javascript"> function main() { - marked.setOptions({gfm:true}); - window.contents = document.getElementById("source").innerHTML; - var doc = new DOMParser().parseFromString(window.contents, "text/html"); - var contents = doc.documentElement.textContent - var parsed = marked.parse(contents); - document.getElementById("home").innerHTML = DOMPurify.sanitize(parsed, { USE_PROFILES: { html: true } }); + marked.setOptions({gfm:true}); + window.contents = document.getElementById("source").innerHTML; + var doc = new DOMParser().parseFromString(window.contents, "text/html"); + var contents = doc.documentElement.textContent + var parsed = marked.parse(contents); + document.getElementById("home").innerHTML = DOMPurify.sanitize(parsed, { USE_PROFILES: { html: true } }); }; </script> </html>