home page fixes and lint compliance

master
ansuz 3 years ago
parent 83f721341f
commit 418201ba3f

@ -114,12 +114,12 @@ define([
return h('a', attrs, text);
};
var fastLink = k => pageLink(Pages.customURLs[k], k);
// XXX DB: this may be wrong, pasted over form pages.js
var imprintUrl = AppConfig.imprint && (typeof(AppConfig.imprint) === "boolean" ?
'/imprint.html' : AppConfig.imprint);
imprintLink = AppConfig.imprint ? pageLink(imprintUrl, 'imprint') : undefined;
privacyLink = pageLink(AppConfig.privacy, 'privacy');
termsLink = pageLink(AppConfig.terms, 'terms');
var imprintLink = fastLink('imprint');
var privacyLink = fastLink('privacy');
var termsLink = fastLink('terms');
var notice;
/* Admins can specify a notice to display in application_config.js via the `homeNotice` attribute.

@ -206,7 +206,7 @@ body.html {
}
.cp-footer-language{
.cp-footer-language {
margin-right: 10px;
i {
font-size: 1.3em;
@ -218,7 +218,7 @@ body.html {
color: @cryptpad_text_col;
border: 0px;
border-radius: @infopages-radius;
padding: 0.5em 0.7em;
padding: 0.5em 0.7em;
}
}
.cp-footer-version {

@ -14,3 +14,4 @@
// Rounded corners
@variables_radius: 5px;
@variables_radius_L: 10px;

Loading…
Cancel
Save