From 6d73f008d85dabffb94275005a6b59cd81146bcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Fri, 13 May 2022 12:40:12 +0100 Subject: [PATCH] Link footer logo to project website + change font color --- customize.dist/pages.js | 16 +++++++++------- customize.dist/src/less2/include/infopages.less | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/customize.dist/pages.js b/customize.dist/pages.js index 287c06a2f..706de73d6 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -155,13 +155,15 @@ define([ return h('footer.cp-footer', [ h('div.cp-footer-left', [ - h('div.cp-logo-foot', [ - h('img', { - src: '/customize/CryptPad_logo.svg', - "aria-hidden": true, - alt: '' - }), - h('span.logo-font', 'CryptPad') + h('a', {href:"https://cryptpad.org"}, [ + h('div.cp-logo-foot', [ + h('img', { + src: '/customize/CryptPad_logo.svg', + "aria-hidden": true, + alt: '' + }), + h('span.logo-font', 'CryptPad') + ]) ]), h('span.cp-footer-version', 'v' + Pages.versionString) ]), diff --git a/customize.dist/src/less2/include/infopages.less b/customize.dist/src/less2/include/infopages.less index 5d79665b2..1882ffd6d 100644 --- a/customize.dist/src/less2/include/infopages.less +++ b/customize.dist/src/less2/include/infopages.less @@ -176,7 +176,7 @@ body.html { display: block; font-family: "IBM Plex Mono"; font-size: 1.5rem; - color: @cp_static-title; + color: @cryptpad_text_col; height: 40px; }