From 3c88709607c67fc716cfc5abc160f83080346ecc Mon Sep 17 00:00:00 2001 From: Traboulsi <salam.traboulsi@hft-stuttgart.de> Date: Fri, 29 Dec 2023 08:10:54 +0000 Subject: [PATCH] Update public/js/add_content.js --- public/js/add_content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/add_content.js b/public/js/add_content.js index f1dc346..5507a0d 100644 --- a/public/js/add_content.js +++ b/public/js/add_content.js @@ -77,7 +77,7 @@ function addcontent(item) { var sdgProjectHTML = ''; if ('sdgImage' in item) { var sdgProjectLink = item.sdgImage; - var customColor = '#8A2BE2'; + var customColor = 'lilac'; sdgProjectHTML = `<a class="sdg-button btn btn-sm btn-outline-" style="color: white; border-color: ${customColor};" href="javascript:void(0);"onclick="toggleImage('${sdgProjectLink}'); changeColor(this, '${customColor}');" onmouseover="hoverEffect(this, 'lilac', 'white');"onmouseout="hoverEffect(this, '${customColor}', 'white');">SDG Projekt <img id="sdgImage" src="" alt="SDG Project Image" style="max-width: 100%; max-height: 100%; display: none;"></a> `; } -- GitLab