A self hosted chat application with end-to-end encrypted messaging.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

111 lines
5.2 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. <!DOCTYPE HTML>
  2. <html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
  3. <head>
  4. <div th:replace="fragments/head :: headFragment">
  5. <meta charset="UTF-8">
  6. <title id="pageTitle">Home</title>
  7. </div>
  8. <!-- <script th:src="@{js/my_Crypto.js}" type="text/javascript"></script> -->
  9. <script src="https://code.jquery.com/jquery-2.1.4.min.js" th:if="false"></script>
  10. <script src="http://blackpeppersoftware.github.io/thymeleaf-fragment.js/thymeleaf-fragment.js" defer="defer"
  11. th:if="false"></script>
  12. </link>
  13. </head>
  14. <body>
  15. <div th:include="fragments/navbar :: navbarFragment"></div>
  16. <header id="home-section">
  17. <div class="dark-overlay">
  18. <div class="home-inner container">
  19. <div class="row">
  20. <div class="col-lg-8 col-md-6 d-lg-block ">
  21. <!-- <div class="jumbotron bg-primary"> -->
  22. <div class="d-flex rounded">
  23. <div class="">
  24. <h1 class="display-4">Chatto - Self Hosted, Minimal E2E Chat</h1>
  25. <!-- <p th:if="${chatUser}" th:text="'username: ' + ${chatUser.userName}">You need to login</p>
  26. <th:block th:each="userName: ${userNames}">
  27. <div th:text="${userName}"></div>
  28. </th:block> -->
  29. <span th:if="${message}"> </span>
  30. <div th:switch="${#authentication.name}">
  31. <p th:case="'anonymousUser'">Welcome guest
  32. </p>
  33. <p th:case="*"><span th:text="'Welcome ' + ${#authentication.name}"></span></p>
  34. </div>
  35. <p>Chatto is a minimal, end to end encrypted chat application.</p>
  36. <!-- <button class="btn btn-secondary"> <a href="registration.html" th:href="{@/registration}">Get Started</a></button> -->
  37. <a class="btn btn-secondary" href="registration.html" th:href="@{/registration}">Get Started</a>
  38. </div>
  39. </div>
  40. </div>
  41. <div class="col-lg-4 col-md-6">
  42. <div class="card bg-primary text-justified">
  43. <h2 class="card-header text-center">Features</h2>
  44. <div class="card-body ">
  45. <p class="card-text lead">
  46. <ul class="">
  47. <li>
  48. <p class="lead">
  49. <!-- <i class="fas fa-check"></i> -->
  50. Self Hosted
  51. </p>
  52. </li>
  53. <li>
  54. <p class="lead">
  55. <!-- <i class="fas fa-check"></i> -->
  56. End To End Encrypted Messaging
  57. </p>
  58. </li>
  59. <li>
  60. <p class="lead">
  61. <!-- <i class="fas fa-check"></i> -->
  62. Free Software (AGPLv3 Licensed)</p>
  63. </li>
  64. <li>
  65. <p class="lead">
  66. <!-- <i class="fas fa-check"></i> -->
  67. Built With Java And Spring
  68. </p>
  69. </li>
  70. </ul>
  71. </p>
  72. <!-- <p class="card-text">
  73. Open Source
  74. </p>
  75. <p class="card-text">
  76. Built with Java
  77. </p> -->
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. </div>
  84. </header>
  85. <section id="my-section">
  86. <div class="container">
  87. <div class="row">
  88. <div class="col text-center py-5">
  89. <h1 class="display-4">
  90. <p class="lead">Lorem ipsum dolor sit, amet consectetur adipisicing elit. Aliquid illum ea accusamus animi voluptate. Quam temporibus aperiam, similique in labore sint quasi harum. Praesentium enim iste dicta quaerat perspiciatis eos.</p>
  91. </h1>
  92. <a href="#" class="btn btn-secondary">Find out more</a>
  93. </div>
  94. </div>
  95. </div>
  96. </section>
  97. <th:block th:include="fragments/head :: footerFragment"></th:block>
  98. </body>
  99. </html>