what-is-cryptpad.js 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. define([
  2. '/api/config',
  3. '/common/hyperscript.js',
  4. '/customize/messages.js',
  5. '/customize/pages.js'
  6. ], function (Config, h, Msg, Pages) {
  7. var urlArgs = Config.requireConf.urlArgs;
  8. return function () {
  9. return h('div#cp-main', [
  10. Pages.infopageTopbar(),
  11. h('div.container-fluid.cp-what-is',[
  12. h('div.container',[
  13. h('div.row',[
  14. h('div.col-12.text-center', h('h1', Msg.whatis_title)),
  15. ]),
  16. ]),
  17. ]),
  18. h('div.container.cp-container', [
  19. h('div.row.align-items-center', [
  20. h('div.col-12.col-sm-12.col-md-12.col-lg-6', [
  21. Pages.setHTML(h('h2'), Msg.whatis_collaboration),
  22. Pages.setHTML(h('p'), Msg.whatis_collaboration_p1),
  23. Pages.setHTML(h('p'), Msg.whatis_collaboration_p2),
  24. Pages.setHTML(h('p'), Msg.whatis_collaboration_p3),
  25. ]),
  26. h('div.col-12.col-sm-12.col-md-12.col-lg-6', [
  27. h('img', { src: '/customize/images/pad_screenshot.png?' + urlArgs }),
  28. ]),
  29. ]),
  30. h('div.row.align-items-center', [
  31. h('div.col-12.col-sm-12.col-md-12.col-lg-6.order-2', [
  32. Pages.setHTML(h('h2'), Msg.whatis_zeroknowledge),
  33. Pages.setHTML(h('p'), Msg.whatis_zeroknowledge_p1),
  34. Pages.setHTML(h('p'), Msg.whatis_zeroknowledge_p2),
  35. Pages.setHTML(h('p'), Msg.whatis_zeroknowledge_p3),
  36. ]),
  37. h('div.col-12.col-sm-12.col-md-12.col-lg-6.order-1', [
  38. h('img#zeroknowledge', { src: '/customize/images/zeroknowledge_small.png?' + urlArgs }),
  39. ]),
  40. ]),
  41. h('div.row.align-items-center', [
  42. h('div.col-12.col-sm-12.col-md-12.col-lg-6', [
  43. Pages.setHTML(h('h2'), Msg.whatis_drive),
  44. Pages.setHTML(h('p'), Msg.whatis_drive_p1),
  45. Pages.setHTML(h('p'), Msg.whatis_drive_p2),
  46. Pages.setHTML(h('p'), Msg.whatis_drive_p3),
  47. ]),
  48. h('div.col-12.col-sm-12.col-md-12.col-lg-6', [
  49. h('img', { src: '/customize/images/drive_screenshot.png?' + urlArgs }),
  50. ]),
  51. ]),
  52. h('div.row.align-items-center', [
  53. h('div.col-12', [
  54. Pages.setHTML(h('h2.text-center'), Msg.whatis_business),
  55. Pages.setHTML(h('p'), Msg.whatis_business_p1),
  56. Pages.setHTML(h('p'), Msg.whatis_business_p2),
  57. ]),
  58. ]),
  59. ]),
  60. Pages.infopageFooter(),
  61. ]);
  62. };
  63. });