diff --git a/customize.dist/bkabout.jpg b/customize.dist/bkabout.jpg
index 43de08268..01a51c176 100644
Binary files a/customize.dist/bkabout.jpg and b/customize.dist/bkabout.jpg differ
diff --git a/customize.dist/bkwhat.jpg b/customize.dist/bkwhat.jpg
new file mode 100644
index 000000000..3549f7acb
Binary files /dev/null and b/customize.dist/bkwhat.jpg differ
diff --git a/customize.dist/pages.js b/customize.dist/pages.js
index 9e2759786..784fc007f 100644
--- a/customize.dist/pages.js
+++ b/customize.dist/pages.js
@@ -188,10 +188,10 @@ define([
h('h3', "Pierre Bondoerffer"),
h('hr'),
setHTML(h('div#bioPierre'), '
Resident CSS wizard and emoji extraordinaire, Pierre is passionate about anything related to technology. He loves to hack around computers and put parts together.
He is currently studying at 42, where he learns about algorithms, networking, kernel programming and graphics.
As a part of an internship, he joined XWiki SAS and worked on CryptPad to improve user experience. He also maintains the Spanish translation.
'),
- h('a.cp-soc-media', { href : 'https://twitter.com/cjdelisle'}, [
+ h('a.cp-soc-media', { href : 'https://twitter.com/pbondoer'}, [
h('i.fa.fa-twitter')
]),
- h('a.cp-soc-media', { href : 'https://github.com/cjdelisle'}, [
+ h('a.cp-soc-media', { href : 'https://github.com/pbondoer'}, [
h('i.fa.fa-github')
])
]),
@@ -291,32 +291,54 @@ define([
Pages['/what-is-cryptpad.html'] = function () {
return h('div#cp-main', [
infopageTopbar(),
- h('div.container.cp-container', [
- h('center', h('h1', Msg.whatis_title)),
- setHTML(h('h2'), Msg.whatis_collaboration),
- setHTML(h('p'), Msg.whatis_collaboration_p1),
- h('img', { src: '/customize/images/pad_screenshot.png?' + urlArgs }),
- setHTML(h('p'), Msg.whatis_collaboration_p2),
- setHTML(h('p'), Msg.whatis_collaboration_p3),
- setHTML(h('h2'), Msg.whatis_zeroknowledge),
- h('div.row', [
- h('div.col-md-4.align-self-center', [
- h('img#zeroknowledge', { src: '/customize/images/zeroknowledge_small.png?' + urlArgs }),
+ h('div.container-fluid.cp-what-is',[
+ h('div.container',[
+ h('div.row',[
+ h('div.col-12.text-center', h('h1', Msg.whatis_title)),
]),
- h('div.col-md-8', [
+ ]),
+ ]),
+ h('div.container.cp-container', [
+ h('div.row.align-items-center', [
+ h('div.col-12.col-sm-12.col-md-12.col-lg-6', [
+ setHTML(h('h2'), Msg.whatis_collaboration),
+ setHTML(h('p'), Msg.whatis_collaboration_p1),
+ setHTML(h('p'), Msg.whatis_collaboration_p2),
+ setHTML(h('p'), Msg.whatis_collaboration_p3),
+ ]),
+ h('div.col-12.col-sm-12.col-md-12.col-lg-6', [
+ h('img', { src: '/customize/images/pad_screenshot.png?' + urlArgs }),
+ ]),
+ ]),
+ h('div.row.align-items-center', [
+ h('div.col-12.col-sm-12.col-md-12.col-lg-6.push-lg-6', [
+ setHTML(h('h2'), Msg.whatis_zeroknowledge),
setHTML(h('p'), Msg.whatis_zeroknowledge_p1),
setHTML(h('p'), Msg.whatis_zeroknowledge_p2),
setHTML(h('p'), Msg.whatis_zeroknowledge_p3),
]),
+ h('div.col-12.col-sm-12.col-md-12.col-lg-6.pull-lg-6', [
+ h('img#zeroknowledge', { src: '/customize/images/zeroknowledge_small.png?' + urlArgs }),
+ ]),
+ ]),
+ h('div.row.align-items-center', [
+ h('div.col-12.col-sm-12.col-md-12.col-lg-6', [
+ setHTML(h('h2'), Msg.whatis_drive),
+ setHTML(h('p'), Msg.whatis_drive_p1),
+ setHTML(h('p'), Msg.whatis_drive_p2),
+ setHTML(h('p'), Msg.whatis_drive_p3),
+ ]),
+ h('div.col-12.col-sm-12.col-md-12.col-lg-6', [
+ h('img', { src: '/customize/images/drive_screenshot.png?' + urlArgs }),
+ ]),
+ ]),
+ h('div.row.align-items-center', [
+ h('div.col-12', [
+ setHTML(h('h2.text-center'), Msg.whatis_business),
+ setHTML(h('p'), Msg.whatis_business_p1),
+ setHTML(h('p'), Msg.whatis_business_p2),
+ ]),
]),
- setHTML(h('h2'), Msg.whatis_drive),
- setHTML(h('p'), Msg.whatis_drive_p1),
- h('img', { src: '/customize/images/drive_screenshot.png?' + urlArgs }),
- setHTML(h('p'), Msg.whatis_drive_p2),
- setHTML(h('p'), Msg.whatis_drive_p3),
- setHTML(h('h2'), Msg.whatis_business),
- setHTML(h('p'), Msg.whatis_business_p1),
- setHTML(h('p'), Msg.whatis_business_p2),
]),
infopageFooter(),
]);
diff --git a/customize.dist/src/less2/pages/page-login.less b/customize.dist/src/less2/pages/page-login.less
index cbde08893..050064348 100644
--- a/customize.dist/src/less2/pages/page-login.less
+++ b/customize.dist/src/less2/pages/page-login.less
@@ -73,6 +73,6 @@
}
}
.cp-container {
- padding-top: 0;
+ padding-top: 3em;
min-height: 66vh;
}
\ No newline at end of file
diff --git a/customize.dist/src/less2/pages/page-what-is-cryptpad.less b/customize.dist/src/less2/pages/page-what-is-cryptpad.less
index b57517a01..cf127e1ec 100644
--- a/customize.dist/src/less2/pages/page-what-is-cryptpad.less
+++ b/customize.dist/src/less2/pages/page-what-is-cryptpad.less
@@ -4,6 +4,40 @@
.infopages_main();
.infopages_topbar();
-img#zeroknowledge {
- width: 100%;
+.cp-what-is {
+ padding-top: 3em;
+ padding-bottom: 3em;
+ background-image: url(/customize/bkwhat.jpg);
+ background-size: cover;
+ background-repeat: no-repeat;
+ background-position: center;
+ color: #fff;
+ h1 {
+ font-weight: 700;
+ }
}
+#cp-main {
+ background: #fff;
+}
+.cp-container {
+ padding-top: 3em;
+ padding-bottom: 3em;
+ h2 {
+ margin-top: 0;
+ font-weight: 700;
+ color: @cryptpad_header_col;
+ }
+ p {
+ color: @cryptpad_text_col
+ }
+ #zeroknowledge {
+ width: 65%;
+ }
+ .row {
+ margin-bottom: 1.5em;
+ }
+ img {
+ display: block;
+ margin: 0 auto;
+ }
+}
\ No newline at end of file