Add OpenCollective links

This commit is contained in:
yflory
2018-09-13 18:47:46 +02:00
parent d2c1ed5eff
commit 716159d300
7 changed files with 102 additions and 3 deletions

View File

@@ -615,6 +615,19 @@ define([
}
]);
var crowdFunding = h('button', [
Msg.crowdfunding_home1,
h('br'),
Msg.crowdfunding_home2
]);
$(crowdFunding).click(function () {
var a = document.createElement("a");
a.href = "https://opencollective.com/cryptpad/contribute";
a.target = "_blank";
a.rel = "noopener";
a.click();
});
return [
h('div#cp-main', [
infopageTopbar(),
@@ -629,6 +642,11 @@ define([
icons,
more
])
]),
h('div.row', [
h('div.cp-crowdfunding', [
crowdFunding
])
])
]),
]),