Move static pages content in their own file

This commit is contained in:
yflory
2018-10-25 11:41:18 +02:00
parent e3b89a5e59
commit d3dbd0c712
16 changed files with 908 additions and 822 deletions

View File

@@ -0,0 +1,21 @@
define([
'/common/hyperscript.js',
'/customize/messages.js',
'/customize/pages.js'
], function (h, Msg, Pages) {
return function () {
return h('div#cp-main', [
Pages.infopageTopbar(),
h('div.container.cp-container', [
h('center', h('h1', Msg.tos_title)),
h('p', Msg.tos_legal),
h('p', Msg.tos_availability),
h('p', Msg.tos_e2ee),
h('p', Msg.tos_logs),
h('p', Msg.tos_3rdparties),
]),
Pages.infopageFooter()
]);
};
});