Add more info on the home page
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user