Add more info on the home page

This commit is contained in:
yflory
2018-10-15 17:36:03 +02:00
parent 947c9c5e40
commit 7d0d8352bf
5 changed files with 88 additions and 14 deletions

View File

@@ -642,16 +642,35 @@ define([
});
var crowdFunding = AppConfig.disableCrowdfundingMessages ? undefined : h('button', [
Msg.crowdfunding_home1,
h('br'),
Msg.crowdfunding_home2,
_link
Msg.crowdfunding_button
]);
$(crowdFunding).click(function () {
_link.click();
});
var blocks = h('div.container',[
h('div.row.justify-content-sm-center',[
h('div.col-12.col-sm-4.cp-index-block.cp-index-block-host', h('div', [
setHTML(h('span'), Msg.home_host),
h('img', {
src: "/customize/images/agplv3.svg"
})
])),
h('div.col-12.col-sm-4.cp-index-block.cp-index-block-product', h('div', [
Msg.home_product
])),
h('div.col-12.col-sm-4.cp-index-block.cp-index-block-help', h('div', [
Msg.crowdfunding_home1,
h('br'),
Msg.crowdfunding_home2,
h('br'),
crowdFunding,
_link
])),
])
]);
return [
h('div#cp-main', [
infopageTopbar(),
@@ -667,11 +686,12 @@ define([
more
])
]),
h('div.row', [
blocks,
/*h('div.row', [
h('div.cp-crowdfunding', [
crowdFunding
])
])
])*/
]),
]),
infopageFooter(),