SyuanYu 2 hafta önce
ebeveyn
işleme
71b5aed33e

+ 1 - 1
layouts/_default/single.html

@@ -55,7 +55,7 @@
             <div id="form">
               {{ partial "form-main.html" . }}
 
-              {{ partial "founder-blog-cta.html" . }}
+              {{ partial "founder-cta.html" . }}
             </div>
 
           </div>

+ 2 - 0
layouts/ai-presenter/single.html

@@ -557,6 +557,8 @@
         <div class="col-lg-4 pe-lg-5">
           <div id="form" class="mt-0">
             {{ partial "form-main.html" . }}
+
+            {{ partial "founder-cta.html" . }}
           </div>
         </div>
       </div>

+ 3 - 8
layouts/partials/components/ai-anchor.html

@@ -3,17 +3,12 @@
   <p>AI 虛擬主播正在改變媒體產業的面貌,從新聞播報到客製化內容生成,它們的應用範圍廣泛且多樣。</p>
 
   <div class="col-12 mt-4 pt-4">
-    <div class="founder-cta">
-      <!-- <h2>想了解更多?</h2>
-      <p class="d-none d-sm-block">想了解 AI 智能客服如何幫助您提升服務品質及效率,讓您的品牌更具競爭力嗎?<br>歡迎點擊下方按鈕,與創辦人進行一對一交流!</p>
-      <p class="d-block d-sm-none">想了解 AI 智能客服<br>如何幫助您提升服務品質及效率<br>讓您的品牌更具競爭力嗎?<br>歡迎點擊下方按鈕<br>與創辦人進行一對一交流!</p>
-      <a href="https://cmm.ai/cal" target="_blank">
-        與創辦人交流
-      </a> -->
+    {{ partial "founder-cta.html" . }}
+    <!-- <div class="founder-cta">
      <a href="https://cmm.ai/cal" target="_blank">
       <span class='pulse-button'>與創辦人聯繫</span>
      </a>
-    </div>
+    </div> -->
   </div>
 
   <div class="row justify-content-center">

+ 0 - 10
layouts/partials/founder-blog-cta.html

@@ -1,10 +0,0 @@
-<div class="pt-3 founder-cta blog">
-    <a href="https://cmm.ai/cal" target="_blank" onclick="gtag('event', 'click_founder_contact', { 
-        'event_category': 'Button Click', 
-        'event_label': '與創辦人聯繫',
-        'value': 1
-    })">
-        <span class="d-none d-lg-block pulse-button">與創辦人聯繫</span>
-        <span class="d-flex d-lg-none pulse-button">與創辦人<br>聯繫</span>
-    </a>
-</div>

+ 62 - 9
layouts/partials/founder-cta.html

@@ -1,9 +1,62 @@
-<div class="pt-3 founder-cta">
-    <a href="https://cmm.ai/cal" target="_blank" onclick="gtag('event', 'click_founder_contact', { 
-        'event_category': 'Button Click', 
-        'event_label': '與創辦人聯繫',
-        'value': 1
-    })">
-        <span class="pulse-button">與創辦人聯繫</span>
-    </a>
-</div>
+<div class="founder-cta">
+  <a class="cta" href="https://cmm.ai/cal" target="_blank" onclick="gtag('event', 'click_founder_contact', { 
+          'event_category': 'Button Click', 
+          'event_label': '與創辦人交流',
+          'value': 1
+      })">
+    <span class="pt-1">與創辦人交流</span>
+    <span class="d-none d-lg-inline-block">
+      <svg width="55px" height="32px" viewBox="0 0 66 43" version="1.1" xmlns="http://www.w3.org/2000/svg"
+        xmlns:xlink="http://www.w3.org/1999/xlink">
+        <g id="arrow" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+          <path class="one"
+            d="M40.1543933,3.89485454 L43.9763149,0.139296592 C44.1708311,-0.0518420739 44.4826329,-0.0518571125 44.6771675,0.139262789 L65.6916134,20.7848311 C66.0855801,21.1718824 66.0911863,21.8050225 65.704135,22.1989893 C65.7000188,22.2031791 65.6958657,22.2073326 65.6916762,22.2114492 L44.677098,42.8607841 C44.4825957,43.0519059 44.1708242,43.0519358 43.9762853,42.8608513 L40.1545186,39.1069479 C39.9575152,38.9134427 39.9546793,38.5968729 40.1481845,38.3998695 C40.1502893,38.3977268 40.1524132,38.395603 40.1545562,38.3934985 L56.9937789,21.8567812 C57.1908028,21.6632968 57.193672,21.3467273 57.0001876,21.1497035 C56.9980647,21.1475418 56.9959223,21.1453995 56.9937605,21.1432767 L40.1545208,4.60825197 C39.9574869,4.41477773 39.9546013,4.09820839 40.1480756,3.90117456 C40.1501626,3.89904911 40.1522686,3.89694235 40.1543933,3.89485454 Z"
+            fill="#FFFFFF"></path>
+          <path class="two"
+            d="M20.1543933,3.89485454 L23.9763149,0.139296592 C24.1708311,-0.0518420739 24.4826329,-0.0518571125 24.6771675,0.139262789 L45.6916134,20.7848311 C46.0855801,21.1718824 46.0911863,21.8050225 45.704135,22.1989893 C45.7000188,22.2031791 45.6958657,22.2073326 45.6916762,22.2114492 L24.677098,42.8607841 C24.4825957,43.0519059 24.1708242,43.0519358 23.9762853,42.8608513 L20.1545186,39.1069479 C19.9575152,38.9134427 19.9546793,38.5968729 20.1481845,38.3998695 C20.1502893,38.3977268 20.1524132,38.395603 20.1545562,38.3934985 L36.9937789,21.8567812 C37.1908028,21.6632968 37.193672,21.3467273 37.0001876,21.1497035 C36.9980647,21.1475418 36.9959223,21.1453995 36.9937605,21.1432767 L20.1545208,4.60825197 C19.9574869,4.41477773 19.9546013,4.09820839 20.1480756,3.90117456 C20.1501626,3.89904911 20.1522686,3.89694235 20.1543933,3.89485454 Z"
+            fill="#FFFFFF"></path>
+          <path class="three"
+            d="M0.154393339,3.89485454 L3.97631488,0.139296592 C4.17083111,-0.0518420739 4.48263286,-0.0518571125 4.67716753,0.139262789 L25.6916134,20.7848311 C26.0855801,21.1718824 26.0911863,21.8050225 25.704135,22.1989893 C25.7000188,22.2031791 25.6958657,22.2073326 25.6916762,22.2114492 L4.67709797,42.8607841 C4.48259567,43.0519059 4.17082418,43.0519358 3.97628526,42.8608513 L0.154518591,39.1069479 C-0.0424848215,38.9134427 -0.0453206733,38.5968729 0.148184538,38.3998695 C0.150289256,38.3977268 0.152413239,38.395603 0.154556228,38.3934985 L16.9937789,21.8567812 C17.1908028,21.6632968 17.193672,21.3467273 17.0001876,21.1497035 C16.9980647,21.1475418 16.9959223,21.1453995 16.9937605,21.1432767 L0.15452076,4.60825197 C-0.0425130651,4.41477773 -0.0453986756,4.09820839 0.148075568,3.90117456 C0.150162624,3.89904911 0.152268631,3.89694235 0.154393339,3.89485454 Z"
+            fill="#FFFFFF"></path>
+        </g>
+      </svg>
+    </span>
+
+    <img src="../../imgs/icon/click.png" alt="" class="click-img">
+  </a>
+
+  <ul class="mb-0">
+    <li>
+      📅 立即預約,30 秒完成!
+    </li>
+    <li>
+      <span class="d-none d-sm-block"> 🎯 與創辦人 1 對 1 交流,獲得專屬建議!</span>
+      <span class="d-block d-sm-none"> 🎯 與創辦人 1 對 1 交流!</span>
+    </li>
+  </ul>
+</div>
+
+<script>
+  // founder-cta 點擊事件
+  document.addEventListener("DOMContentLoaded", function () {
+    const founderCta = document.querySelector(".founder-cta");
+
+    if (founderCta) {
+      founderCta.addEventListener("click", function (event) {
+        // 避免點擊 <a> 觸發兩次
+        if (event.target.tagName.toLowerCase() !== "a") {
+          // 記錄 GA 事件
+          gtag("event", "click_founder_contact", {
+            event_category: "Button Click",
+            event_label: "與創辦人交流",
+            value: 1,
+          });
+
+          setTimeout(() => {
+            window.open("https://cmm.ai/cal", "_blank");
+          }, 100);
+        }
+      });
+    }
+  });
+</script>

+ 4 - 2
layouts/virtual-host-solution/single.html

@@ -28,11 +28,11 @@
 
               <h2 class="mt-5">AI 客服使用台語問答,讓長者更容易融入科技</h2>
 
-              <div class="founder-cta">
+              <!-- <div class="founder-cta">
                 <a href="https://cmm.ai/cal" target="_blank">
                   <span class='pulse-button'>與創辦人聯繫</span>
                 </a>
-              </div>
+              </div> -->
 
               <span class="d-flex justify-content-center">
                 <h3 class="my-5">💡 讓科技更親近長者</h3>
@@ -214,6 +214,8 @@
         <div class="col-lg-4 pe-lg-5">
           <div id="form" class="mt-0">
             {{ partial "form-main.html" . }}
+
+            {{ partial "founder-cta.html" . }}
           </div>
         </div>
       </div>

+ 169 - 2
static/css/style.css

@@ -56,7 +56,6 @@
 }
 .navbar-nav .solution-link:hover {
   opacity: 0.8;
-  background-color: #ea5413 !important;
 }
 .navbar-nav .signin-link {
   padding: 8px 18px;
@@ -5348,6 +5347,11 @@
   z-index: 5000;
   overflow: hidden;
 }
+@media (max-width: 991px) {
+  #iframe-content {
+    bottom: 90px;
+  }
+}
 
 /* news-content End */
 .line-btn a {
@@ -5355,6 +5359,11 @@
   bottom: 85px;
   right: 20px;
 }
+@media (max-width: 991px) {
+  .line-btn a {
+    bottom: 170px;
+  }
+}
 .line-btn img {
   width: 60px;
   height: 60px;
@@ -5924,17 +5933,175 @@
 }
 
 .founder-cta {
-  padding: 40px;
   margin: 50px auto;
   display: flex;
   flex-direction: column;
   align-items: center;
+  justify-content: center;
   color: white;
   border-radius: 20px;
+  /* SVG */
+  /* SVG animations */
+}
+@media (max-width: 991px) {
+  .founder-cta {
+    width: 100%;
+    margin: auto;
+    padding: 15px 0;
+    position: fixed;
+    bottom: 0;
+    left: 0;
+    right: 0;
+    z-index: 1000;
+    border-radius: 0px;
+    flex-direction: row-reverse;
+    background-color: rgba(0, 0, 0, 0.75);
+  }
 }
 .founder-cta a {
   text-decoration: none;
 }
+.founder-cta ul {
+  padding: 0;
+  margin-top: 30px;
+  color: #000;
+  list-style: none;
+  text-align: center;
+}
+@media (max-width: 991px) {
+  .founder-cta ul {
+    margin-right: 2rem;
+    margin-top: 0;
+    text-align: left;
+  }
+}
+@media (max-width: 575px) {
+  .founder-cta ul {
+    margin-right: 0.5rem;
+  }
+}
+.founder-cta ul li {
+  margin-bottom: 0;
+  font-size: 18px;
+  font-weight: bold;
+  line-height: 2;
+}
+@media (max-width: 991px) {
+  .founder-cta ul li {
+    font-size: 14px;
+    color: #fff;
+  }
+}
+.founder-cta .cta {
+  display: flex;
+  align-items: center;
+  margin-top: 10px;
+  padding: 10px 45px;
+  text-decoration: none;
+  font-family: "Poppins", sans-serif;
+  font-size: 28px;
+  font-weight: bold;
+  color: white !important;
+  background: #920783;
+  transition: 1s;
+  box-shadow: 6px 6px 0 black;
+  transform: skewX(-15deg);
+}
+@media (max-width: 1200px) {
+  .founder-cta .cta {
+    padding: 10px 30px;
+    font-size: 22px;
+  }
+}
+@media (max-width: 991px) {
+  .founder-cta .cta {
+    margin-top: 0;
+    padding: 10px 45px;
+    font-size: 20px;
+  }
+}
+@media (max-width: 767px) {
+  .founder-cta .cta {
+    font-size: 16px;
+  }
+}
+@media (max-width: 575px) {
+  .founder-cta .cta {
+    padding: 10px 25px;
+  }
+}
+.founder-cta .cta:focus {
+  outline: none;
+}
+.founder-cta .cta:hover {
+  transition: 0.5s;
+  box-shadow: 10px 10px 0 #ea5413;
+}
+.founder-cta .cta:hover span:nth-child(2) {
+  transition: 0.5s;
+  margin-right: 20px;
+}
+.founder-cta .cta:hover path.three {
+  animation: color_anim 1s infinite 0.2s;
+}
+.founder-cta .cta:hover path.one {
+  transform: translateX(0%);
+  animation: color_anim 1s infinite 0.6s;
+}
+.founder-cta .cta:hover path.two {
+  transform: translateX(0%);
+  animation: color_anim 1s infinite 0.4s;
+}
+.founder-cta .cta span {
+  transform: skewX(15deg);
+}
+.founder-cta .cta span:nth-child(2) {
+  width: 20px;
+  margin-left: 20px;
+  position: relative;
+  top: 12%;
+  transition: 0.5s;
+  margin-right: 0px;
+}
+.founder-cta .click-img {
+  width: 45px;
+  -o-object-fit: contain;
+     object-fit: contain;
+  position: absolute;
+  right: -20px;
+  bottom: -20px;
+  animation: moveHand 1.5s infinite ease-in-out;
+}
+@keyframes moveHand {
+  0% {
+    transform: translateX(0);
+  }
+  50% {
+    transform: translateX(-10px);
+  }
+  100% {
+    transform: translateX(0);
+  }
+}
+.founder-cta path.one {
+  transition: 0.4s;
+  transform: translateX(-60%);
+}
+.founder-cta path.two {
+  transition: 0.5s;
+  transform: translateX(-30%);
+}
+@keyframes color_anim {
+  0% {
+    fill: white;
+  }
+  50% {
+    fill: #ea5413;
+  }
+  100% {
+    fill: white;
+  }
+}
 @media (max-width: 991px) {
   .founder-cta.blog {
     padding: 0;

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
static/css/style.css.map


+ 185 - 2
static/css/style.scss

@@ -61,7 +61,6 @@
 
     &:hover {
       opacity: 0.8;
-      background-color: #ea5413 !important;
     }
   }
 
@@ -6292,6 +6291,10 @@
   border: none;
   z-index: 5000;
   overflow: hidden;
+
+  @media (max-width: 991px) {
+    bottom: 90px;
+  }
 }
 
 /* news-content End */
@@ -6301,6 +6304,10 @@
     position: fixed;
     bottom: 85px;
     right: 20px;
