feat(coins-rules): update coin rules text to English for better clarity

style(sidebar): enhance hero section with new padding, border, and background
This commit is contained in:
2026-06-29 14:17:46 +08:00
parent e372d58b4c
commit 72ac923a44
3 changed files with 30 additions and 22 deletions
+21 -20
View File
@@ -26,40 +26,40 @@ interface CoinRuleItem {
const COIN_RULES: readonly CoinRuleItem[] = [
{
title: "普通聊天",
cost: "2 coins / ",
free: "每周免费 50 条",
title: "Standard Chat",
cost: "2 coins / message",
free: "50 free messages weekly",
icon: MessageCircle,
},
{
title: "私密聊天",
cost: "10 coins / ",
free: "每天免费 1 条",
title: "Private Chat",
cost: "10 coins / message",
free: "1 free message daily",
icon: Sparkles,
},
{
title: "语音消息",
cost: "20 coins / ",
title: "Voice Message",
cost: "20 coins / message",
icon: Mic2,
},
{
title: "语音电话",
cost: "20 coins / ",
title: "Voice Call",
cost: "20 coins / call",
icon: Phone,
},
{
title: "照片",
cost: "40 coins / ",
title: "Photo",
cost: "40 coins / photo",
icon: ImageIcon,
},
{
title: "私密相册",
cost: "10 300 coins",
title: "Private Album",
cost: "10 photos / 300 coins",
icon: ImageIcon,
},
{
title: "私密相册",
cost: "20 600 coins",
title: "Private Album",
cost: "20 photos / 600 coins",
icon: ImageIcon,
},
] as const;
@@ -82,9 +82,9 @@ export function CoinsRulesScreen() {
<Coins size={24} strokeWidth={2.4} />
</span>
<p className={styles.eyebrow}>Coins Guide</p>
<h1 className={styles.title}></h1>
<h1 className={styles.title}>Coin Usage Rules</h1>
<p className={styles.subtitle}>
See how many coins each interaction costs before you top up.
</p>
</div>
</header>
@@ -94,9 +94,10 @@ export function CoinsRulesScreen() {
<Gift size={20} strokeWidth={2.3} />
</div>
<div>
<h2 className={styles.freeTitle}></h2>
<h2 className={styles.freeTitle}>Free Allowance</h2>
<p className={styles.freeText}>
50 1
Standard chat includes 50 free messages weekly. Private chat
includes 1 free message daily.
</p>
</div>
</section>
@@ -53,7 +53,14 @@
}
.hero {
padding: 12px 2px 6px;
padding: 18px;
border: 1px solid rgba(246, 87, 160, 0.12);
border-radius: 26px;
background:
linear-gradient(135deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 239, 246, 0.84) 100%),
#ffffff;
box-shadow: 0 14px 34px rgba(55, 36, 44, 0.07);
backdrop-filter: blur(16px);
}
.kicker {
@@ -38,7 +38,7 @@ export function SidebarWalletCard({
className={styles.rulesButton}
onClick={onRulesClick}
>
Coins
Coin Usage Rules
</button>
</div>