From 79689735742d66dbc3641c6aa690d83fda35dde1 Mon Sep 17 00:00:00 2001 From: alwaysmesmerizingyou Date: Tue, 10 Nov 2026 18:42:08 -0800 Subject: [PATCH] tweaked contributors and fixed old project names --- sdk/vyla-sdk/contributing.md | 2 +- src/js/api/contribute.js | 12 ++++++++++-- src/js/main.js | 6 +++--- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/sdk/vyla-sdk/contributing.md b/sdk/vyla-sdk/contributing.md index edc60d4..5e696e5 100644 --- a/sdk/vyla-sdk/contributing.md +++ b/sdk/vyla-sdk/contributing.md @@ -22,7 +22,7 @@ Clone the SDK repository to your local machine: ```bash git clone https://gitlab.com/vyla-entertainment/sdk.git -cd vyla-sdk +cd sdk ``` ### 2. Install dependencies diff --git a/src/js/api/contribute.js b/src/js/api/contribute.js index 73c16c2..827c33e 100644 --- a/src/js/api/contribute.js +++ b/src/js/api/contribute.js @@ -40,7 +40,6 @@ function fetchContributors(project) { .catch(function () { return []; }); } - function renderContributors() { var box = document.getElementById("contributors"); if (!box) return; @@ -56,7 +55,14 @@ function renderContributors() { var key = name.toLowerCase(); - if (["devin", "mesmerize", "alwaysmesmerizingyou"].includes(key)) { + if ([ + "devin", + "mesmerize", + "alwaysmesmerizingyou", + "endoverdosing", + "github-actions[bot]", + "gitlab-ci" + ].includes(key)) { key = "alwaysmesmerizingyou"; } @@ -86,6 +92,8 @@ function renderContributors() { avatar = '' + esc(p.name) + ''; } else if (p.name.toLowerCase() === "zstrike") { avatar = '' + esc(p.name) + ''; + } else if (p.name.toLowerCase() === "gavin fox") { + avatar = '' + esc(p.name) + ''; } else { avatar = '' + esc(p.name.charAt(0).toUpperCase()) + ""; } diff --git a/src/js/main.js b/src/js/main.js index 71b1993..8e706dd 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -67,7 +67,7 @@ var SITE_TREE = [ title: "Products", items: [ { title: "Home", file: "/products/home.md", path: "/products/home" }, - { title: "Vyla Go", file: "/products/go.md", path: "/products/go" }, + { title: "Go", file: "/products/go.md", path: "/products/go" }, { title: "TV", file: "/products/tv.md", path: "/products/tv" }, { title: "Player", file: "/products/player.md", path: "/products/player" } ] @@ -288,8 +288,8 @@ var THEME_COPY = { }; var KONAMI = ["ArrowUp", "ArrowUp", "ArrowDown", "ArrowDown", "ArrowLeft", "ArrowRight", "ArrowLeft", "ArrowRight", "b", "a"]; -var PROJECTS = ["home", "go", "TV", "vyla-sdk", "stream-api"]; -var PROJECT_LABELS = { home: "Vyla Home", go: "Vyla Go", TV: "Vyla TV", "vyla-sdk": "Vyla SDK", "stream-api": "Stream API" }; +var PROJECTS = ["home", "go", "TV", "sdk", "stream-api"]; +var PROJECT_LABELS = { home: "Home", go: "Go", TV: "TV", sdk: "SDK", "stream-api": "Stream API" }; function resolveTheme(mode) { return mode === "auto" ? "dark" : mode;