Move static pages content in their own file
This commit is contained in:
21
customize.dist/pages/terms.js
Normal file
21
customize.dist/pages/terms.js
Normal 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()
|
||||
]);
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user