text4u
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

home.antlers.html 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. <!--HERO SECTION-->
  2. <div class="px-4 py-5" style="height: 120vh;">
  3. <div class="d-flex flex-column position-relative" style="height: 100%;overflow: hidden;">
  4. <!-- <nav class="navbar navbar-expand-lg p-0" style="background-color: rgba(0, 0, 0, 0);">
  5. <div class="container-fluid p-0">
  6. <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
  7. <span class="navbar-toggler-icon"></span>
  8. </button>
  9. <div class="collapse navbar-collapse d-flex" id="navbarNavDropdown">
  10. <ul class="navbar-nav me-auto me-md-0 ms-md-auto">
  11. <li class="nav-item">
  12. <div class="p-3" style="background-color: rgba(0, 0, 0, 0);">
  13. <div class="bg-light trapezium ps-5 pe-4 py-1"><a class="nav-link p-0" href="#">Pricing</a></div>
  14. </div>
  15. </li>
  16. <li class="nav-item">
  17. <div class="p-3" style="background-color: rgba(255, 255, 255, 0);">
  18. <div class="bg-white trapezium-end ps-5 pe-4 py-1"><a class="nav-link p-0" href="#">Pricing</a></div>
  19. </div>
  20. </li>
  21. </ul>
  22. </div>
  23. </div>
  24. </nav> -->
  25. <!--TEMP NAVBAR-->
  26. <nav class="navbar navbar-expand-lg w-100" style="position: absolute;z-index: 2;background-color: rgba(255, 255, 255, 0.2);">
  27. <div class="container-fluid">
  28. <a class="navbar-brand py-3 px-5" href="/">
  29. <img src="/assets/svg/logo.svg" width="100">
  30. </a>
  31. <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
  32. <span class="navbar-toggler-icon"></span>
  33. </button>
  34. <div class="collapse navbar-collapse d-flex" id="navbarNavDropdown">
  35. <ul class="navbar-nav me-auto me-md-0 ms-md-auto">
  36. <li class="nav-item mx-3">
  37. <a class="nav-link active fw-bolder font-18" aria-current="page" href="/" style="color: #fff;">Home</a>
  38. </li>
  39. <li class="nav-item mx-3">
  40. <a class="nav-link fw-bolder font-18" href="#" style="color: #fff;">Introduction</a>
  41. </li>
  42. <li class="nav-item mx-3">
  43. <a class="nav-link fw-bolder font-18" href="#" style="color: #fff;">What is Text4u?</a>
  44. </li>
  45. <li class="nav-item mx-3">
  46. <a class="nav-link fw-bolder font-18" href="#" style="color: #159B9B;">Submit</a>
  47. </li>
  48. </ul>
  49. </div>
  50. </div>
  51. </nav>
  52. <video autoplay muted loop style="width: 100%;">
  53. <source src="/assets/video/hero.mp4" type="video/mp4">
  54. </video>
  55. <div class="w-100 flex-grow-1 row p-0 m-0 position-absolute" style="overflow: hidden;z-index: 1; background: rgba(0, 0, 0, 0.5); height: 100%;">
  56. <div class="col-4 d-none d-lg-flex">
  57. <img src="/assets/img/group_21.png" class="img-fluid mt-auto mx-auto" style="height: 75%;" />
  58. </div>
  59. <div class="col-12 col-lg-8 px-5 d-flex">
  60. <div class="my-auto w-100">
  61. <div class="ms-auto mb-4" style="width: fit-content;">
  62. <h1 class="fw-bolder hero-main-text text-white">DATA ANDA BANYAK?</h1>
  63. </div>
  64. <div class="py-3 px-5 ms-auto mb-4 trapezium-hero" style="width: fit-content;background-color: #BB5C3F;">
  65. <p class="text-white m-0 mx-5 my-2" style="font-weight: 500;">Sentiasa sukar buat retarget marketing terus ke pelanggan?</p>
  66. </div>
  67. <div class="py-3 px-5 ms-auto mb-4 trapezium-hero" style="width: fit-content;background-color: #DE9C46;">
  68. <p class="text-white m-0 mx-5 my-2" style="font-weight: 500;">Susah nak reach Database anda dalam satu masa?</p>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. <div class="p-0 m-0">
  76. <div class="row m-0" style="background-color: #DED7C4;">
  77. <div class="col-5 d-flex py-5">
  78. <div class="my-auto mx-auto">
  79. <img src="/assets/svg/logo.svg" width="250">
  80. </div>
  81. <div class="my-auto mx-auto">
  82. <p class="font-50 fw-bolder text-black m-0" style="line-height: 61px;">
  83. Notify your </br> Database </br> easily.
  84. </p>
  85. </div>
  86. </div>
  87. <div class="bg-info trapezium col-7" style="background: url(/assets/img/path_34.jpg) center center no-repeat; background-size: cover;">
  88. <!-- THIS IS THE IMAGE STUFF -->
  89. </div>
  90. </div>
  91. </div>
  92. <div class="container-fluid p-0 m-0">
  93. <div class="d-flex flex-column m-0 p-5" style="min-height: 500px; background: url(/assets/img/group_29.jpg) center center no-repeat; background-size: cover;">
  94. <p class="font-37 text-white m-0 mb-5" style="font-weight: 500;">
  95. Rakam Notifikasai Perniagaan Anda
  96. </p>
  97. <div class="d-flex">
  98. <div class="flex-grow-1 p-4">
  99. <div class="position-relative" style="padding-top: 85%;background-color: #BB5C3F;border-radius: 25px;border: 8px dashed #DD9C47;">
  100. <div class="position-absolute text-white d-flex" style="top:0; left: 0; width: 100%; height: 100%;">
  101. <div class="my-auto px-5">
  102. <img class="mb-5" src="/assets/svg/bell.svg" width="40">
  103. <p class="text-white font-37 fw-bolder" style="line-height: 44px;">Notifikasi <br/> secara <br/> terus</p>
  104. </div>
  105. </div>
  106. </div>
  107. </div>
  108. <div class="flex-grow-1 p-4">
  109. <div class="position-relative" style="padding-top: 85%;background-color: #BB5C3F;border-radius: 25px;border: 8px dashed #DD9C47;">
  110. <div class="position-absolute text-white d-flex" style="top:0; left: 0; width: 100%; height: 100%;">
  111. <div class="my-auto px-5">
  112. <img class="mb-5" src="/assets/svg/table.svg" width="40">
  113. <p class="text-white font-37 fw-bolder" style="line-height: 44px;">Pengurusan <br/> database <br/> lebih teratur</p>
  114. </div>
  115. </div>
  116. </div>
  117. </div>
  118. <div class="flex-grow-1 p-4">
  119. <div class="position-relative" style="padding-top: 85%;background-color: #BB5C3F;border-radius: 25px;border: 8px dashed #DD9C47;">
  120. <div class="position-absolute text-white d-flex" style="top:0; left: 0; width: 100%; height: 100%;">
  121. <div class="my-auto px-5">
  122. <img class="mb-5" src="/assets/svg/hands-helping.svg" width="40">
  123. <p class="text-white font-37 fw-bolder" style="line-height: 44px;">24/7 bantuan <br/> secara online</p>
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. <div class="flex-grow-1 p-4">
  129. <div class="position-relative" style="padding-top: 85%;">
  130. <div class="position-absolute text-white d-flex" style="top:0; left: 0; width: 100%; height: 100%;">
  131. <div class="my-auto mx-auto p-3">
  132. <img class="mb-5 w-100" src="/assets/img/group_22.png">
  133. </div>
  134. </div>
  135. </div>
  136. </div>
  137. </div>
  138. </div>
  139. </div>
  140. <div class="container-fluid p-0 m-0">
  141. <div class="row m-0" style="background-color: #DED7C4;min-height: 400px;">
  142. <div class="col-md-6" style="background: url(/assets/img/rectangle_56.jpg) center center no-repeat; background-size: cover;">
  143. <!-- THIS IS THE IMAGE STUFF -->
  144. </div>
  145. <div class="col-md-6 px-5 py-4 d-flex flex-column form-container">
  146. <div class="py-5">
  147. <div class="mx-auto mb-5" style="width: 70%;">
  148. <h4 class="fw-bold">Hubungi kami untuk mengetahui lebih lanjut :</h4>
  149. </div>
  150. <form id="enquiry-form" class="mx-auto" style="width: 70%;">
  151. <div class="form-group">
  152. <label for="name">Nama Perniagaan :</label>
  153. <input type="text" id="name" name="name" required>
  154. </div>
  155. <div class="form-group">
  156. <label for="email">Email :</label>
  157. <input type="email" id="email" name="email" required>
  158. </div>
  159. <div class="form-group">
  160. <label for="phone">No. Telefon :</label>
  161. <input type="tel" id="phone" name="phone" required>
  162. </div>
  163. <button type="submit" class="submit-btn">Submit</button>
  164. </form>
  165. </div>
  166. </div>
  167. </div>
  168. </div>
  169. <!-- Button trigger modal -->
  170. <button id="triggerModal" type="button" style="max-height: 1px; max-width: 1px;position: absolute; top: -100px; left: -100px;" data-bs-toggle="modal" data-bs-target="#enquiryModal"> </button>
  171. <!-- Modal -->
  172. <div class="modal fade" id="enquiryModal" tabindex="-1">
  173. <div class="modal-dialog modal-dialog-centered">
  174. <div class="modal-content">
  175. <div class="modal-body text-center">
  176. <p>Your Enquiry has been submitted, we will contact you soon</p>
  177. <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
  178. </div>
  179. </div>
  180. </div>
  181. </div>
  182. <!-- FOOTER -->
  183. <div class="container-fluid p-0 m-0">
  184. <div class="row m-0 p-0 d-flex" style="background-color: #396868">
  185. <div class="d-flex p-0">
  186. <div class="bg-light mx-auto d-flex px-5 py-3">
  187. <div class="my-auto mx-auto me-4">
  188. <img src="/assets/svg/logo.svg" width="50">
  189. </div>
  190. <div class="my-auto mx-auto">
  191. <p class="font-18 m-0" style="font-weight: 500;">
  192. Text4u. Notify your database easily.
  193. </p>
  194. </div>
  195. </div>
  196. <div class="flex-grow-1 py-2 px-5 d-flex justify-content-end">
  197. <p class="text-light font-18 fw-light m-0 mx-3 my-auto">
  198. Copyright © 2024 Text4u.
  199. </p>
  200. <p class="text-light font-18 fw-light m-0 mx-3 my-auto">
  201. All Rights Reserved.
  202. </p>
  203. </div>
  204. </div>
  205. <div class="">
  206. </div>
  207. </div>
  208. </div>
  209. <script>
  210. let enquiryForm = document.getElementById("enquiry-form")
  211. enquiryForm.addEventListener('submit', async function (e) {
  212. e.preventDefault(); // Prevent form from submitting the traditional way
  213. // Gather form data
  214. const formData = {
  215. name: document.getElementById('name').value,
  216. email: document.getElementById('email').value,
  217. phone: document.getElementById('phone').value
  218. };
  219. try {
  220. // Send POST request
  221. const response = await fetch('/api/enquiry/', {
  222. method: 'POST',
  223. headers: {
  224. 'Content-Type': 'application/json'
  225. },
  226. body: JSON.stringify(formData) // Convert form data to JSON
  227. });
  228. // Parse JSON response
  229. const result = await response.json();
  230. // Handle the response
  231. if (response.ok) {
  232. console.log('Enquiry submitted successfully:', result);
  233. document.getElementById("triggerModal").click()
  234. } else {
  235. console.error('Submission failed:', result);
  236. alert('Submission failed. Please try again.');
  237. }
  238. } catch (error) {
  239. console.error('Error occurred:', error);
  240. alert('An error occurred while submitting your enquiry.');
  241. }
  242. });
  243. </script>