Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add UTXO Global Wallet #497

Merged
merged 1 commit into from
Oct 11, 2024
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
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": true
"source.fixAll.stylelint": "explicit"
},
"stylelint.validate": ["css", "scss"],
"editor.defaultFormatter": "esbenp.prettier-vscode"
Expand Down
4 changes: 4 additions & 0 deletions public/locales/en/wallets.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
"title": "Rei Wallet",
"description": "Rei Wallet is an open source browser extension wallet which is developed for Nervos CKB, and focused on providing a simple and secure way to interact with the Nervos CKB."
},
"utxo_global_wallet": {
"title": "UTXO Global Wallet",
"description": "#UTXO Wallet built on #CKB. Make the #UTXO model more scalable, secure & interoperable."
},
"official_website": "Official website",
"tutorials": "Tutorials",
"download": "Download"
Expand Down
4 changes: 4 additions & 0 deletions public/locales/es/wallets.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
"title": "Rei Wallet",
"description": "Rei Wallet es una billetera de extensión de navegador de código abierto desarrollada para Nervos CKB y enfocada en brindar una forma simple y segura de interactuar con Nervos CKB."
},
"utxo_global_wallet": {
"title": "UTXO Global Wallet",
"description": "#Cartera UTXO construida sobre #CKB. Haz que el modelo #UTXO sea más escalable, seguro e interoperable."
},
"official_website": "Sitio web oficial",
"tutorials": "Tutoriales",
"download": "Descargar"
Expand Down
4 changes: 4 additions & 0 deletions public/locales/fr/wallets.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
"title": "Rei Wallet",
"description": "Rei Wallet est une extension de portefeuille de navigateur open source développée pour Nervos CKB et axée sur la fourniture d'un moyen simple et sécurisé d'interagir avec Nervos CKB."
},
"utxo_global_wallet": {
"title": "UTXO Global Wallet",
"description": "#Portefeuille UTXO construit sur #CKB. Rendez le modèle #UTXO plus évolutif, sécurisé et interopérable."
},
"official_website": "Site officiel",
"tutorials": "Tutoriels",
"download": "Télécharger"
Expand Down
4 changes: 4 additions & 0 deletions public/locales/pt/wallets.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
"title": "Rei Wallet",
"description": "Rei Wallet é uma carteira de extensão de navegador de código aberto desenvolvida para o Nervos CKB e focada em fornecer uma maneira simples e segura de interagir com o Nervos CKB."
},
"utxo_global_wallet": {
"title": "UTXO Global Wallet",
"description": "#Carteira UTXO construída sobre #CKB. Torne o modelo #UTXO mais escalável, seguro e interoperável."
},
"official_website": "Website oficial",
"tutorials": "Tutoriais",
"download": "Baixar"
Expand Down
4 changes: 4 additions & 0 deletions public/locales/zh/wallets.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
"title": "Rei Wallet",
"description": "Rei Wallet 是一款为 Nervos CKB 开发的开源浏览器扩展钱包,专注于提供一种简单、安全的方式与 Nervos CKB 交互。"
},
"utxo_global_wallet": {
"title": "UTXO Global Wallet",
"description": "#基于#CKB构建的UTXO钱包。使#UTXO模型更加可扩展、安全且互操作。"
},
"official_website": "官网",
"tutorials": "教程",
"download": "下载"
Expand Down
2 changes: 2 additions & 0 deletions src/pages/wallets/icons/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import ImTokenIcon from './imToken.svg'
import GateWeb3Wallet from './GateWeb3Wallet.svg'
import OneKey from './onekey.svg'
import ReiWallet from './reiwallet.svg'
import UTXOGlobalWallet from './utxoGlobal.svg'

const CkbBullIcon = () => (
<img src="/images/ckbull_logo.jpg" alt="ckbull" width="45" height="45" style={{ borderRadius: '50%' }} />
Expand All @@ -27,4 +28,5 @@ export {
OneKey,
ReiWallet,
GateWeb3Wallet,
UTXOGlobalWallet,
}
18 changes: 18 additions & 0 deletions src/pages/wallets/icons/utxoGlobal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 33 additions & 2 deletions src/pages/wallets/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import {
OneKey,
ReiWallet,
GateWeb3Wallet,
UTXOGlobalWallet,
} from './icons'

const pagePath = '/src/pages/wallets/index.page.tsx'
Expand Down Expand Up @@ -272,14 +273,44 @@ const Wallets: NextPage<PageProps> = ({ contributors, author }) => {
{t('official_website')}
</StyledLink>
<br />
<StyledLink href="https://chromewebstore.google.com/detail/rei-wallet/jacbgghlojlggfgljfhhlcddicacmbek" colored>
<StyledLink
href="https://chromewebstore.google.com/detail/rei-wallet/jacbgghlojlggfgljfhhlcddicacmbek"
colored
>
{t('download')}
</StyledLink>
<br />
<StyledLink href="https://docs.reiwallet.io/" colored>
{t('tutorials')}
</StyledLink>
</div>
</>
),
},
{
title: t('utxo_global_wallet.title'),
titleRender: (title: string) => <FunctionsItemTitle title={title} icon={<UTXOGlobalWallet />} />,
tags: ['CHROME', 'EXTENSION'],
content: (
<>
{t('utxo_global_wallet.description')
.split('\n')
.map(p => (
<div key={p}>{p}</div>
))}
<div className="oneLineGap">
<StyledLink href="https://utxo.global/" colored>
{t('official_website')}
</StyledLink>
<br />
<StyledLink
href="https://docs.reiwallet.io/"
href="https://chromewebstore.google.com/detail/utxo-global-wallet/lnamkkidoonpeknminiadpgjiofpdmle"
colored
>
{t('download')}
</StyledLink>
<br />
<StyledLink href="https://utxo-global.gitbook.io/utxo-global" colored>
{t('tutorials')}
</StyledLink>
</div>
Expand Down