From 07851e48dfa5d533c2bd76fe81acdf1711606fce Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Mon, 30 Oct 2023 01:08:05 +0100 Subject: [PATCH] feat: Community contrib from json --- dist/credits/index.html | 4 + dist/data/community.json | 354 +++++++++++++++++++++++++++++++++++++++ dist/script/credits.js | 20 +++ 3 files changed, 378 insertions(+) create mode 100644 dist/data/community.json diff --git a/dist/credits/index.html b/dist/credits/index.html index dc9d359..e4d9f9b 100644 --- a/dist/credits/index.html +++ b/dist/credits/index.html @@ -55,6 +55,10 @@
Contributors
+
+
Community
+
+
Past contributors

We are ever greatful for past contributions by these developers and wish them all their best on their journey beyond Northstar

diff --git a/dist/data/community.json b/dist/data/community.json new file mode 100644 index 0000000..9d47f47 --- /dev/null +++ b/dist/data/community.json @@ -0,0 +1,354 @@ +[ + { + "url": "https://github.com/0neGal", + "icon": "https://avatars.githubusercontent.com/u/33325154?v=4" + }, + { + "url": "https://github.com/AdobeWallHacks", + "icon": "https://avatars.githubusercontent.com/u/78327970?v=4" + }, + { + "url": "https://github.com/Aida-Enna", + "icon": "https://avatars.githubusercontent.com/u/5483362?v=4" + }, + { + "url": "https://github.com/AleksNovak", + "icon": "https://avatars.githubusercontent.com/u/22493512?v=4" + }, + { + "url": "https://github.com/AnActualEmerald", + "icon": "https://avatars.githubusercontent.com/u/4367791?v=4" + }, + { + "url": "https://github.com/CTalvio", + "icon": "https://avatars.githubusercontent.com/u/4365015?v=4" + }, + { + "url": "https://github.com/ConnorDoesDev", + "icon": "https://avatars.githubusercontent.com/u/69979824?v=4" + }, + { + "url": "https://github.com/Coopyy", + "icon": "https://avatars.githubusercontent.com/u/26663693?v=4" + }, + { + "url": "https://github.com/DBmaoha", + "icon": "https://avatars.githubusercontent.com/u/56738369?v=4" + }, + { + "url": "https://github.com/Distion55x", + "icon": "https://avatars.githubusercontent.com/u/47297018?v=4" + }, + { + "url": "https://github.com/Dundurhedd", + "icon": "https://avatars.githubusercontent.com/u/42916683?v=4" + }, + { + "url": "https://github.com/EnderBoy9217", + "icon": "https://avatars.githubusercontent.com/u/122132914?v=4" + }, + { + "url": "https://github.com/Gcenx", + "icon": "https://avatars.githubusercontent.com/u/38226388?v=4" + }, + { + "url": "https://github.com/Glacir", + "icon": "https://avatars.githubusercontent.com/u/122596880?v=4" + }, + { + "url": "https://github.com/GloriousEggroll", + "icon": "https://avatars.githubusercontent.com/u/11287837?v=4" + }, + { + "url": "https://github.com/GopnikPrince", + "icon": "https://avatars.githubusercontent.com/u/61028296?v=4" + }, + { + "url": "https://github.com/HappyDOGE", + "icon": "https://avatars.githubusercontent.com/u/28511119?v=4" + }, + { + "url": "https://github.com/IncPlusPlus", + "icon": "https://avatars.githubusercontent.com/u/6992149?v=4" + }, + { + "url": "https://github.com/IsaacShoebottom", + "icon": "https://avatars.githubusercontent.com/u/61301629?v=4" + }, + { + "url": "https://github.com/JJRcop", + "icon": "https://avatars.githubusercontent.com/u/5211576?v=4" + }, + { + "url": "https://github.com/JMM889901", + "icon": "https://avatars.githubusercontent.com/u/41163714?v=4" + }, + { + "url": "https://github.com/Jan200101", + "icon": "https://avatars.githubusercontent.com/u/15076013?v=4" + }, + { + "url": "https://github.com/Jeremiah-Roise", + "icon": "https://avatars.githubusercontent.com/u/56651804?v=4" + }, + { + "url": "https://github.com/JoCa96", + "icon": "https://avatars.githubusercontent.com/u/18483883?v=4" + }, + { + "url": "https://github.com/Kaze-Kami", + "icon": "https://avatars.githubusercontent.com/u/18683538?v=4" + }, + { + "url": "https://github.com/L1ghtman2k", + "icon": "https://avatars.githubusercontent.com/u/35672535?v=4" + }, + { + "url": "https://github.com/MayeulC", + "icon": "https://avatars.githubusercontent.com/u/3952726?v=4" + }, + { + "url": "https://github.com/MiloAkerman", + "icon": "https://avatars.githubusercontent.com/u/40443620?v=4" + }, + { + "url": "https://github.com/MysteriousRSA", + "icon": "https://avatars.githubusercontent.com/u/45333346?v=4" + }, + { + "url": "https://github.com/Neoministein", + "icon": "https://avatars.githubusercontent.com/u/57015772?v=4" + }, + { + "url": "https://github.com/Nephyrin", + "icon": "https://avatars.githubusercontent.com/u/965090?v=4" + }, + { + "url": "https://github.com/NoCatt", + "icon": "https://avatars.githubusercontent.com/u/86153630?v=4" + }, + { + "url": "https://github.com/Ombrezz", + "icon": "https://avatars.githubusercontent.com/u/37753837?v=4" + }, + { + "url": "https://github.com/Orpheus2401", + "icon": "https://avatars.githubusercontent.com/u/62786393?v=4" + }, + { + "url": "https://github.com/PersonMeetup", + "icon": "https://avatars.githubusercontent.com/u/42787368?v=4" + }, + { + "url": "https://github.com/Ph42oN", + "icon": "https://avatars.githubusercontent.com/u/59069994?v=4" + }, + { + "url": "https://github.com/Plagman", + "icon": "https://avatars.githubusercontent.com/u/529930?v=4" + }, + { + "url": "https://github.com/Raptor85", + "icon": "https://avatars.githubusercontent.com/u/14860987?v=4" + }, + { + "url": "https://github.com/SamLam140330", + "icon": "https://avatars.githubusercontent.com/u/48656764?v=4" + }, + { + "url": "https://github.com/ScureX", + "icon": "https://avatars.githubusercontent.com/u/47725553?v=4" + }, + { + "url": "https://github.com/SenorGeese", + "icon": "https://avatars.githubusercontent.com/u/87151598?v=4" + }, + { + "url": "https://github.com/Spiker985", + "icon": "https://avatars.githubusercontent.com/u/7829451?v=4" + }, + { + "url": "https://github.com/Striketester", + "icon": "https://avatars.githubusercontent.com/u/96035439?v=4" + }, + { + "url": "https://github.com/TH3-S4LM0N", + "icon": "https://avatars.githubusercontent.com/u/99826409?v=4" + }, + { + "url": "https://github.com/TheEvilSkeleton", + "icon": "https://avatars.githubusercontent.com/u/50847364?v=4" + }, + { + "url": "https://github.com/TheLavaLump", + "icon": "https://avatars.githubusercontent.com/u/129992171?v=4" + }, + { + "url": "https://github.com/Tr4sK", + "icon": "https://avatars.githubusercontent.com/u/1238195?v=4" + }, + { + "url": "https://github.com/VITALISED", + "icon": "https://avatars.githubusercontent.com/u/39478251?v=4" + }, + { + "url": "https://github.com/WofWca", + "icon": "https://avatars.githubusercontent.com/u/39462442?v=4" + }, + { + "url": "https://github.com/aeikum", + "icon": "https://avatars.githubusercontent.com/u/34554541?v=4" + }, + { + "url": "https://github.com/anjannair", + "icon": "https://avatars.githubusercontent.com/u/22571613?v=4" + }, + { + "url": "https://github.com/arrowgent", + "icon": "https://avatars.githubusercontent.com/u/57545549?v=4" + }, + { + "url": "https://github.com/begin-theadventure", + "icon": "https://avatars.githubusercontent.com/u/99835765?v=4" + }, + { + "url": "https://github.com/clanig", + "icon": "https://avatars.githubusercontent.com/u/31621613?v=4" + }, + { + "url": "https://github.com/connieprice", + "icon": "https://avatars.githubusercontent.com/u/5340283?v=4" + }, + { + "url": "https://github.com/cyrv6737", + "icon": "https://avatars.githubusercontent.com/u/68307100?v=4" + }, + { + "url": "https://github.com/dependabot[bot]", + "icon": "https://avatars.githubusercontent.com/in/29110?v=4" + }, + { + "url": "https://github.com/doitsujin", + "icon": "https://avatars.githubusercontent.com/u/25567304?v=4" + }, + { + "url": "https://github.com/harmony-weblate", + "icon": "https://avatars.githubusercontent.com/u/96563367?v=4" + }, + { + "url": "https://github.com/hdmap", + "icon": "https://avatars.githubusercontent.com/u/39393955?v=4" + }, + { + "url": "https://github.com/itscynxx", + "icon": "https://avatars.githubusercontent.com/u/70904206?v=4" + }, + { + "url": "https://github.com/jakubiakdev", + "icon": "https://avatars.githubusercontent.com/u/63729559?v=4" + }, + { + "url": "https://github.com/jeremychone", + "icon": "https://avatars.githubusercontent.com/u/74671?v=4" + }, + { + "url": "https://github.com/jozefkucia", + "icon": "https://avatars.githubusercontent.com/u/4353443?v=4" + }, + { + "url": "https://github.com/jwhite66", + "icon": "https://avatars.githubusercontent.com/u/1063742?v=4" + }, + { + "url": "https://github.com/kisak-valve", + "icon": "https://avatars.githubusercontent.com/u/24358216?v=4" + }, + { + "url": "https://github.com/luludotdev", + "icon": "https://avatars.githubusercontent.com/u/2358182?v=4" + }, + { + "url": "https://github.com/mandruis7", + "icon": "https://avatars.githubusercontent.com/u/55031066?v=4" + }, + { + "url": "https://github.com/mmbossoni", + "icon": "https://avatars.githubusercontent.com/u/7592175?v=4" + }, + { + "url": "https://github.com/nanonyme", + "icon": "https://avatars.githubusercontent.com/u/348449?v=4" + }, + { + "url": "https://github.com/nsivov", + "icon": "https://avatars.githubusercontent.com/u/16673614?v=4" + }, + { + "url": "https://github.com/nxdeci", + "icon": "https://avatars.githubusercontent.com/u/58310402?v=4" + }, + { + "url": "https://github.com/orowith2os", + "icon": "https://avatars.githubusercontent.com/u/93224879?v=4" + }, + { + "url": "https://github.com/overestimate", + "icon": "https://avatars.githubusercontent.com/u/58041173?v=4" + }, + { + "url": "https://github.com/piebaker", + "icon": "https://avatars.githubusercontent.com/u/73162560?v=4" + }, + { + "url": "https://github.com/popsUlfr", + "icon": "https://avatars.githubusercontent.com/u/1030423?v=4" + }, + { + "url": "https://github.com/rrrfffrrr", + "icon": "https://avatars.githubusercontent.com/u/11633118?v=4" + }, + { + "url": "https://github.com/rwynx", + "icon": "https://avatars.githubusercontent.com/u/101754031?v=4" + }, + { + "url": "https://github.com/sonic2kk", + "icon": "https://avatars.githubusercontent.com/u/7917345?v=4" + }, + { + "url": "https://github.com/stygia-dev", + "icon": "https://avatars.githubusercontent.com/u/116909003?v=4" + }, + { + "url": "https://github.com/tcarrio", + "icon": "https://avatars.githubusercontent.com/u/8659099?v=4" + }, + { + "url": "https://github.com/tcrider84", + "icon": "https://avatars.githubusercontent.com/u/67618002?v=4" + }, + { + "url": "https://github.com/themoonisacheese", + "icon": "https://avatars.githubusercontent.com/u/15526977?v=4" + }, + { + "url": "https://github.com/theroylee", + "icon": "https://avatars.githubusercontent.com/u/55896140?v=4" + }, + { + "url": "https://github.com/theunkn0wn1", + "icon": "https://avatars.githubusercontent.com/u/3110986?v=4" + }, + { + "url": "https://github.com/weblate", + "icon": "https://avatars.githubusercontent.com/u/1607653?v=4" + }, + { + "url": "https://github.com/xamionex", + "icon": "https://avatars.githubusercontent.com/u/57235791?v=4" + }, + { + "url": "https://github.com/zxcPandora", + "icon": "https://avatars.githubusercontent.com/u/81985226?v=4" + } +] \ No newline at end of file diff --git a/dist/script/credits.js b/dist/script/credits.js index 0a20beb..f410909 100644 --- a/dist/script/credits.js +++ b/dist/script/credits.js @@ -7,6 +7,11 @@ var template = `
` +var community_template = ` +
+ +
+` function addContributor(group, url, icon, name, description) { var x = template.replace("ICONNAME", icon); @@ -15,6 +20,11 @@ function addContributor(group, url, icon, name, description) { x = x.replace("DESCRIPTION", description); document.getElementById(group).insertAdjacentHTML("beforeend", x); } +function addCommunityContributor(group, url, icon) { + var x = community_template.replace("ICONNAME", icon); + x = x.replace("URL", url); + document.getElementById(group).insertAdjacentHTML("beforeend", x); +} /** * Loads the members of various categories from JSON @@ -40,6 +50,16 @@ function loadCredits() { }) .catch(error => console.error('Error fetching the JSON file:', error)); + // Load community contributors + fetch('/data/community.json') + .then(response => response.json()) + .then(data => { + data.forEach(item => { + addCommunityContributor("community", item.url, item.icon); + }); + }) + .catch(error => console.error('Error fetching the JSON file:', error)); + // Load past contributors fetch('/data/past-contrib.json') .then(response => response.json())