diff --git a/customize.dist/src/build.js b/customize.dist/src/build.js index b58041e33..b07b88775 100644 --- a/customize.dist/src/build.js +++ b/customize.dist/src/build.js @@ -26,17 +26,20 @@ var fragments = {}; 'fork', 'terms', 'privacy', + 'about', 'logo', + 'noscript', ].forEach(function (name) { fragments[name] = read('./fragments/' + name + '.html'); }); // build static pages -['index', 'privacy', 'terms'].forEach(function (page) { +['index', 'privacy', 'terms', 'about',].forEach(function (page) { var source = swap(template, { fork: fragments.fork, main: fragments[page], logo: fragments.logo, + noscript: fragments.noscript, }); write('../' + page + '.html', source); }); diff --git a/customize.dist/src/fragments/about.html b/customize.dist/src/fragments/about.html new file mode 100644 index 000000000..f1af5d263 --- /dev/null +++ b/customize.dist/src/fragments/about.html @@ -0,0 +1,10 @@ +
+

About

+
+ +

+ +

+

+ + diff --git a/customize.dist/src/fragments/fork.html b/customize.dist/src/fragments/fork.html index 92bbf8f87..5b0e26a67 100644 --- a/customize.dist/src/fragments/fork.html +++ b/customize.dist/src/fragments/fork.html @@ -1,2 +1,3 @@ - + + diff --git a/customize.dist/src/fragments/index.html b/customize.dist/src/fragments/index.html index 91f33178d..1158ddcee 100644 --- a/customize.dist/src/fragments/index.html +++ b/customize.dist/src/fragments/index.html @@ -1,52 +1,26 @@ -
- -

Unity is Strength - Collaboration is Key

+
+
+ + + + +
+
-

-

- -

-

- -

+

-
(Open in a new tab) - - -
- - - - -
+
+
+
+
diff --git a/customize.dist/src/fragments/noscript.html b/customize.dist/src/fragments/noscript.html new file mode 100644 index 000000000..18afd4f6f --- /dev/null +++ b/customize.dist/src/fragments/noscript.html @@ -0,0 +1,12 @@ +
+ +
+ diff --git a/customize.dist/src/fragments/privacy.html b/customize.dist/src/fragments/privacy.html index 978c930d9..9baf5cb05 100644 --- a/customize.dist/src/fragments/privacy.html +++ b/customize.dist/src/fragments/privacy.html @@ -1,5 +1,4 @@
-

diff --git a/customize.dist/src/fragments/table.html b/customize.dist/src/fragments/table.html new file mode 100644 index 000000000..3db6c6c76 --- /dev/null +++ b/customize.dist/src/fragments/table.html @@ -0,0 +1,14 @@ + + diff --git a/customize.dist/src/fragments/terms.html b/customize.dist/src/fragments/terms.html index 45a3dde92..ed187fe05 100644 --- a/customize.dist/src/fragments/terms.html +++ b/customize.dist/src/fragments/terms.html @@ -1,5 +1,4 @@
-

diff --git a/customize.dist/src/template.html b/customize.dist/src/template.html index 0e0386080..22013b85f 100644 --- a/customize.dist/src/template.html +++ b/customize.dist/src/template.html @@ -19,6 +19,8 @@
{{logo}} +{{noscript}} + {{main}}
diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js index b3a1ea63b..a0e55c324 100644 --- a/customize.dist/translations/messages.js +++ b/customize.dist/translations/messages.js @@ -264,7 +264,7 @@ define(function () { out.main_howitworks = 'How It Works'; out.main_howitworks_p1 = 'CryptPad uses a variant of the Operational transformation algorithm which is able to find distributed consensus using a Nakamoto Blockchain, a construct popularized by Bitcoin. This way the algorithm can avoid the need for a central server to resolve Operational Transform Edit Conflicts and without the need for resolving conflicts, the server can be kept unaware of the content which is being edited on the pad.'; out.main_about = 'About'; - out.main_about_p1 = 'You can read more about our privacy policy and terms of service.'; + out.main_about_p1 = 'You can read more about how CryptPad works, our privacy policy and terms of service.'; out.main_about_p2 = 'If you have any questions or comments, you can tweet us, open an issue on github, come say hi on irc (irc.freenode.net), or send us an email.'; out.main_openFileManager = 'Open in a new tab';