123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218 |
- <!DOCTYPE html>
- <html lang="zh-TW">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge, Chrome=1">
- <meta http-equiv="Cache-Control" content="no-cache">
- <title>AI Spokesgirl</title>
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp"
- crossorigin="anonymous">
- <link rel="stylesheet"
- href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt"
- crossorigin="anonymous">
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap" rel="stylesheet">
- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11.0.18/dist/sweetalert2.min.css">
- <link rel="stylesheet" href="static/owl.carousel.min.css">
- <link rel="stylesheet" href="static/owl.theme.default.min.css">
- <link rel="stylesheet" href="static/scss/style.css">
- <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
-
- <!-- Google Tag Manager -->
- <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
- new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
- j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
- 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
- })(window,document,'script','dataLayer','GTM-5M8S4GH');</script>
- <!-- End Google Tag Manager -->
- </head>
- <body>
- <!-- Google Tag Manager (noscript) -->
- <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5M8S4GH"
- height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
- <!-- End Google Tag Manager (noscript) -->
- <!-- ================================================================= -->
- <!-- navbar -->
- <nav class="navbar navbar-expand-lg navbar-light">
- <div class="container-fluid">
- <a class="navbar-brand" href="index.html"><img class="img-fluid" style="width: 150px;" src="./static/img/contactus/choozmo-nav.png" alt=""></a>
- <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
- data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
- aria-label="Toggle navigation">
- <span class="navbar-toggler-icon"></span>
- </button>
- <div class="collapse navbar-collapse" id="navbarSupportedContent">
- <ul class="navbar-nav mb-2 ms-auto mb-lg-0">
- <li class="nav-item">
- <a class="nav-link active" aria-current="page" href="pricing.html" set-lan="html:pricing">早鳥方案</a>
- </li>
- <li class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
- 中/En
- </a>
- <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
- <li><button class="nav-link lan-swtich" aria-current="page" set-lan="html:en" onclick="changeLan(this)" value="en">English</button></li>
- <li><button class="nav-link lan-switch" aria-current="page" set-lan="html:zh" onclick="changeLan(this)" value="zh">中文</button></li>
- </ul>
- </li>
- <li class="nav-item">
- <a class="nav-link active btn-login" aria-current="page" href="login.html" set-lan="html:login">登入</a>
- </li>
- <li class="nav-item">
- <a class="nav-link btn-userProfile" aria-current="page" href="user_profile2.html" set-lan="html:user_profile">會員資料</a>
- </li>
- <li class="nav-item">
- <a class="nav-link btn-logout" aria-current="page" set-lan="html:logout">登出</a>
- </li>
- </ul>
- </div>
- </div>
- </nav>
- <!-- ================================================================= -->
- <!-- ================================================================= -->
- <!-- content -->
- <!-- 手機版 -->
- <div class="d-block d-md-none">
- <div class="container text-center">
- <div class="row">
- <div class="col-md-4 col-sm-6">
- <div class="pricingTable">
- <div class="pricingTable-header">
- <h3 class="title" set-lan="html:launch_special">早鳥方案</h3>
- </div>
- <ul class="pricing-content">
- <li set-lan="html:pricing_lan">語言選擇: 中文 | 英文</li>
- <li set-lan="html:pricing_avatars">多款預設AI代言主播任你選</li>
- <li set-lan="html:pricing_content">畫面素材支援: 圖檔 | 影檔 | 簡報</li>
- <!-- <li class="disable">Maintenance</li>
- <li class="disable">15 Subdomains</li> -->
- </ul>
- <div class="price-value">
- <span class="price-title" set-lan="html:pricing_discount">限時優惠</span>
- <span class="price-amount">$1200 <span class="duration">7<lan set-lan="html:mins">分鐘</lan></span></span>
- </div>
- <div class="pricingTable-signup">
- <a href="https://p.ecpay.com.tw/2600546" target="_blank" set-lan="html:pricing_checkout">立即註冊</a>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- 電腦版 -->
- <div class="d-none d-md-block">
- <div class="container-fluid text-center">
- <div class="row">
- <div class="col-4">
- <div class="pricingTable">
- <div class="pricingTable-header">
- <div class="title" set-lan="html:launch_special" style="font-size:2rem;">早鳥方案</div>
- </div>
- <ul class="pricing-content">
- <li set-lan="html:pricing_lan">語言選擇: 中文 | 英文</li>
- <li set-lan="html:pricing_avatars">多款預設AI代言主播任你選</li>
- <li set-lan="html:pricing_content">畫面素材支援: 圖檔 | 影檔 | 簡報</li>
- <!-- <li class="disable">Maintenance</li>
- <li class="disable">15 Subdomains</li> -->
- </ul>
- <div class="price-value">
- <span class="price-title" set-lan="html:pricing_discount">限時優惠</span>
- <span class="price-amount">$1200 <span class="duration">7<lan set-lan="html:mins">分鐘</lan></span></span>
- </div>
- <div class="pricingTable-signup">
- <a href="https://p.ecpay.com.tw/2600546" target="_blank" set-lan="html:pricing_checkout">立即查看</a>
- </div>
- </div>
- </div>
- <div class="col-8">
- <a href="https://p.ecpay.com.tw/2600546" target="_blank">
- <img class="img-fluid" src="static/img/intro2.jpg" set-lan="img:intro_img"></img>
- </a>
- </div>
- </div>
- </div>
- </div>
-
-
-
- <!-- ================================================================= -->
- <!-- ================================================================= -->
- <!-- footer -->
- <footer class="fixed-bottom text-center py-2">
- </footer>
- <!-- ================================================================= -->
-
- <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
- <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js'></script>
- <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"
- integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
- crossorigin="anonymous"></script>
- <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js"
- integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT" crossorigin="anonymous"></script>
- <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.0.18/dist/sweetalert2.all.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/validatorjs/2.0.0/validator.min.js"
- integrity="sha512-Y/Pox7RqKmT84klgmJCva3drWoXQWO42oHiWWhb9zd1pkIH60NF2SamgBrFHOTzrzHJhwgPGNGjNJ5ZmxLpUAQ=="
- crossorigin="anonymous" referrerpolicy="no-referrer"></script>
- <script src="static/owl.carousel.min.js"></script>
- <script type="text/javascript" src="static/lan.js"></script>
- <script src="static/common.js"></script>
- <script>
- const btnLoginPage = document.querySelector('.btn-login');
- const btnUserProfile = document.querySelector('.btn-userProfile');
- const btnLogout = document.querySelector('.btn-logout');
- btnLoginPage.style.display = 'none';
- btnLogout.style.display = 'none';
- btnUserProfile.style.display = 'none';
- function get_jwt_token(){
- if(!document.cookie) {
- return
- }
- jwt_raw = document.cookie.split(';').filter(s=>s.includes('jwt_token'))[0]
- return jwt_raw.split('=')[1]
- }
- function checkRoute() {
- let jwt_token = get_jwt_token();
- if(jwt_token == undefined) {
- btnLoginPage.style.display = 'block';
- btnLogout.style.display = 'none';
- btnUserProfile.style.display = 'none';
- return;
- }
- axios({
- method: 'post',
- url: 'https://www.choozmo.com:8887/user_profile',
- headers: {
- 'accept': 'text/html',
- 'Authorization': `Bearer ${jwt_token}`
- }
- }).then(res => {
- console.log(res.data);
- if(res.status !== 200) {
- btnLoginPage.style.display = 'block';
- btnLogout.style.display = 'none';
- btnUserProfile.style.display = 'none';
- }
- btnLoginPage.style.display = 'none';
- btnLogout.style.display = 'block';
- btnUserProfile.style.display = 'block';
- }).catch(err => {
- console.log(err);
- });
- }
- checkRoute();
- </script>
- </body>
- </html>
|