diff --git a/services/static-webserver/client/source/class/osparc/Application.js b/services/static-webserver/client/source/class/osparc/Application.js index b41c535c372..598ecde09cc 100644 --- a/services/static-webserver/client/source/class/osparc/Application.js +++ b/services/static-webserver/client/source/class/osparc/Application.js @@ -243,7 +243,7 @@ qx.Class.define("osparc.Application", { }); } if (maskIconMeta) { - const maskIcon = osparc.product.Utils.getManifestIconUrl("safari-pinned-tab.svg") + const maskIcon = osparc.product.Utils.getManifestIconUrl("safari-pinned-tab.png", "apple-icon-fallback.png") Promise.resolve(maskIcon) .then(resolvedUrl => { // Create the manifest data object with resolved URLs @@ -268,15 +268,15 @@ qx.Class.define("osparc.Application", { __updateAppIcons: function() { // Array of promises to resolve icon URLs for Apple Touch Icons const appleIconUrls = [ - osparc.product.Utils.getManifestIconUrl("apple-icon-57x57.png"), - osparc.product.Utils.getManifestIconUrl("apple-icon-60x60.png"), - osparc.product.Utils.getManifestIconUrl("apple-icon-72x72.png"), - osparc.product.Utils.getManifestIconUrl("apple-icon-76x76.png"), - osparc.product.Utils.getManifestIconUrl("apple-icon-114x114.png"), - osparc.product.Utils.getManifestIconUrl("apple-icon-120x120.png"), - osparc.product.Utils.getManifestIconUrl("apple-icon-144x144.png"), - osparc.product.Utils.getManifestIconUrl("apple-icon-152x152.png"), - osparc.product.Utils.getManifestIconUrl("apple-icon-180x180.png") + osparc.product.Utils.getManifestIconUrl("apple-icon-57x57.png", "apple-icon-fallback.png"), + osparc.product.Utils.getManifestIconUrl("apple-icon-60x60.png", "apple-icon-fallback.png"), + osparc.product.Utils.getManifestIconUrl("apple-icon-72x72.png", "apple-icon-fallback.png"), + osparc.product.Utils.getManifestIconUrl("apple-icon-76x76.png", "apple-icon-fallback.png"), + osparc.product.Utils.getManifestIconUrl("apple-icon-114x114.png", "apple-icon-fallback.png"), + osparc.product.Utils.getManifestIconUrl("apple-icon-120x120.png", "apple-icon-fallback.png"), + osparc.product.Utils.getManifestIconUrl("apple-icon-144x144.png", "apple-icon-fallback.png"), + osparc.product.Utils.getManifestIconUrl("apple-icon-152x152.png", "apple-icon-fallback.png"), + osparc.product.Utils.getManifestIconUrl("apple-icon-180x180.png", "apple-icon-fallback.png") ]; // Array of promises to resolve icon URLs for Favicons diff --git a/services/static-webserver/client/source/class/osparc/product/Utils.js b/services/static-webserver/client/source/class/osparc/product/Utils.js index 7140061ec49..a0f2773ce31 100644 --- a/services/static-webserver/client/source/class/osparc/product/Utils.js +++ b/services/static-webserver/client/source/class/osparc/product/Utils.js @@ -131,7 +131,7 @@ qx.Class.define("osparc.product.Utils", { }); }, - getManifestIconUrl: function(icon) { + getManifestIconUrl: function(icon, fbIcon = "favicon-osparc.png") { let productName = osparc.product.Utils.getProductName(); if (this.isS4LProduct() || this.isProduct("s4llite")) { productName = "s4l"; @@ -139,7 +139,7 @@ qx.Class.define("osparc.product.Utils", { productName = "tis"; } const iconPath = `https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/favicons/${productName}/icons/${icon}`; - const fallbackIcon = `/resource/osparc/${productName}/favicon-96x96.png`; + const fallbackIcon = `/resource/osparc/${fbIcon}`; return this.__linkExists(iconPath) .then(() => iconPath) .catch(() => fallbackIcon); diff --git a/services/static-webserver/client/source/resource/osparc/osparc/apple-icon-fallback.png b/services/static-webserver/client/source/resource/osparc/osparc/apple-icon-fallback.png new file mode 100644 index 00000000000..193c31fb16c Binary files /dev/null and b/services/static-webserver/client/source/resource/osparc/osparc/apple-icon-fallback.png differ diff --git a/services/static-webserver/client/source/resource/osparc/osparc/safari-pinned-tab.svg b/services/static-webserver/client/source/resource/osparc/osparc/safari-pinned-tab.svg deleted file mode 100644 index 36098ef7faf..00000000000 --- a/services/static-webserver/client/source/resource/osparc/osparc/safari-pinned-tab.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/services/static-webserver/client/source/resource/osparc/s4l/apple-icon-fallback.png b/services/static-webserver/client/source/resource/osparc/s4l/apple-icon-fallback.png new file mode 100644 index 00000000000..ed3c3839194 Binary files /dev/null and b/services/static-webserver/client/source/resource/osparc/s4l/apple-icon-fallback.png differ diff --git a/services/static-webserver/client/source/resource/osparc/s4l/safari-pinned-tab.svg b/services/static-webserver/client/source/resource/osparc/s4l/safari-pinned-tab.svg deleted file mode 100644 index 289fa5496e2..00000000000 --- a/services/static-webserver/client/source/resource/osparc/s4l/safari-pinned-tab.svg +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/services/static-webserver/client/source/resource/osparc/tis/apple-icon-fallback.png b/services/static-webserver/client/source/resource/osparc/tis/apple-icon-fallback.png new file mode 100644 index 00000000000..2398a09d948 Binary files /dev/null and b/services/static-webserver/client/source/resource/osparc/tis/apple-icon-fallback.png differ diff --git a/services/static-webserver/client/source/resource/osparc/tis/favicon-16x16.png b/services/static-webserver/client/source/resource/osparc/tis/favicon-16x16.png index a252d9473f4..380e8b17011 100644 Binary files a/services/static-webserver/client/source/resource/osparc/tis/favicon-16x16.png and b/services/static-webserver/client/source/resource/osparc/tis/favicon-16x16.png differ diff --git a/services/static-webserver/client/source/resource/osparc/tis/favicon-32x32.png b/services/static-webserver/client/source/resource/osparc/tis/favicon-32x32.png index 6bb8d187242..0f60079445f 100644 Binary files a/services/static-webserver/client/source/resource/osparc/tis/favicon-32x32.png and b/services/static-webserver/client/source/resource/osparc/tis/favicon-32x32.png differ diff --git a/services/static-webserver/client/source/resource/osparc/tis/favicon-96x96.png b/services/static-webserver/client/source/resource/osparc/tis/favicon-96x96.png index de648038800..dc845a3b30f 100644 Binary files a/services/static-webserver/client/source/resource/osparc/tis/favicon-96x96.png and b/services/static-webserver/client/source/resource/osparc/tis/favicon-96x96.png differ diff --git a/services/static-webserver/client/source/resource/osparc/tis/favicon.ico b/services/static-webserver/client/source/resource/osparc/tis/favicon.ico new file mode 100644 index 00000000000..4d4fdfee0c7 Binary files /dev/null and b/services/static-webserver/client/source/resource/osparc/tis/favicon.ico differ diff --git a/services/static-webserver/client/source/resource/osparc/tis/safari-pinned-tab.svg b/services/static-webserver/client/source/resource/osparc/tis/safari-pinned-tab.svg deleted file mode 100644 index 758110ae68e..00000000000 --- a/services/static-webserver/client/source/resource/osparc/tis/safari-pinned-tab.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - -