index.html 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547
  1. <!DOCTYPE html>
  2. <html lang="zh-TW">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge, Chrome=1">
  7. <meta http-equiv="Cache-Control" content="no-cache">
  8. <title>AI Spokesgirl</title>
  9. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
  10. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css"
  11. integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
  12. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css"
  13. integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
  14. <link rel="preconnect" href="https://fonts.googleapis.com">
  15. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  16. <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap" rel="stylesheet">
  17. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet"
  18. integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
  19. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11.0.18/dist/sweetalert2.min.css">
  20. <link rel="stylesheet" href="static/owl.carousel.min.css">
  21. <link rel="stylesheet" href="static/owl.theme.default.min.css">
  22. <link rel="stylesheet" href="static/scss/style.css">
  23. <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
  24. <div id="fb-root"></div>
  25. <!-- Google Tag Manager -->
  26. <script>(function (w, d, s, l, i) {
  27. w[l] = w[l] || []; w[l].push({
  28. 'gtm.start':
  29. new Date().getTime(), event: 'gtm.js'
  30. }); var f = d.getElementsByTagName(s)[0],
  31. j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
  32. 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
  33. })(window, document, 'script', 'dataLayer', 'GTM-5M8S4GH');</script>
  34. <!-- End Google Tag Manager -->
  35. </head>
  36. <body>
  37. <!-- Google Tag Manager (noscript) -->
  38. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5M8S4GH" height="0" width="0"
  39. style="display:none;visibility:hidden"></iframe></noscript>
  40. <!-- End Google Tag Manager (noscript) -->
  41. <!-- ================================================================= -->
  42. <!-- navbar -->
  43. <div style="margin-bottom:100px" class="card">
  44. <img class="profile-bgimg card-img img-fluid" src="./static/img/index/BG.webp"></img>
  45. <img class="profile-bgimg-m card-img img-fluid" src="./static/img/index/BG_phone.webp"></img>
  46. <!-- 行動版選單 -->
  47. <div class="menu-box">
  48. <div class="menu-box2">
  49. <div style="font-size: 28px;" class="close_btn text-end">
  50. <i class="fas fa-times text-white me-3 mt-3"></i>
  51. </div>
  52. <ul class="navbar-nav ms-auto mb-2 mb-lg-0">
  53. <li class="nav-item">
  54. <a class="nav-link active" aria-current="page" href="pricing.html"
  55. set-lan="html:pricing">早鳥方案</a>
  56. </li>
  57. <li id="changeLanguage" class="nav-item me-lg-1">
  58. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
  59. data-bs-toggle="dropdown" aria-expanded="false">
  60. 中/En
  61. </a>
  62. <!-- <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
  63. <li><button class="nav-link lan-swtich" aria-current="page" set-lan="html:en"
  64. onclick="changeLan(this)" value="en">English</button></li>
  65. <li><button class="nav-link lan-switch" aria-current="page" set-lan="html:zh"
  66. onclick="changeLan(this)" value="zh">中文</button></li>
  67. </ul> <div></div>-->
  68. </li>
  69. <div id="lang-manu">
  70. <li><button class="nav-link lan-swtich bg-transparent text-white border-0 mx-auto"
  71. aria-current="page" set-lan="html:en" onclick="changeLan(this)"
  72. value="en">English</button></li>
  73. <li><button class="nav-link lan-switch bg-transparent text-white border-0 mx-auto"
  74. aria-current="page" set-lan="html:zh" onclick="changeLan(this)" value="zh">中文</button>
  75. </li>
  76. </div>
  77. <li class="nav-item">
  78. <a class="nav-link active btn-login" aria-current="page" href="loginB.html"
  79. set-lan="html:login">登入</a>
  80. </li>
  81. <li class="nav-item">
  82. <a class="nav-link btn-userProfile" aria-current="page" href="user_profile.html"
  83. set-lan="html:user_profile">會員資料</a>
  84. </li>
  85. <li class="nav-item">
  86. <a class="nav-link btn-logout" aria-current="page" set-lan="html:logout">登出</a>
  87. </li>
  88. </ul>
  89. </div>
  90. </div>
  91. <div class="card-img-overlay pt-0 mt-3 px-0">
  92. <nav class="navbar navbar-expand-lg navbar-light px-3 pt-0">
  93. <div class="container-fluid">
  94. <!-- <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
  95. data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
  96. aria-expanded="false" aria-label="Toggle navigation">
  97. <span class="navbar-toggler-icon"></span>
  98. </button> -->
  99. <div class="collapse navbar-collapse d-flex" id="navbarSupportedContent">
  100. <a class="navbar-brand" href="index.html"><img class="img-fluid" style="width: 150px;"
  101. src="./static/img/index/CMM_LOGO_白.png" alt=""></a>
  102. <ul class="navbar-des navbar-nav ms-auto mb-2 mb-lg-0">
  103. <li class="nav-item">
  104. <a class="nav-link text-white btn-makev" aria-current="page"
  105. href="./make_video2.html" set-lan="html:make_video">影片製作</a>
  106. </li>
  107. <li class="nav-item">
  108. <a class="nav-link active text-white" aria-current="page" href="pricing.html"
  109. set-lan="html:pricing">早鳥方案</a>
  110. </li>
  111. <li class="nav-item dropdown">
  112. <a class="nav-link dropdown-toggle text-white" href="#" id="navbarDropdown"
  113. role="button" data-bs-toggle="dropdown" aria-expanded="false">
  114. 中/En
  115. </a>
  116. <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
  117. <li><button class="nav-link lan-swtich" aria-current="page" set-lan="html:en"
  118. onclick="changeLan(this)" value="en">English</button></li>
  119. <li><button class="nav-link lan-switch" aria-current="page" set-lan="html:zh"
  120. onclick="changeLan(this)" value="zh">中文</button></li>
  121. </ul>
  122. </li>
  123. <li class="nav-item">
  124. <a class="nav-link active btn-login text-white" aria-current="page" href="loginB.html"
  125. set-lan="html:login">登入</a>
  126. </li>
  127. <li class="nav-item">
  128. <a class="nav-link btn-userProfile text-white" aria-current="page"
  129. href="user_profile2.html" set-lan="html:user_profile">會員資料</a>
  130. </li>
  131. <li class="nav-item">
  132. <a class="nav-link btn-logout text-white" aria-current="page" set-lan="html:logout">登出</a>
  133. </li>
  134. </ul>
  135. <span class="menu-bar ms-auto" style="font-size: 32px;"><i
  136. class="fas fa-bars text-white"></i></span>
  137. </div>
  138. </div>
  139. </nav>
  140. <div class="index-banner">
  141. <div class="row px-0 mx-0">
  142. <div class="col-lg-6 px-0">
  143. <div class="text-white">
  144. <h1 set-lan="html:Virtual_Anchor" class="fw-bold">虛擬AI擬真主播</h1>
  145. <p set-lan="html:Virtual_Anchor_text">匯集多種AI智能技術、能說各種國外語言
  146. 技術強大快速部屬、影片經濟效益大
  147. 無論內銷外銷、嘴型真實感。</p>
  148. <div class="index-CTA">
  149. <a href="./register.html"><button set-lan="html:pricing_checkout" class="CTA-btnA fw-bold">立即註冊</button></a>
  150. <a href="./pricingB.html"><button set-lan="html:launch_special" class="CTA-btnB fw-bold">早鳥方案</button></a>
  151. </div>
  152. </div>
  153. </div>
  154. <div class="col-lg-6 px-0">
  155. <img class="PC-img" src="./static/img/index/PC.webp" alt="">
  156. </div>
  157. </div>
  158. </div>
  159. </div>
  160. </div>
  161. <!-- ================================================================= -->
  162. <!-- 製作影片一鍵合成 -->
  163. <div class="index-sec02">
  164. <div class="make-video">
  165. <div class="row mx-0 px-0">
  166. <div class="col-lg-6 order-lg-1 order-2">
  167. <img class="img-fluid" src="./static/img/index/组 29.webp" alt="" set-lan="img:index-sec02" ></img>
  168. <!-- <img class="profile-bgimg-m img-fluid" src="./static/img/index/组 29.webp" alt="" set-lan="img:index-sec02-m" ></img> -->
  169. </div>
  170. <div class="col-lg-6 d-flex align-items-center order-lg-1 order-1 px-0">
  171. <div class="makeVideo-text">
  172. <h1 class="fw-bold" set-lan="html:hero_title">製作影片 一鍵合成</h1>
  173. <p set-lan="html:hero_txt1">輸入文字素材,即速產生影片
  174. 創作影片,不再需要錄影機、演員、麥克風繁雜器材。
  175. 大幅省下時間、人力、器材成本。</p>
  176. </div>
  177. </div>
  178. </div>
  179. </div>
  180. </div>
  181. <!-- ================================================================= -->
  182. <section class="sec-usecase">
  183. <h1 set-lan="html:index-usecases">使用情境</h1>
  184. <hr>
  185. <div class="container">
  186. <div class="row">
  187. <div class="col-6 col-md-3 px-0">
  188. <div class="usecase-block card text-center">
  189. <div class="usecase-imgfr"
  190. style="background-image: url('./static/img/Usecases/示意_產品介紹.webp');"
  191. data-bs-toggle="modal" data-bs-target="#exampleModal" data-ytid="MplGQ5JUmnY"></div>
  192. <h3 class="usecase-sub"><i class="fas fa-caret-right"></i>
  193. <lan set-lan="html:usecase_1">產品介紹</lan>
  194. </h3>
  195. </div>
  196. </div>
  197. <div class="col-6 col-md-3 px-0">
  198. <div class="usecase-block card text-center">
  199. <div class="usecase-imgfr"
  200. style="background-image: url('./static/img/Usecases/示意_教育培訓.webp');"
  201. data-bs-toggle="modal" data-bs-target="#exampleModal" data-ytid="gFjSwMEoXNg"></div>
  202. <h3 class="usecase-sub"><i class="fas fa-caret-right"></i>
  203. <lan set-lan="html:usecase_2">教育培訓</lan>
  204. </h3>
  205. </div>
  206. </div>
  207. <div class="col-6 col-md-3 px-0">
  208. <div class="usecase-block card text-center">
  209. <div class="usecase-imgfr"
  210. style="background-image: url('./static/img/Usecases/示意_氣象.webp');"
  211. data-bs-toggle="modal" data-bs-target="#exampleModal" data-ytid="83uE8kVIWsM"></div>
  212. <h3 class="usecase-sub"><i class="fas fa-caret-right"></i>
  213. <lan set-lan="html:usecase_3">氣象播報</lan>
  214. </h3>
  215. </div>
  216. </div>
  217. <div class="col-6 col-md-3 px-0">
  218. <div class="usecase-block card text-center">
  219. <div class="usecase-imgfr"
  220. style="background-image: url('./static/img/Usecases/示意_新聞.webp');"
  221. data-bs-toggle="modal" data-bs-target="#exampleModal" data-ytid="XfTQ2uIWWbA"></div>
  222. <h3 class="usecase-sub"><i class="fas fa-caret-right"></i>
  223. <lan set-lan="html:usecase_4">新聞播報</lan>
  224. </h3>
  225. </div>
  226. </div>
  227. <div class="col-6 col-md-3 px-0">
  228. <div class="usecase-block card text-center">
  229. <div class="usecase-imgfr"
  230. style="background-image: url('./static/img/Usecases/示意_內容創作.webp');"
  231. data-bs-toggle="modal" data-bs-target="#exampleModal" data-ytid="6JVBDIM7zac"></div>
  232. <h3 class="usecase-sub"><i class="fas fa-caret-right"></i>
  233. <lan set-lan="html:usecase_5">個人內容創作</lan>
  234. </h3>
  235. </div>
  236. </div>
  237. <div class="col-6 col-md-3 px-0">
  238. <div class="usecase-block card text-center">
  239. <div class="usecase-imgfr"
  240. style="background-image: url('./static/img/Usecases/示意_觀光導覽.webp');"
  241. data-bs-toggle="modal" data-bs-target="#exampleModal" data-ytid="nTbMKWMYvnc"></div>
  242. <h3 class="usecase-sub"><i class="fas fa-caret-right"></i>
  243. <lan set-lan="html:usecase_6">觀光導覽</lan>
  244. </h3>
  245. </div>
  246. </div>
  247. <div class="col-6 col-md-3 px-0">
  248. <div class="usecase-block card text-center">
  249. <div class="usecase-imgfr"
  250. style="background-image: url('./static/img/Usecases/示意_展覽.webp');"
  251. data-bs-toggle="modal" data-bs-target="#exampleModal" data-ytid="y0dgW_dcgDE"></div>
  252. <h3 class="usecase-sub"><i class="fas fa-caret-right"></i>
  253. <lan set-lan="html:usecase_7">展覽導覽</lan>
  254. </h3>
  255. </div>
  256. </div>
  257. <div class="col-6 col-md-3 px-0">
  258. <div class="usecase-block card text-center">
  259. <div class="usecase-imgfr"
  260. style="background-image: url('./static/img/Usecases/示意_商家報導.webp');"
  261. data-bs-toggle="modal" data-bs-target="#exampleModal" data-ytid="E4Dt7eU3WCo"></div>
  262. <h3 class="usecase-sub"><i class="fas fa-caret-right"></i>
  263. <lan set-lan="html:usecase_8">廣告行銷</lan>
  264. </h3>
  265. </div>
  266. </div>
  267. <!-- <div class="col-12 col-md-3 my-5">
  268. <div class="usecase-block card text-center">
  269. <div class="usecase-imgfr" style="background-image: url('/html/static/img/Usecases/示意_機構.webp');" data-bs-toggle="modal" data-bs-target="#exampleModal" data-ytid="6JvZtbv6vNs"></div>
  270. <h3 class="usecase-sub"><i class="fas fa-caret-right"></i> <lan set-lan="html:usecase_9">機構資訊宣導</lan</h3>
  271. </div>
  272. </div> -->
  273. </div>
  274. </div>
  275. <div class="closeplay modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel2"
  276. aria-hidden="true">
  277. <div class="modal-dialog modal-fullscreen">
  278. <div class="modal-content bg-transparent border-0">
  279. <div class="modal-header border-0">
  280. <h5 class="modal-title" id="exampleModalLabel"></h5>
  281. <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"
  282. aria-label="Close"><img src="./img/close.svg" alt=""></button>
  283. </div>
  284. <div class="modal-body">
  285. <style>
  286. .embed-container {
  287. position: relative;
  288. padding-bottom: 56.25%;
  289. height: 0;
  290. overflow: hidden;
  291. max-width: 100%;
  292. }
  293. .embed-container iframe,
  294. .embed-container object,
  295. .embed-container embed {
  296. position: absolute;
  297. top: 0;
  298. left: 0;
  299. width: 100%;
  300. height: 100%;
  301. }
  302. </style>
  303. <div class='embed-container'><iframe class='youtube-video'
  304. src='https://www.youtube.com/embed//XfTQ2uIWWbA' frameborder='0' allowfullscreen
  305. height="394" allow="autoplay;"></iframe></div>
  306. </div>
  307. </div>
  308. </div>
  309. </div>
  310. </section>
  311. <!-- ================================================================= -->
  312. <!-- registerbtn -->
  313. <div class="indxe-CTA text-center py-5">
  314. <h2 class="mt-5 fw-bold" set-lan="html:index_action">想要快速製作影音內容?立即註冊,開始創作!</h2>
  315. <a href="./register.html"><button class="CTA-btnB my-3 fw-bold"
  316. set-lan="html:pricing_checkout">立即註冊</button></a>
  317. </div>
  318. <!-- ================================================================= -->
  319. <!-- content -->
  320. <div class="price-int">
  321. <div class="price-content m-auto">
  322. <!-- <div class="register_btn">
  323. <p class="mt-5" set-lan="html:index_action">想要快速製作影音內容?立即註冊,開始創作!</p>
  324. <div class="text-center">
  325. <a href="./register.html"><button class="get-started my-3"
  326. set-lan="html:pricing_checkout">立即註冊</button></a>
  327. </div>
  328. </div> -->
  329. <div class="price-content-1 text-center">
  330. <h1>
  331. <lan set-lan="html:launch_special">早鳥方案</lan>
  332. </h1>
  333. <hr class="mt-3">
  334. <div class="row">
  335. <div class="price-item col-12 col-lg-4">
  336. <div class="row px-0 mx-0">
  337. <div class="col-lg-12 col-4 ps-0">
  338. <a href="./pricing.html"><img src="./static/img/book.png" alt=""></a>
  339. </div>
  340. <div class="col-lg-12 col-8 pe-0">
  341. <h2 set-lan="html:pricing_lan">語言選擇: 中文 | 英文</h2>
  342. <ul class="price-text ms-lg-5 ms-3">
  343. <li set-lan="html:index_li1_1">支援中英文內容</li>
  344. <li set-lan="html:index_li1_2">可加入字幕</li>
  345. </ul>
  346. </div>
  347. </div>
  348. </div>
  349. <div class="price-item col-12 col-lg-4">
  350. <div class="row px-0 mx-0">
  351. <div class="col-lg-12 col-4 ps-0">
  352. <a href="./pricing.html"><img src="./static/img/news-anchor (1).png" alt=""></a>
  353. </div>
  354. <div class="col-lg-12 col-8 pe-0">
  355. <h2 set-lan="html:pricing_avatars">多款預設AI代言主播任你選</h2>
  356. <ul class="price-text ms-3">
  357. <li set-lan="html:index_li2_1">無人物肖像權問題</li>
  358. <li set-lan="html:index_li2_2">人物表情、動作自然</li>
  359. <li set-lan="html:index_li2_3">因應主題,選擇合適人物</li>
  360. </ul>
  361. </div>
  362. </div>
  363. </div>
  364. <div class="price-item col-12 col-lg-4">
  365. <div class="row px-0 mx-0">
  366. <div class="col-lg-12 col-4 ps-0">
  367. <a href="./pricing.html"><img src="./static/img/transfer.png" alt=""></a>
  368. </div>
  369. <div class="col-lg-12 col-8 pe-0">
  370. <h2 set-lan="html:pricing_content">畫面素材支援: 圖檔 | 影檔 | 簡報</h2>
  371. <ul class="price-text ms-1">
  372. <li set-lan="html:index_li3_1">可上傳圖片或是影片作為背景</li>
  373. <li set-lan="html:index_li3_2">可輸入文字腳本及投影片</li>
  374. </ul>
  375. </div>
  376. </div>
  377. </div>
  378. </div>
  379. <!-- <h1 class="mt-5 d-inline pe-5">$1200/7min</h1> -->
  380. <!-- <p class="register_text mt-5" set-lan="html:index_action">想要快速製作影音內容?立即註冊,開始創作!</p>
  381. <a href="./register.html"><button class="get-started my-3"
  382. set-lan="html:pricing_checkout">立即註冊</button></a> -->
  383. <div class="text-center mt-5">
  384. <a href="./pricing.html"><button set-lan="html:launch_special" class="CTA-btnB fw-bold">早鳥方案</button></a>
  385. </div>
  386. </div>
  387. </div>
  388. </div>
  389. <!-- ================================================================= -->
  390. <!-- footer -->
  391. <!-- <footer class="fixed-bottom text-center py-2">
  392. </footer> -->
  393. <footer class="footer">
  394. <div class="container">
  395. <div class="row">
  396. <div class="col-xs-12 col-sm-6">
  397. <img src="./static/img/contactus/choozmo (2).png" alt="" width="250">
  398. <div class="footer-aigirl">Choozmo AI Spokesgirl</div>
  399. <div class="footer-follow" set-lan="html:follow_us">關注我們</div>
  400. <div class="footer-socials">
  401. <a href="https://www.linkedin.com/company/choozmo/"><img
  402. src="./static/img/contactus/linkedin-logo-copy.png" alt="" width="32px"
  403. height="32px"></a>
  404. <a href="https://www.facebook.com/choozmo/"><img
  405. src="./static/img/contactus/facebook_logos_PNG19753.png" alt="" width="32px"
  406. height="32px"></a>
  407. <a href="https://line.me/R/ti/p/@choozmo?from=page"><img
  408. src="./static/img/contactus/LINE_logo.svg.png" alt="" width="32px" height="32px"></a>
  409. <a href="https://www.youtube.com/channel/UC2Qda9PhJWuiMTCZ-j7K_hg"><img
  410. src="./static/img/contactus/youtube.png" alt="" width="32px" height="32px"></a>
  411. <a href="https://www.instagram.com/choozmo_cmm/"><img src="./static/img/contactus/IG.png" alt=""
  412. width="32px" height="32px"></a>
  413. <a href="https://twitter.com/ai_cmm"><img src="./static/img/contactus/twitter.png" alt=""
  414. width="32px" height="32px"></a>
  415. </div>
  416. </div>
  417. <div class="col-xs-12 col-sm-6">
  418. <div class="footer-contacts">
  419. <h5>CONTACT</h5>
  420. <div>
  421. <lan set-lan="html:contact_name">集仕多股份有限公司</lan><br>
  422. <lan set-lan="html:address">新竹縣竹北市復興二路229號9樓之9</lan><br>
  423. <lan set-lan="html:contact_tel">聯絡電話</lan>:036670804<br>
  424. <lan set-lan="html:contact_mail">聯絡信箱</lan>:SERVICE@CHOOZMO.COM
  425. </div>
  426. </div>
  427. </div>
  428. </div>
  429. </div>
  430. </footer>
  431. <!-- ================================================================= -->
  432. <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
  433. <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js'></script>
  434. <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"
  435. integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
  436. crossorigin="anonymous"></script>
  437. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js"
  438. integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT"
  439. crossorigin="anonymous"></script>
  440. <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.0.18/dist/sweetalert2.all.min.js"></script>
  441. <script src="static/owl.carousel.min.js"></script>
  442. <script type="text/javascript" src="static/lan.js"></script>
  443. <script src="static/common.js"></script>
  444. <script>
  445. $('.btn-login').hide();
  446. $('.btn-userProfile').hide();
  447. $('.btn-logout').hide();
  448. function get_jwt_token() {
  449. console.log(document.cookie);
  450. if (!document.cookie) {
  451. return
  452. }
  453. try {
  454. jwt_raw = document.cookie.split(';').filter(s => s.includes('jwt_token'))[0];
  455. return jwt_raw.split('=')[1];
  456. } catch (e) {
  457. return undefined;
  458. }
  459. }
  460. function checkRoute() {
  461. let jwt_token = get_jwt_token();
  462. if (jwt_token == undefined) {
  463. console.log(jwt_token); // test
  464. $('.btn-login').show();
  465. $('.btn-userProfile').hide();
  466. $('.btn-logout').hide();
  467. return;
  468. }
  469. axios({
  470. method: 'post',
  471. url: 'https://www.choozmo.com:8887/user_profile',
  472. headers: {
  473. 'accept': 'text/html',
  474. 'Authorization': `Bearer ${jwt_token}`
  475. }
  476. }).then(res => {
  477. console.log(res.data);
  478. if (res.status !== 200) {
  479. $('.btn-login').show();
  480. $('.btn-userProfile').hide();
  481. $('.btn-logout').hide();
  482. }
  483. $('.btn-login').hide();
  484. $('.btn-userProfile').show();
  485. $('.btn-logout').show();
  486. }).catch(err => {
  487. console.log(err);
  488. });
  489. }
  490. checkRoute();
  491. </script>
  492. <script>
  493. $(".usecase-imgfr").click(function () {
  494. let ytid = $(this).data('ytid');
  495. $('.youtube-video').attr('src', `https://www.youtube.com/embed//${ytid}?autoplay=1`);
  496. });
  497. $(".btn-close").click(function () {
  498. $('.youtube-video').attr('src', ``);
  499. });
  500. $('#exampleModal').on('hidden.bs.modal', function () {
  501. $('.youtube-video').attr('src', ``);
  502. });
  503. $(".menu-bar").click(function () {
  504. $(".menu-box").fadeIn();
  505. $(".menu-box2").fadeIn();
  506. });
  507. $(".close_btn").click(function () {
  508. $(".menu-box").fadeOut();
  509. $(".menu-box2").fadeOut();
  510. });
  511. $("#lang-manu").hide();
  512. $("#changeLanguage").click(function () {
  513. $("#lang-manu").slideToggle();
  514. $("#lang-arrow").toggleClass("arrowdoup");
  515. });
  516. </script>
  517. </body>
  518. </html>