From e6b77ee4c6b4a9e79b73588f15dff4ed1d8bdfbc Mon Sep 17 00:00:00 2001
From: Athanasios <ath.kouk.oid@gmail.com>
Date: Thu, 14 Oct 2021 12:12:49 +0200
Subject: [PATCH] Replace default M4_LAB logo

Use a logo without the text at the bottom
---
 routes/project.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/routes/project.ts b/routes/project.ts
index d7e86a4..802062b 100644
--- a/routes/project.ts
+++ b/routes/project.ts
@@ -89,7 +89,7 @@ module.exports = function (app:any, lang:string) {
         for(let i = 0; i < projectData.length; i++){
           // M4_LAB logo for all projects that do not have logo
           if (projectData[i].avatar_url == null) {
-            projectData[i].avatar_url = "https://m4lab.hft-stuttgart.de/img/footer/M4_LAB_LOGO_Graustufen.png"
+            projectData[i].avatar_url = "https://m4lab.hft-stuttgart.de/img/body/M4_LAB_LOGO_NO_TEXT.png"
           }
           // for all projects that have no description
           if (projectData[i].description == "") {
@@ -159,7 +159,7 @@ module.exports = function (app:any, lang:string) {
           if (status) {
             // M4_LAB logo for all projects that do not have logo
             if (pagesData[i].avatar_url == null) {
-              pagesData[i].avatar_url = "https://m4lab.hft-stuttgart.de/img/footer/M4_LAB_LOGO_Graustufen.png"
+              pagesData[i].avatar_url = "https://m4lab.hft-stuttgart.de/img/body/M4_LAB_LOGO_NO_TEXT.png"
             }
             // for all projects that have no description
             if (pagesData[i].description == "") {
-- 
GitLab