Skip to content

Commit

Permalink
dark mode issues on API, fix broken GH icon links on about page
Browse files Browse the repository at this point in the history
  • Loading branch information
vgmoose committed Jan 3, 2024
1 parent a28ed24 commit 09e4391
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/InfoPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,6 @@ function genHBASCreditsHTML(credits) {
}

const createCredit = ({name, githubId, twitter, github, gitlab, patreon, url, discord, directAvatarURL, youtube, bsky, mastodon}) => {
out += `<div class="singleCredit"><a href="https://github.com/${github}"><img class="avatar" style="width:75px; height:75px; border-radius: 10px" src="${directAvatarURL || `https://avatars.githubusercontent.com/u/${githubId}?v=4`}"/></a><div class="socials"><span class="name">${name}</span>`;
let socials = [];
if (patreon) socials.push(`<a href="https://patreon.com/${patreon}"><img src="${patreonImg}" />${patreon}</a>`);
if (github) socials.push(`<a href="https://github.com/${github}"><img src="${githubImg}" />${github}</a>`);
Expand All @@ -553,6 +552,7 @@ function genHBASCreditsHTML(credits) {
if (youtube) socials.push(`<a href="https://youtube.com/@${youtube}"><img src="${youtubeImg}" />${youtube}</a>`);
if (discord) socials.push(`<a href="https://discord.com"><img src="${discordImg}" />${discord}</a>`);
socials = socials.slice(0, 2); // only use the first two
out += `<div class="singleCredit"><a ${github ? `href="https://github.com/${github}"` : ""}><img class="avatar" style="width:75px; height:75px; border-radius: 10px" src="${directAvatarURL || `https://avatars.githubusercontent.com/u/${githubId}?v=4`}"/></a><div class="socials"><span class="name">${name}</span>`;
out += socials.join("");
out += `</div></div>`;
}
Expand Down
1 change: 1 addition & 0 deletions src/MainDisplay.css
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,7 @@ details summary {
overflow: scroll;
height: 250px;
font-size: 12px;
color: black;
}

/*Mobile Display and Landscape display*/
Expand Down

0 comments on commit 09e4391

Please sign in to comment.