text4u
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

home.antlers.html 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355
  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. <!-- FOOTER -->
  170. <div class="container-fluid p-0 m-0">
  171. <div class="m-0 px-5 d-flex" style="background-color: #FFF">
  172. <div class="flex-grow-1 p-5">
  173. <img class="mb-4 ms-5" src="/assets/svg/logo.svg" width="120">
  174. <p class="font-16 mb-5" style="line-height: 16px;font-weight:600;"> Bold flavours, savoury snacks,<br/> Taste adventures.</p>
  175. <div class="d-flex flex-wrap mt-5" style="height: fit-content;">
  176. <img class="me-3" src="/assets/svg/linkedin.svg" width="20">
  177. <img class="me-3" src="/assets/svg/message.svg" width="20">
  178. <img class="me-3" src="/assets/svg/twitter.svg" width="20">
  179. <img class="me-3" src="/assets/svg/twoo.svg" width="20">
  180. </div>
  181. </div>
  182. <div class="flex-grow-1 py-5 px-3">
  183. <nav class="footer-nav">
  184. <ul>
  185. <li><a class="font-16" href="#">Home</a></li>
  186. <li><a class="font-16" href="#">Introduction</a></li>
  187. <li><a class="font-16" href="#">What is Text4u?</a></li>
  188. </ul>
  189. </nav>
  190. </div>
  191. <div class="flex-grow-1 py-5 px-3">
  192. <ul class="p-0 m-0">
  193. <li class="mb-3">
  194. <div class="row">
  195. <div class="col-2 p-0">
  196. <img class="ms-auto me-2" src="/assets/svg/mapmark.svg" width="20">
  197. </div>
  198. <div class="col">
  199. <p class="font-16">Text4U Sdn Bhd, No.89 Jalan KP 7 <br/> Kawasan Perindustrian, Kota Puteri, 48100 Batu Arang, Selangor</p>
  200. </div>
  201. </div>
  202. </li>
  203. <li class="mb-3">
  204. <div class="row">
  205. <div class="col-2 p-0">
  206. <img class="ms-auto me-2" src="/assets/svg/phone.svg" width="20">
  207. </div>
  208. <div class="col">
  209. <p class="font-16">+60 18-265 4321</p>
  210. </div>
  211. </div>
  212. </li>
  213. <li class="mb-3">
  214. <div class="row">
  215. <div class="col-2 p-0">
  216. <img class="ms-auto me-2" src="/assets/svg/envelope.svg" width="20">
  217. </div>
  218. <div class="col">
  219. <p class="font-16">hello@aducktive.com</p>
  220. </div>
  221. </div>
  222. </li>
  223. </ul>
  224. </div>
  225. <div class="flex-grow-1 py-5 px-3">
  226. <p class="fw-bold font-21">Enjoy Subscriber Perks</p>
  227. <p class="font-16 mb-4">Sign up for emails and receive early access to new arrivals, <br/> sales, event and more.</p>
  228. <div class="input-group border-0 mb-5" style="overflow: hidden;">
  229. <input type="text" class="form-control border-0 px-4 py-3" placeholder="Your email address" style="border-radius: 30px 0 0 30px;background-color: #F9F9F9;">
  230. <button class="btn btn-outline-secondary text-white border-0 px-4 py-3" type="button" id="button-addon2" style="border-radius: 0 30px 30px 0px;background-color: #BB5C3F;">Subscribe</button>
  231. </div>
  232. <p class="font-16">Copyright © 2024 TEXT4U SDN BHD 1384616-H. All rights reserved.</p>
  233. </div>
  234. </div>
  235. </div>
  236. <!-- COPYRIGHT -->
  237. <div class="container-fluid p-0 m-0">
  238. <div class="row m-0 p-0 d-flex bg-light" >
  239. <div class="d-flex p-0">
  240. <div class=" mx-auto d-flex px-5 py-3">
  241. <div class="my-auto mx-auto me-4">
  242. <img src="/assets/svg/logo.svg" width="50">
  243. </div>
  244. <div class="my-auto mx-auto">
  245. <p class="font-18 m-0" style="font-weight: 500;">
  246. Text4u. Notify your database easily.
  247. </p>
  248. </div>
  249. </div>
  250. <div class="flex-grow-1 py-2 px-5 d-flex justify-content-end trapezium" style="background-color: #396868">
  251. <p class="text-light font-18 fw-light m-0 mx-3 my-auto">
  252. Copyright © 2024 Text4u.
  253. </p>
  254. <p class="text-light font-18 fw-light m-0 mx-3 my-auto">
  255. All Rights Reserved.
  256. </p>
  257. </div>
  258. </div>
  259. <div class="">
  260. </div>
  261. </div>
  262. </div>
  263. <!-- Button trigger modal -->
  264. <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>
  265. <!-- Modal -->
  266. <div class="modal fade" id="enquiryModal" tabindex="-1">
  267. <div class="modal-dialog modal-dialog-centered">
  268. <div class="modal-content">
  269. <div class="modal-body text-center">
  270. <p>Your Enquiry has been submitted, we will contact you soon</p>
  271. <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
  272. </div>
  273. </div>
  274. </div>
  275. </div>
  276. <script>
  277. let enquiryForm = document.getElementById("enquiry-form")
  278. enquiryForm.addEventListener('submit', async function (e) {
  279. e.preventDefault(); // Prevent form from submitting the traditional way
  280. // Gather form data
  281. const formData = {
  282. name: document.getElementById('name').value,
  283. email: document.getElementById('email').value,
  284. phone: document.getElementById('phone').value
  285. };
  286. try {
  287. // Send POST request
  288. const response = await fetch('/api/enquiry/', {
  289. method: 'POST',
  290. headers: {
  291. 'Content-Type': 'application/json'
  292. },
  293. body: JSON.stringify(formData) // Convert form data to JSON
  294. });
  295. // Parse JSON response
  296. const result = await response.json();
  297. // Handle the response
  298. if (response.ok) {
  299. console.log('Enquiry submitted successfully:', result);
  300. document.getElementById('name').value = ""
  301. document.getElementById('email').value = ""
  302. document.getElementById('phone').value = ""
  303. document.getElementById("triggerModal").click()
  304. } else {
  305. console.error('Submission failed:', result);
  306. alert('Submission failed. Please try again.');
  307. }
  308. } catch (error) {
  309. console.error('Error occurred:', error);
  310. alert('An error occurred while submitting your enquiry.');
  311. }
  312. });
  313. </script>