Revert "added temporary label for logo"

This reverts commit b5c7bc3185.
This commit is contained in:
yflory 2023-09-19 16:43:19 +02:00
parent b78ec996ec
commit 9f6583fbb1

View File

@ -1,6 +1,4 @@
define([
'/customize/messages.js'
], function (Messages) {
(function () {
var logoPath = '/customize/CryptPad_logo.svg';
if (location.pathname === '/' || location.pathname === '/index.html') {
logoPath = '/customize/CryptPad_logo_hero.svg';
@ -8,10 +6,9 @@ if (location.pathname === '/' || location.pathname === '/index.html') {
var elem = document.createElement('div');
elem.setAttribute('id', 'placeholder');
Messages.label_logo = "CryptPad logo"; // XXX Logo
elem.innerHTML = [
'<div class="placeholder-logo-container">',
'<img class="placeholder-logo" alt="' + Messages.label_logo + '" src="' + logoPath + '">',
'<img class="placeholder-logo" alt="CryptPad Logo" src="' + logoPath + '">',
'</div>',
'<div class="placeholder-message-container">',
'<p>Loading...</p>',
@ -58,4 +55,4 @@ document.addEventListener('DOMContentLoaded', function() {
} catch (e) {}
}, 3000);
});
});
}());