Fix terms and privacy pages

This commit is contained in:
David Benqué 2020-11-17 13:14:28 +00:00
parent ead97d8f41
commit 3599b33815
5 changed files with 15 additions and 62 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

View File

@ -6,35 +6,25 @@ define([
return function () {
return h('div#cp-main', [
Pages.infopageTopbar(),
h('.container-fluid.cp-privacy-top', [
h('div.container',[
h('center', h('h1', Msg.policy_title)),
]),
]),
h('div.container.cp-container.cp-privacy',[
h('h3', Msg.policy_whatweknow),
h('hr'),
h('div.row.cp-page-title', h('h1', Msg.policy_title)),
h('h2', Msg.policy_whatweknow),
Pages.setHTML(h('p'), Msg.policy_whatweknow_p1),
h('h3', Msg.policy_howweuse),
h('hr'),
h('h2', Msg.policy_howweuse),
h('p', Msg.policy_howweuse_p1),
h('p', Msg.policy_howweuse_p2),
h('h3', Msg.policy_whatwetell),
h('hr'),
h('h2', Msg.policy_whatwetell),
h('p', Msg.policy_whatwetell_p1),
h('h3', Msg.policy_links),
h('hr'),
h('h2', Msg.policy_links),
h('p', Msg.policy_links_p1),
h('h3', Msg.policy_ads),
h('hr'),
h('h2', Msg.policy_ads),
h('p', Msg.policy_ads_p1),
h('h3', Msg.policy_choices),
h('hr'),
h('h2', Msg.policy_choices),
h('p', Msg.policy_choices_open),
Pages.setHTML(h('p'), Msg.policy_choices_vpn),
]),

View File

@ -7,12 +7,14 @@ define([
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),
h('.row.cp-page-title', h('h1', Msg.tos_title)),
h('.row', [
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()
]);

View File

@ -4,44 +4,5 @@
&.cp-page-privacy {
.infopages_main();
#cp-main {
background: #fff;
}
.cp-privacy-top {
padding-top: 3em;
padding-bottom: 3em;
background-image: url(/customize/images/cover-privacy.jpg);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
.container {
color: #fff;
font-family: "Open Sans";
h1 {
font-weight: 700;
}
a {
color: #fff;
text-decoration: underline;
}
p {
padding-top: 1em;
}
}
}
.cp-privacy {
hr {
margin-left: 0;
width: 15rem;
border-top: 2px solid #4591C4;
}
h3 {
color: #1E1F1F;
font-weight: 700;
}
p {
color: #3F4141;
}
}
}