Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/social-sloths-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@venusprotocol/evm": minor
---

added transactions tab to Dashboard page
4 changes: 2 additions & 2 deletions apps/evm/src/components/Tabs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const Tabs = ({
<div className="relative">
<div
className={cn(
'flex text-sm gap-x-4 scrollbar-hidden overflow-y-auto sm:gap-x-6 md:overflow-y-visible',
'flex text-sm gap-x-6 scrollbar-hidden overflow-y-auto sm:gap-x-6 md:overflow-y-visible',
headerClassName,
)}
>
Expand All @@ -67,7 +67,7 @@ export const Tabs = ({
activeTab.id === tab.id ? 'text-white' : 'text-grey',
)}
>
<p className="mb-2 font-semibold whitespace-nowrap transition-colors text-inherit">
<p className="mb-4 font-semibold whitespace-nowrap transition-colors text-inherit">
{tab.title}
</p>

Expand Down
44 changes: 44 additions & 0 deletions apps/evm/src/libs/translations/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,14 @@
},
"xAxisValue": "{{ date, numeric }}"
},
"placeholder": {
"buttonLabel": "Browse"
},
"tabs": {
"markets": "Markets",
"staking": "Staking",
"transactions": "Transactions"
},
"topMarkets": {
"borrowButton": {
"label": "Borrow"
Expand All @@ -351,6 +359,42 @@
"label": "Supply"
},
"textTitle": "Top markets on Venus"
},
"transactions": {
"placeholder": {
"title": "No transactions yet"
},
"selects": {
"source": {
"all": "All markets"
},
"txType": {
"all": "All transactions",
"approve": "Approval",
"borrow": "Borrow",
"enterMarket": "Enabled collateral",
"exitMarket": "Disabled collateral",
"mint": "Supply",
"redeem": "Withdraw",
"repay": "Repayment"
}
},
"today": "Today",
"txText": {
"approve": "Approved spending {{tokenAmount}}",
"enterMarket": "<Styled>Enabled</Styled> {{vTokenSymbol}} as collateral",
"exitMarket": "<Styled>Disabled</Styled> {{vTokenSymbol}} as collateral"
},
"txType": {
"approve": "Approval",
"borrow": "Borrow",
"enterMarket": "Enabled collateral",
"exitMarket": "Disabled collateral",
"mint": "Supply",
"redeem": "Withdraw",
"repay": "Repayment"
},
"yesterday": "Yesterday"
}
},
"eModeBanner": {
Expand Down
44 changes: 44 additions & 0 deletions apps/evm/src/libs/translations/translations/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,14 @@
},
"xAxisValue": "{{ date, numeric }}"
},
"placeholder": {
"buttonLabel": "閲覧"
},
"tabs": {
"markets": "マーケット",
"staking": "ステーキング",
"transactions": "取引"
},
"topMarkets": {
"borrowButton": {
"label": "借入"
Expand All @@ -351,6 +359,42 @@
"label": "供給"
},
"textTitle": "Venusのトップマーケット"
},
"transactions": {
"placeholder": {
"title": "取引はまだありません"
},
"selects": {
"source": {
"all": "すべてのマーケット"
},
"txType": {
"all": "すべての取引",
"approve": "承認",
"borrow": "借入",
"enterMarket": "担保を有効化",
"exitMarket": "担保を無効化",
"mint": "供給",
"redeem": "出金",
"repay": "返済"
}
},
"today": "今日",
"txText": {
"approve": "支出{{tokenAmount}}を承認",
"enterMarket": "<Styled>有効化</Styled> {{vTokenSymbol}}を担保として設定",
"exitMarket": "<Styled>無効化</Styled> {{vTokenSymbol}}を担保として解除"
},
"txType": {
"approve": "承認",
"borrow": "借入",
"enterMarket": "担保を有効化",
"exitMarket": "担保を無効化",
"mint": "供給",
"redeem": "出金",
"repay": "返済"
},
"yesterday": "昨日"
}
},
"eModeBanner": {
Expand Down
44 changes: 44 additions & 0 deletions apps/evm/src/libs/translations/translations/th.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,14 @@
},
"xAxisValue": "{{ date, numeric }}"
},
"placeholder": {
"buttonLabel": "เรียกดู"
},
"tabs": {
"markets": "ตลาด",
"staking": "สเตคกิ้ง",
"transactions": "ธุรกรรม"
},
"topMarkets": {
"borrowButton": {
"label": "ยืม"
Expand All @@ -351,6 +359,42 @@
"label": "ฝาก"
},
"textTitle": "ตลาดยอดนิยมบน Venus"
},
"transactions": {
"placeholder": {
"title": "ยังไม่มีธุรกรรม"
},
"selects": {
"source": {
"all": "ทุกตลาด"
},
"txType": {
"all": "ธุรกรรมทั้งหมด",
"approve": "การอนุมัติ",
"borrow": "ยืม",
"enterMarket": "เปิดใช้หลักประกัน",
"exitMarket": "ปิดใช้หลักประกัน",
"mint": "ฝาก",
"redeem": "ถอน",
"repay": "ชำระคืน"
}
},
"today": "วันนี้",
"txText": {
"approve": "อนุมัติการใช้จ่าย {{tokenAmount}} แล้ว",
"enterMarket": "<Styled>เปิดใช้</Styled> {{vTokenSymbol}} เป็นหลักประกัน",
"exitMarket": "<Styled>ปิดใช้</Styled> {{vTokenSymbol}} เป็นหลักประกัน"
},
"txType": {
"approve": "การอนุมัติ",
"borrow": "ยืม",
"enterMarket": "เปิดใช้หลักประกัน",
"exitMarket": "ปิดใช้หลักประกัน",
"mint": "ฝาก",
"redeem": "ถอน",
"repay": "ชำระคืน"
},
"yesterday": "เมื่อวาน"
}
},
"eModeBanner": {
Expand Down
44 changes: 44 additions & 0 deletions apps/evm/src/libs/translations/translations/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,14 @@
},
"xAxisValue": "{{ date, numeric }}"
},
"placeholder": {
"buttonLabel": "Göz at"
},
"tabs": {
"markets": "Piyasalar",
"staking": "Staking",
"transactions": "İşlemler"
},
"topMarkets": {
"borrowButton": {
"label": "Borç al"
Expand All @@ -351,6 +359,42 @@
"label": "Arz"
},
"textTitle": "Venus’taki en iyi piyasalar"
},
"transactions": {
"placeholder": {
"title": "Henüz işlem yok"
},
"selects": {
"source": {
"all": "Tüm piyasalar"
},
"txType": {
"all": "Tüm işlemler",
"approve": "Onay",
"borrow": "Borç al",
"enterMarket": "Teminat etkin",
"exitMarket": "Teminat devre dışı",
"mint": "Arz",
"redeem": "Çekim",
"repay": "Geri ödeme"
}
},
"today": "Bugün",
"txText": {
"approve": "{{tokenAmount}} harcaması onaylandı",
"enterMarket": "{{vTokenSymbol}} için <Styled>teminat etkinleştirildi</Styled>",
"exitMarket": "{{vTokenSymbol}} için <Styled>teminat devre dışı bırakıldı</Styled>"
},
"txType": {
"approve": "Onay",
"borrow": "Borç al",
"enterMarket": "Teminat etkin",
"exitMarket": "Teminat devre dışı",
"mint": "Arz",
"redeem": "Çekim",
"repay": "Geri ödeme"
},
"yesterday": "Dün"
}
},
"eModeBanner": {
Expand Down
44 changes: 44 additions & 0 deletions apps/evm/src/libs/translations/translations/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,14 @@
},
"xAxisValue": "{{ date, numeric }}"
},
"placeholder": {
"buttonLabel": "Duyệt"
},
"tabs": {
"markets": "Thị trường",
"staking": "Staking",
"transactions": "Giao dịch"
},
"topMarkets": {
"borrowButton": {
"label": "Vay"
Expand All @@ -351,6 +359,42 @@
"label": "Cung"
},
"textTitle": "Top thị trường trên Venus"
},
"transactions": {
"placeholder": {
"title": "Chưa có giao dịch"
},
"selects": {
"source": {
"all": "Tất cả thị trường"
},
"txType": {
"all": "Tất cả giao dịch",
"approve": "Phê duyệt",
"borrow": "Vay",
"enterMarket": "Bật tài sản thế chấp",
"exitMarket": "Tắt tài sản thế chấp",
"mint": "Cung cấp",
"redeem": "Rút",
"repay": "Hoàn trả"
}
},
"today": "Hôm nay",
"txText": {
"approve": "Đã phê duyệt chi tiêu {{tokenAmount}}",
"enterMarket": "<Styled>Bật</Styled> {{vTokenSymbol}} làm tài sản thế chấp",
"exitMarket": "<Styled>Tắt</Styled> {{vTokenSymbol}} làm tài sản thế chấp"
},
"txType": {
"approve": "Phê duyệt",
"borrow": "Vay",
"enterMarket": "Bật tài sản thế chấp",
"exitMarket": "Tắt tài sản thế chấp",
"mint": "Cung cấp",
"redeem": "Rút",
"repay": "Hoàn trả"
},
"yesterday": "Hôm qua"
}
},
"eModeBanner": {
Expand Down
44 changes: 44 additions & 0 deletions apps/evm/src/libs/translations/translations/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,14 @@
},
"xAxisValue": "{{ date, numeric }}"
},
"placeholder": {
"buttonLabel": "浏览"
},
"tabs": {
"markets": "市场",
"staking": "质押",
"transactions": "交易"
},
"topMarkets": {
"borrowButton": {
"label": "借款"
Expand All @@ -351,6 +359,42 @@
"label": "供应"
},
"textTitle": "Venus 顶级市场"
},
"transactions": {
"placeholder": {
"title": "暂无交易"
},
"selects": {
"source": {
"all": "所有市场"
},
"txType": {
"all": "所有交易",
"approve": "授权",
"borrow": "借款",
"enterMarket": "已启用抵押品",
"exitMarket": "已停用抵押品",
"mint": "供应",
"redeem": "提取",
"repay": "还款"
}
},
"today": "今天",
"txText": {
"approve": "已授权支出 {{tokenAmount}}",
"enterMarket": "<Styled>已启用</Styled> {{vTokenSymbol}} 作为抵押品",
"exitMarket": "<Styled>已停用</Styled> {{vTokenSymbol}} 作为抵押品"
},
"txType": {
"approve": "授权",
"borrow": "借款",
"enterMarket": "已启用抵押品",
"exitMarket": "已停用抵押品",
"mint": "供应",
"redeem": "提取",
"repay": "还款"
},
"yesterday": "昨天"
}
},
"eModeBanner": {
Expand Down
Loading