contact.js 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. define([
  2. '/common/hyperscript.js',
  3. '/customize/messages.js',
  4. '/customize/pages.js'
  5. ], function (h, Msg, Pages) {
  6. return function () {
  7. return h('div#cp-main', [
  8. Pages.infopageTopbar(),
  9. h('div.container-fluid.cp-contdet', [
  10. h('row.col-12.col-sm-12',
  11. h('h1.text-center', Msg.contact )
  12. )
  13. ]),
  14. h('div.container.cp-container', [
  15. h('div.row.cp-iconCont.align-items-center', [
  16. h('div.col-12',
  17. Pages.setHTML(h('h4.text-center'), Msg.main_about_p26)
  18. ),
  19. h('div.col-12.col-sm-6.col-md-3.col-lg-3',
  20. h('a.card', {href : "https://twitter.com/cryptpad"},
  21. h('div.card-body',
  22. Pages.setHTML(h('p'), Msg.main_about_p22)
  23. )
  24. )
  25. ),
  26. h('div.col-12.col-sm-6.col-md-3.col-lg-3',
  27. h('a.card', {href : "https://github.com/xwiki-labs/cryptpad/issues/"},
  28. h('div.card-body',
  29. Pages.setHTML(h('p'), Msg.main_about_p23)
  30. )
  31. )
  32. ),
  33. h('div.col-12.col-sm-6.col-md-3.col-lg-3',
  34. h('a.card', {href : "https://riot.im/app/#/room/#cryptpad:matrix.org"},
  35. h('div.card-body',
  36. Pages.setHTML(h('p'), Msg.main_about_p24)
  37. )
  38. )
  39. ),
  40. h('div.col-12.col-sm-6.col-md-3.col-lg-3',
  41. h('a.card', {href : "mailto:research@xwiki.com"},
  42. h('div.card-body',
  43. Pages.setHTML(h('p'), Msg.main_about_p25)
  44. )
  45. )
  46. ),
  47. ]),
  48. ]),
  49. Pages.infopageFooter(),
  50. ]);
  51. };
  52. });