|
|
@ -170,13 +170,9 @@ define([
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
Pages['/contact.html'] = function () {
|
|
|
|
Pages['/contact.html'] = function () {
|
|
|
|
return h('div#cp-main.cp-page-contact', [
|
|
|
|
return h('div#main_other', [
|
|
|
|
infopageTopbar(),
|
|
|
|
h('center', h('h1', Msg.contact)),
|
|
|
|
h('div.container.cp-container', [
|
|
|
|
setHTML(h('p'), Msg.main_about_p2)
|
|
|
|
h('center', h('h1', Msg.contact)),
|
|
|
|
|
|
|
|
setHTML(h('p'), Msg.main_about_p2)
|
|
|
|
|
|
|
|
]),
|
|
|
|
|
|
|
|
infopageFooter(),
|
|
|
|
|
|
|
|
]);
|
|
|
|
]);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -236,36 +232,26 @@ define([
|
|
|
|
|
|
|
|
|
|
|
|
var infopageTopbar = function () {
|
|
|
|
var infopageTopbar = function () {
|
|
|
|
return h('div.cp-topbar',
|
|
|
|
return h('div.cp-topbar',
|
|
|
|
h('div.navbar.navbar-toggleable-sm.navbar-light.navbar-inverse',
|
|
|
|
h('div.cp-left',
|
|
|
|
h('button.navbar-toggler.navbar-toggler-left', {'type':'button'}, {'data-toggle':'collapse'}, {'data-target':'#menuCollapse'}, {'aria-controls': 'menuCollapse'}, {'aria-expanded':'false'}, {'aria-label':'Toggle navigation'},
|
|
|
|
h('a.navbar-brand', { href: 'index.html'}, [
|
|
|
|
[h('i.fa.fa-bars ')
|
|
|
|
h( 'img', { src: '/customize/CryptPad-white-logo.svg' })
|
|
|
|
]),
|
|
|
|
])
|
|
|
|
h('div.collapse.navbar-collapse#menuCollapse', [
|
|
|
|
|
|
|
|
h('ul.navbar-nav', [
|
|
|
|
|
|
|
|
h('a.cp-logo', { href: '/' }, [
|
|
|
|
|
|
|
|
h('img', { src: '/customize/cryptpad-new-logo-colors-logoonly.png?' + urlArgs })
|
|
|
|
|
|
|
|
]),
|
|
|
|
|
|
|
|
h('li.nav-item', [
|
|
|
|
|
|
|
|
h('a.nav-link', { href: '/what-is-cryptpad.html'}, Msg.topbar_whatIsCryptpad),
|
|
|
|
|
|
|
|
]),
|
|
|
|
|
|
|
|
h('li.nav-item', [
|
|
|
|
|
|
|
|
h('a.nav-link', { href: 'https://blog.cryptpad.fr/'}, Msg.blog),
|
|
|
|
|
|
|
|
]),
|
|
|
|
|
|
|
|
h('li.nav-item', [
|
|
|
|
|
|
|
|
h('a.nav-link', { href: '/contact.html'}, Msg.contact),
|
|
|
|
|
|
|
|
]),
|
|
|
|
|
|
|
|
h('li.nav-item', [
|
|
|
|
|
|
|
|
h('a.nav-link', { href: '/about.html'}, Msg.about),
|
|
|
|
|
|
|
|
]),
|
|
|
|
|
|
|
|
]),
|
|
|
|
|
|
|
|
]),
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
h('div.cp-right',
|
|
|
|
h('div.cp-right.navbar.navbar-toggleable-md.navbar-light.navbar-inverse',
|
|
|
|
h('a.cp-register-btn', { href: '/register'}, Msg.login_register),
|
|
|
|
h('button.navbar-toggler.navbar-toggler-right', {'type':'button'}, {'data-toggle':'collapse'}, {'data-target':'#menuCollapse'}, {'aria-controls': 'menuCollapse'}, {'aria-expanded':'false'}, {'aria-label':'Toggle navigation'},
|
|
|
|
h('a.cp-login-btn', { href: '/login'}, Msg.login_login)
|
|
|
|
[h('i.fa.fa-bars ')
|
|
|
|
|
|
|
|
]),
|
|
|
|
|
|
|
|
h('div.collapse.navbar-collapse#menuCollapse', [
|
|
|
|
|
|
|
|
h('a.nav-item.nav-link', { href: '/what-is-cryptpad.html'}, Msg.topbar_whatIsCryptpad),
|
|
|
|
|
|
|
|
h('a.nav-item.nav-link', { href: 'https://blog.cryptpad.fr/'}, Msg.blog),
|
|
|
|
|
|
|
|
h('a.nav-item.nav-link', { href: '/contact.html'}, Msg.contact),
|
|
|
|
|
|
|
|
h('a.nav-item.nav-link', { href: '/about.html'}, Msg.about),
|
|
|
|
|
|
|
|
h('a.cp-login-btn', { href: '/login'}, Msg.login_login),
|
|
|
|
|
|
|
|
h('a.cp-register-btn', { href: '/register'}, Msg.login_register)
|
|
|
|
|
|
|
|
])
|
|
|
|
)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
Pages['/'] = Pages['/index.html'] = function () {
|
|
|
|
Pages['/'] = Pages['/index.html'] = function () {
|
|
|
|
var showingMore = false;
|
|
|
|
var showingMore = false;
|
|
|
|