Add OpenCollective links
This commit is contained in:
@@ -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
|
||||
])
|
||||
])
|
||||
]),
|
||||
]),
|
||||
|
||||
Reference in New Issue
Block a user