feat(wallet): redesign drawer wallet states to match Figma 4476-15287/15669
Disconnected state (Figma 4476-15287): bump the compact CTA to the spec'd dimensions — h-12 (48px), text-[15px], font-medium — so the yellow 链接钱包 button matches the Figma pill exactly while leaving the desktop header pill (compact=false) untouched. Connected state (Figma 4476-15669/16024): rebuild the compact branch as the spec'd info card + danger button: - A transparent 登录地址 label (text-[13px] font-bold #E5E5E5) with an 8px gap to the full 0x… address, which uses Figma's character-level styling: first 5 and last 5 chars rendered bold white, middle 32 chars rendered #A8A9AE / font-medium, replicating Figma's characterStyleOverrides. - A full-width 48px disconnect pill at bg-[#2A1B20] with #F36161 text and the LogOut glyph on the right at 15px font-medium. Add a new walletLoginAddress i18n key across all 7 locales (en, zh-CN, ja, ko, vi, id, ms) for the new 登录地址 label.
This commit is contained in:
@@ -176,6 +176,7 @@ export const enDict: Dict = {
|
||||
close: "Close",
|
||||
walletConnect: "Connect Wallet",
|
||||
walletConnectedAs: "Connected wallet",
|
||||
walletLoginAddress: "Login address",
|
||||
walletDisconnect: "Disconnect",
|
||||
walletLoginTitle: "Connect wallet",
|
||||
walletLoginDesc:
|
||||
|
||||
@@ -176,6 +176,7 @@ export const idDict: Dict = {
|
||||
close: "Tutup",
|
||||
walletConnect: "Hubungkan Dompet",
|
||||
walletConnectedAs: "Dompet terhubung",
|
||||
walletLoginAddress: "Alamat login",
|
||||
walletDisconnect: "Putuskan",
|
||||
walletLoginTitle: "Hubungkan dompet",
|
||||
walletLoginDesc:
|
||||
|
||||
@@ -175,6 +175,7 @@ export const jaDict: Dict = {
|
||||
close: "閉じる",
|
||||
walletConnect: "ウォレット接続",
|
||||
walletConnectedAs: "接続中のウォレット",
|
||||
walletLoginAddress: "ログインアドレス",
|
||||
walletDisconnect: "切断",
|
||||
walletLoginTitle: "ウォレットを接続",
|
||||
walletLoginDesc:
|
||||
|
||||
@@ -174,6 +174,7 @@ export const koDict: Dict = {
|
||||
close: "닫기",
|
||||
walletConnect: "지갑 연결",
|
||||
walletConnectedAs: "연결된 지갑",
|
||||
walletLoginAddress: "로그인 주소",
|
||||
walletDisconnect: "연결 해제",
|
||||
walletLoginTitle: "지갑 연결",
|
||||
walletLoginDesc:
|
||||
|
||||
@@ -174,6 +174,7 @@ export const msDict: Dict = {
|
||||
close: "Tutup",
|
||||
walletConnect: "Sambung Dompet",
|
||||
walletConnectedAs: "Dompet disambungkan",
|
||||
walletLoginAddress: "Alamat log masuk",
|
||||
walletDisconnect: "Putuskan",
|
||||
walletLoginTitle: "Sambung dompet",
|
||||
walletLoginDesc:
|
||||
|
||||
@@ -173,6 +173,7 @@ export const viDict: Dict = {
|
||||
close: "Đóng",
|
||||
walletConnect: "Kết nối ví",
|
||||
walletConnectedAs: "Ví đã kết nối",
|
||||
walletLoginAddress: "Địa chỉ đăng nhập",
|
||||
walletDisconnect: "Ngắt kết nối",
|
||||
walletLoginTitle: "Kết nối ví",
|
||||
walletLoginDesc:
|
||||
|
||||
@@ -167,6 +167,7 @@ export const zhDict: Dict = {
|
||||
close: "关闭",
|
||||
walletConnect: "连接钱包",
|
||||
walletConnectedAs: "已连接钱包",
|
||||
walletLoginAddress: "登录地址",
|
||||
walletDisconnect: "断开连接",
|
||||
walletLoginTitle: "连接钱包",
|
||||
walletLoginDesc: "签名验证钱包地址,不会发起交易,也不需要 Gas。",
|
||||
|
||||
Reference in New Issue
Block a user