+
+    @media (max-width: 991px) {
+      bottom: 170px;
+    }
   }
 
   img {
@@ -6957,18 +6964,194 @@
 }
 
 .founder-cta {
-  padding: 40px;
   margin: 50px auto;
   display: flex;
   flex-direction: column;
   align-items: center;
+  justify-content: center;
   color: white;
   border-radius: 20px;
 
+  @media (max-width: 991px) {
+    width: 100%;
+    margin: auto;
+    padding: 15px 0;
+    position: fixed;
+    bottom: 0;
+    left: 0;
+    right: 0;
+    z-index: 1000;
+    border-radius: 0px;
+    flex-direction: row-reverse;
+    background-color: rgba(0, 0, 0, .75);
+  }
+
   a {
     text-decoration: none;
   }
 
+  ul {
+    padding: 0;
+    margin-top: 30px;
+    color: #000;
+    list-style: none;
+    text-align: center;
+
+    @media (max-width: 991px) {
+      margin-right: 2rem;
+      margin-top: 0;
+      text-align: left;
+    }
+
+    @media (max-width: 575px) {
+      margin-right: .5rem;
+    }
+
+
+    li {
+      margin-bottom: 0;
+      font-size: 18px;
+      font-weight: bold;
+      line-height: 2;
+
+      @media (max-width: 991px) {
+        font-size: 14px;
+        color: #fff;
+      }
+    }
+  }
+
+  .cta {
+    display: flex;
+    align-items: center;
+    margin-top: 10px;
+    padding: 10px 45px;
+    text-decoration: none;
+    font-family: 'Poppins', sans-serif;
+    font-size: 28px;
+    font-weight: bold;
+    color: white !important;
+    background: #920783;
+    transition: 1s;
+    box-shadow: 6px 6px 0 black;
+    transform: skewX(-15deg);
+
+    @media (max-width: 1200px) {
+      padding: 10px 30px;
+      font-size: 22px;
+    }
+
+    @media (max-width: 991px) {
+      margin-top: 0;
+      padding: 10px 45px;
+      font-size: 20px;
+    }
+
+    @media (max-width: 767px) {
+      font-size: 16px;
+    }
+
+    @media (max-width: 575px) {
+      padding: 10px 25px;
+    }
+
+
+    &:focus {
+      outline: none;
+    }
+
+    &:hover {
+      transition: 0.5s;
+      box-shadow: 10px 10px 0 #ea5413;
+
+      span:nth-child(2) {
+        transition: 0.5s;
+        margin-right: 20px;
+      }
+
+      path {
+        &.three {
+          animation: color_anim 1s infinite 0.2s;
+        }
+
+        &.one {
+          transform: translateX(0%);
+          animation: color_anim 1s infinite 0.6s;
+        }
+
+        &.two {
+          transform: translateX(0%);
+          animation: color_anim 1s infinite 0.4s;
+        }
+      }
+    }
+
+    span {
+      transform: skewX(15deg);
+
+      &:nth-child(2) {
+        width: 20px;
+        margin-left: 20px;
+        position: relative;
+        top: 12%;
+        transition: 0.5s;
+        margin-right: 0px;
+      }
+    }
+  }
+
+  .click-img {
+    width: 45px;
+    object-fit: contain;
+    position: absolute;
+    right: -20px;
+    bottom: -20px;
+    animation: moveHand 1.5s infinite ease-in-out;
+  }
+
+  @keyframes moveHand {
+    0% {
+      transform: translateX(0);
+    }
+
+    50% {
+      transform: translateX(-10px);
+    }
+
+    100% {
+      transform: translateX(0);
+    }
+  }
+
+  /* SVG */
+  path {
+    &.one {
+      transition: 0.4s;
+      transform: translateX(-60%);
+    }
+
+    &.two {
+      transition: 0.5s;
+      transform: translateX(-30%);
+    }
+  }
+
+  /* SVG animations */
+
+  @keyframes color_anim {
+    0% {
+      fill: white;
+    }
+
+    50% {
+      fill: #ea5413;
+    }
+
+    100% {
+      fill: white;
+    }
+  }
+
   &.blog {
     @media (max-width: 991px) {
       padding: 0;

BIN
static/imgs/icon/click.png


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor