Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

294 рядки
9.9 KiB

  1. (function() {
  2. var exports = {};
  3. exports.id = 2975;
  4. exports.ids = [2975];
  5. exports.modules = {
  6. /***/ 1288:
  7. /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
  8. "use strict";
  9. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5282);
  10. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
  11. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9297);
  12. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  13. const PageBanner = ({
  14. pageTitle
  15. }) => {
  16. return /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
  17. className: "page-title-area",
  18. children: /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
  19. className: "d-table",
  20. children: /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
  21. className: "d-table-cell",
  22. children: /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
  23. className: "container",
  24. children: /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("h2", {
  25. children: pageTitle
  26. })
  27. })
  28. })
  29. })
  30. });
  31. };
  32. /* harmony default export */ __webpack_exports__["Z"] = (PageBanner);
  33. /***/ }),
  34. /***/ 3895:
  35. /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
  36. "use strict";
  37. // ESM COMPAT FLAG
  38. __webpack_require__.r(__webpack_exports__);
  39. // EXPORTS
  40. __webpack_require__.d(__webpack_exports__, {
  41. "default": function() { return /* binding */ yamaha_AboutUs; },
  42. "getServerSideProps": function() { return /* binding */ getServerSideProps; }
  43. });
  44. // EXTERNAL MODULE: external "react/jsx-runtime"
  45. var jsx_runtime_ = __webpack_require__(5282);
  46. // EXTERNAL MODULE: external "react"
  47. var external_react_ = __webpack_require__(9297);
  48. // EXTERNAL MODULE: ./components/_App/NavbarYamaha.js
  49. var NavbarYamaha = __webpack_require__(2478);
  50. // EXTERNAL MODULE: ./components/_App/FooterYamaha.js
  51. var FooterYamaha = __webpack_require__(362);
  52. // EXTERNAL MODULE: ./components/Common/PageBanner.js
  53. var PageBanner = __webpack_require__(1288);
  54. // EXTERNAL MODULE: ./components/Common/Partner.js
  55. var Partner = __webpack_require__(6238);
  56. // EXTERNAL MODULE: ./node_modules/next/link.js
  57. var next_link = __webpack_require__(1664);
  58. ;// CONCATENATED MODULE: ./components/Yamaha/AboutUs/AboutUs.js
  59. const About1 = () => {
  60. return /*#__PURE__*/(0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
  61. children: [/*#__PURE__*/jsx_runtime_.jsx("div", {
  62. className: "about-area ptb-80",
  63. children: /*#__PURE__*/jsx_runtime_.jsx("div", {
  64. className: "container",
  65. children: /*#__PURE__*/(0,jsx_runtime_.jsxs)("div", {
  66. className: "row align-items-center",
  67. children: [/*#__PURE__*/jsx_runtime_.jsx("div", {
  68. className: "col-lg-6 col-md-12",
  69. children: /*#__PURE__*/jsx_runtime_.jsx("div", {
  70. className: "about-image",
  71. children: /*#__PURE__*/jsx_runtime_.jsx("img", {
  72. src: "/images/about-one.png",
  73. alt: "image"
  74. })
  75. })
  76. }), /*#__PURE__*/jsx_runtime_.jsx("div", {
  77. className: "col-lg-6 col-md-12",
  78. children: /*#__PURE__*/(0,jsx_runtime_.jsxs)("div", {
  79. className: "about-content",
  80. children: [/*#__PURE__*/(0,jsx_runtime_.jsxs)("div", {
  81. className: "section-title",
  82. children: [/*#__PURE__*/jsx_runtime_.jsx("h2", {
  83. children: "About Us"
  84. }), /*#__PURE__*/jsx_runtime_.jsx("div", {
  85. className: "bar"
  86. }), /*#__PURE__*/jsx_runtime_.jsx("p", {
  87. children: "Thamrin Group adalah perusahaan terkemuka di Sumatera Selatan & Bengkulu dengan fokus bisnis pada sektor otomotif dan properti."
  88. })]
  89. }), /*#__PURE__*/(0,jsx_runtime_.jsxs)("div", {
  90. className: "section-title",
  91. children: [/*#__PURE__*/jsx_runtime_.jsx("h2", {
  92. children: "Visi"
  93. }), /*#__PURE__*/jsx_runtime_.jsx("div", {
  94. className: "bar"
  95. }), /*#__PURE__*/jsx_runtime_.jsx("p", {
  96. children: "Berdampak bagi masyarakat melalui SDM yang dimiliki, pelayanan prima & pengembangan usaha secara berkelanjutan dengan membangun perusahaan yang terpercaya & memiliki reputasi yang baik."
  97. })]
  98. }), /*#__PURE__*/(0,jsx_runtime_.jsxs)("div", {
  99. className: "section-title",
  100. children: [/*#__PURE__*/jsx_runtime_.jsx("h2", {
  101. children: "Misi"
  102. }), /*#__PURE__*/jsx_runtime_.jsx("div", {
  103. className: "bar"
  104. }), /*#__PURE__*/jsx_runtime_.jsx("p", {
  105. children: "1. Melayani 21,7 juta pelanggan di tahun 2022"
  106. }), /*#__PURE__*/jsx_runtime_.jsx("br", {}), /*#__PURE__*/jsx_runtime_.jsx("p", {
  107. children: "2. Mengembangkan pemimpin yang sukses"
  108. }), /*#__PURE__*/jsx_runtime_.jsx("br", {}), /*#__PURE__*/jsx_runtime_.jsx("p", {
  109. children: "3. Mengelola proses administrasi yang simple & excellent"
  110. }), /*#__PURE__*/jsx_runtime_.jsx("br", {}), /*#__PURE__*/jsx_runtime_.jsx("p", {
  111. children: "4. Mendukung continuous improvement"
  112. }), /*#__PURE__*/jsx_runtime_.jsx("br", {})]
  113. })]
  114. })
  115. })]
  116. })
  117. })
  118. }), /*#__PURE__*/jsx_runtime_.jsx("div", {
  119. className: "ready-to-talk",
  120. children: /*#__PURE__*/(0,jsx_runtime_.jsxs)("div", {
  121. className: "container",
  122. children: [/*#__PURE__*/jsx_runtime_.jsx("br", {}), /*#__PURE__*/jsx_runtime_.jsx("br", {}), /*#__PURE__*/jsx_runtime_.jsx("h3", {
  123. children: "Ingin Info Lebih Lanjut ?"
  124. }), /*#__PURE__*/jsx_runtime_.jsx("p", {
  125. children: "Tanyakan Kepada Pihak Kami Untuk Info Lebih Lanjutnya"
  126. }), /*#__PURE__*/jsx_runtime_.jsx(next_link.default, {
  127. href: "/contact",
  128. children: /*#__PURE__*/jsx_runtime_.jsx("a", {
  129. className: "btn btn-primary",
  130. children: "Contact Us"
  131. })
  132. })]
  133. })
  134. })]
  135. });
  136. };
  137. /* harmony default export */ var AboutUs = (About1);
  138. // EXTERNAL MODULE: ./api/latest_news/news.js
  139. var latest_news_news = __webpack_require__(8888);
  140. var news_default = /*#__PURE__*/__webpack_require__.n(latest_news_news);
  141. ;// CONCATENATED MODULE: ./pages/yamaha/AboutUs/index.js
  142. function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  143. function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  144. const News = function (_ref) {
  145. let {
  146. backend,
  147. news,
  148. othernews
  149. } = _ref,
  150. props = _objectWithoutProperties(_ref, ["backend", "news", "othernews"]);
  151. return /*#__PURE__*/(0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
  152. children: [/*#__PURE__*/jsx_runtime_.jsx(NavbarYamaha/* default */.Z, {}), /*#__PURE__*/jsx_runtime_.jsx(PageBanner/* default */.Z, {
  153. pageTitle: "About Us"
  154. }), /*#__PURE__*/jsx_runtime_.jsx(AboutUs, {}), /*#__PURE__*/jsx_runtime_.jsx(FooterYamaha/* default */.Z, {})]
  155. });
  156. };
  157. /* harmony default export */ var yamaha_AboutUs = (News);
  158. async function getServerSideProps(context) {
  159. var news = [];
  160. var othernews = [];
  161. const backend = process.env.BACKEND_SERVER_URI;
  162. var res = await news_default().GetNewsYamaha();
  163. if (res["STATUS"] === 1) {
  164. news = res["DATA"]["latestNews"];
  165. }
  166. var res = await news_default().GetOtherNewsYamaha();
  167. if (res["STATUS"] === 1) {
  168. othernews = res["DATA"]["latestNews"];
  169. }
  170. return {
  171. props: {
  172. news,
  173. othernews,
  174. backend
  175. } // will be passed to the page component as props
  176. };
  177. }
  178. /***/ }),
  179. /***/ 8074:
  180. /***/ (function(module) {
  181. "use strict";
  182. module.exports = require("@apollo/client");;
  183. /***/ }),
  184. /***/ 1683:
  185. /***/ (function(module) {
  186. "use strict";
  187. module.exports = require("cross-fetch");;
  188. /***/ }),
  189. /***/ 8417:
  190. /***/ (function(module) {
  191. "use strict";
  192. module.exports = require("next/dist/next-server/lib/router-context.js");;
  193. /***/ }),
  194. /***/ 2238:
  195. /***/ (function(module) {
  196. "use strict";
  197. module.exports = require("next/dist/next-server/lib/router/utils/get-asset-path-from-route.js");;
  198. /***/ }),
  199. /***/ 6731:
  200. /***/ (function(module) {
  201. "use strict";
  202. module.exports = require("next/router");;
  203. /***/ }),
  204. /***/ 9297:
  205. /***/ (function(module) {
  206. "use strict";
  207. module.exports = require("react");;
  208. /***/ }),
  209. /***/ 9337:
  210. /***/ (function(module) {
  211. "use strict";
  212. module.exports = require("react-feather");;
  213. /***/ }),
  214. /***/ 5282:
  215. /***/ (function(module) {
  216. "use strict";
  217. module.exports = require("react/jsx-runtime");;
  218. /***/ })
  219. };
  220. ;
  221. // load runtime
  222. var __webpack_require__ = require("../../webpack-runtime.js");
  223. __webpack_require__.C(exports);
  224. var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
  225. var __webpack_exports__ = __webpack_require__.X(0, [1664,4755,6371,7798,6238,8888], function() { return __webpack_exec__(3895); });
  226. module.exports = __webpack_exports__;
  227. })();