Skip to content

Commit 3930ccf

Browse files
committed
feat(CTASection): 更新企业联系方式为邮件链接
- 将联系按钮替换为邮件链接,并添加邮件图标 - 在页面上显示联系邮箱地址 - 为按钮添加文本装饰样式 - 添加联系邮箱的样式定义
1 parent f2fcb28 commit 3930ccf

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

pages/src/components/en/CTASection.astro

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,14 @@
6262
</div>
6363

6464
<div class="enterprise-cta">
65-
<button class="btn-enterprise" id="contactEnterpriseBtn">
66-
<span>Contact Us for Solution</span>
67-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
68-
<path d="M6 12L10 8L6 4" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
65+
<a href="mailto:zhengjunweimail@163.com" class="btn-enterprise">
66+
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
67+
<path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/>
68+
<polyline points="22,6 12,13 2,6"/>
6969
</svg>
70-
</button>
70+
<span>Contact Us for Solution</span>
71+
</a>
72+
<p class="contact-email">Email: zhengjunweimail@163.com</p>
7173
</div>
7274
</div>
7375
</section>
@@ -231,13 +233,20 @@
231233
font-weight: 600;
232234
cursor: pointer;
233235
transition: all 0.3s ease;
236+
text-decoration: none;
234237
}
235238

236239
.btn-enterprise:hover {
237240
transform: translateY(-2px);
238241
box-shadow: 0 8px 20px rgba(99, 91, 255, 0.3);
239242
}
240243

244+
.contact-email {
245+
margin-top: 16px;
246+
font-size: 14px;
247+
color: var(--text-muted);
248+
}
249+
241250
.cta-section {
242251
padding: 120px 24px;
243252
background: var(--bg-primary);

0 commit comments

Comments
 (0)