From cf6a2aa3364adeadabaadade1a22e13a07339062 Mon Sep 17 00:00:00 2001 From: Izma Mujeeb Date: Mon, 7 Oct 2024 20:18:28 -0400 Subject: [PATCH] update wins.js so the Wins page uses icon-github.svg --- assets/images/wins-page/icon-github-small.svg | 3 --- assets/js/wins.js | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 assets/images/wins-page/icon-github-small.svg diff --git a/assets/images/wins-page/icon-github-small.svg b/assets/images/wins-page/icon-github-small.svg deleted file mode 100644 index e7c4141737..0000000000 --- a/assets/images/wins-page/icon-github-small.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/assets/js/wins.js b/assets/js/wins.js index 658599f267..a26391ceda 100644 --- a/assets/js/wins.js +++ b/assets/js/wins.js @@ -290,7 +290,7 @@ const cardTemplate = document.getElementById("wins-card-template"); const QUOTE_ICON_PATH = '/assets/images/wins-page/quote-icon.svg' const AVATAR_DEFAULT_PATH = "/assets/images/wins-page/avatar-default.svg" - const GITHUB_ICON = '/assets/images/wins-page/icon-github-small.svg'; + const GITHUB_ICON = '_includes/svg/icon-github.svg'; const LINKEDIN_ICON = '/assets/images/wins-page/icon-linkedin-small.svg' const winsCardContainer = document.querySelector('#responses'); @@ -506,7 +506,7 @@ function changeSeeMoreBtn(x) { if (data[i][linkedin_url].length > 0) { makeIcon(data[i][linkedin_url], overlayIcons, 'linkedin-icon', '/assets/images/wins-page/icon-linkedin-small.svg', 'LinkedIn profile for ' + data[i][name]); } if (data[i][github_url].length > 0) { - makeIcon(data[i][github_url], overlayIcons, 'github-icon', '/assets/images/wins-page/icon-github-small.svg', 'Github profile for ' + data[i][name]); + makeIcon(data[i][github_url], overlayIcons, 'github-icon', '_includes/svg/icon-github.svg', 'Github profile for ' + data[i][name]); } const overlayName = document.querySelector('#overlay-name');