style: 将 Unicode 转义序列替换为可读的中文字符

This commit is contained in:
2026-03-02 06:48:32 +08:00
parent 70344bcd98
commit 08e5abe165
6 changed files with 14 additions and 14 deletions

View File

@@ -73,10 +73,10 @@ export function MicButton({ onStart, onStop }: MicButtonProps) {
width={48}
height={48}
fill="currentColor"
aria-label="\u9ea6\u514b\u98ce"
aria-label="麦克风"
role="img"
>
<title>{"\u9ea6\u514b\u98ce"}</title>
<title>{"麦克风"}</title>
<path d="M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3z" />
<path d="M17 11c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.61 6.43 6 6.92V21h2v-3.08c3.39-.49 6-3.39 6-6.92h-2z" />
</svg>
@@ -99,7 +99,7 @@ export function MicButton({ onStart, onStop }: MicButtonProps) {
</div>
</div>
<p className="font-medium text-fg-dim text-sm">
{"\u6309\u4f4f\u8bf4\u8bdd"}
{"按住说话"}
</p>
</section>
);