Skip to content

Commit c650a9d

Browse files
Update referral contact links
1 parent bc87492 commit c650a9d

3 files changed

Lines changed: 65 additions & 3 deletions

File tree

docs/contact/index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@ <h1 class="contact-title reveal" id="contact-title" data-t="contactTitle">领取
4646

4747
<section class="contact-panel reveal" aria-labelledby="contact-method-title">
4848
<h2 class="section-title" id="contact-method-title" data-t="contactMethodTitle">联系方式</h2>
49-
<p class="contact-body" data-t="contactMethodBody">请通过活动发布账号联系开发者,并发送申请编号。此页面会保持最新联系方式。</p>
49+
<p class="contact-body" data-t="contactMethodBody">选择一个平台联系开发者,并发送申请编号。此页面会保持最新联系方式。</p>
50+
<div class="contact-link-list" aria-label="联系方式">
51+
<span class="contact-link is-disabled" aria-disabled="true" data-t="contactQQPending">QQ(待补链接)</span>
52+
<a class="contact-link" href="https://t.me/DLH52" target="_blank" rel="noopener noreferrer" data-t="contactTelegram">Telegram</a>
53+
<a class="contact-link" href="https://xhslink.com/m/6Js4Cnqx8fM" target="_blank" rel="noopener noreferrer" data-t="contactXiaohongshu">小红书</a>
54+
</div>
5055
</section>
5156

5257
<section class="contact-panel reveal" aria-labelledby="contact-request-title">

docs/referral/referral.css

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,57 @@ body.invite-missing-code .invite-hero > .inline-link {
598598
line-height: 1.75;
599599
}
600600

601+
.contact-link-list {
602+
margin-top: 20px;
603+
border-top: 1px solid var(--line);
604+
}
605+
606+
.contact-link {
607+
min-height: 54px;
608+
display: flex;
609+
align-items: center;
610+
justify-content: space-between;
611+
gap: 18px;
612+
border-bottom: 1px solid var(--line);
613+
color: var(--ink);
614+
font-size: 16px;
615+
font-weight: 620;
616+
line-height: 1.4;
617+
text-decoration: none;
618+
transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
619+
}
620+
621+
.contact-link::after {
622+
content: "打开";
623+
flex: 0 0 auto;
624+
color: var(--muted);
625+
font-size: 13px;
626+
font-weight: 520;
627+
}
628+
629+
html[data-lang="en"] .contact-link::after {
630+
content: "Open";
631+
}
632+
633+
.contact-link[href]:hover {
634+
color: var(--ink);
635+
transform: translateX(2px);
636+
}
637+
638+
.contact-link.is-disabled {
639+
color: var(--muted);
640+
cursor: default;
641+
}
642+
643+
.contact-link.is-disabled::after {
644+
content: "待补";
645+
color: var(--subtle);
646+
}
647+
648+
html[data-lang="en"] .contact-link.is-disabled::after {
649+
content: "Pending";
650+
}
651+
601652
.contact-request-list {
602653
display: grid;
603654
gap: 0;

docs/referral/referral.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ const copy = {
4949
contactTitle: "领取 Pro 终身 5 折",
5050
contactSummary: "达到 20 位有效邀请后,请在 App 内提交申请,并带上申请编号联系开发者。",
5151
contactMethodTitle: "联系方式",
52-
contactMethodBody: "请通过活动发布账号联系开发者,并发送申请编号。此页面会保持最新联系方式。",
52+
contactMethodBody: "选择一个平台联系开发者,并发送申请编号。此页面会保持最新联系方式。",
53+
contactQQPending: "QQ(待补链接)",
54+
contactTelegram: "Telegram",
55+
contactXiaohongshu: "小红书",
5356
contactRequestTitle: "发送时包含",
5457
contactRequest1Title: "申请编号",
5558
contactRequest1Body: "在 App 的邀请页点击「Pro 终身 5 折」-「查看」,复制 REF 开头的编号。",
@@ -106,7 +109,10 @@ const copy = {
106109
contactTitle: "Claim 50% Off Pro Lifetime",
107110
contactSummary: "After reaching 20 valid referrals, submit the request in the app and contact the developer with your claim ID.",
108111
contactMethodTitle: "Contact",
109-
contactMethodBody: "Contact the developer through the campaign channel and send your claim ID. This page will keep the latest contact details.",
112+
contactMethodBody: "Choose a platform below and send your claim ID. This page will keep the latest contact details.",
113+
contactQQPending: "QQ (link pending)",
114+
contactTelegram: "Telegram",
115+
contactXiaohongshu: "Xiaohongshu",
110116
contactRequestTitle: "Include these details",
111117
contactRequest1Title: "Claim ID",
112118
contactRequest1Body: "In the app referral page, tap Pro Lifetime 50% Off - View, then copy the ID starting with REF.",

0 commit comments

Comments
 (0)