From 4df0d165dc434050d56afbd3029e740b42e59ea5 Mon Sep 17 00:00:00 2001 From: john Date: Thu, 27 Jun 2024 18:30:02 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 4 ++-- src/contract/utils.ts | 5 +++-- src/i18n/translation/en.json | 2 +- src/pages/Home.module.css | 9 ++++----- src/pages/Mint.module.css | 1 + src/pages/Mint.tsx | 15 ++++++++------- 6 files changed, 19 insertions(+), 17 deletions(-) diff --git a/index.html b/index.html index 4689c02..f7e0971 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ @@ -13,7 +13,7 @@ name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1, minimum-scale=1, user-scalable=no" /> - Edge AI Node + YOTTA Edge AI Node
diff --git a/src/contract/utils.ts b/src/contract/utils.ts index 6ad39f8..6e91eb1 100644 --- a/src/contract/utils.ts +++ b/src/contract/utils.ts @@ -1,7 +1,7 @@ /* * @LastEditors: John * @Date: 2024-06-19 15:48:57 - * @LastEditTime: 2024-06-27 11:31:09 + * @LastEditTime: 2024-06-27 17:58:57 * @Author: John */ import { config } from "@/components/WalletProvider"; @@ -205,7 +205,8 @@ export async function payByContract( }); } catch (err) { console.log("pay By Contract catch err", err); - reject(new BaseError(`${err}`)); + if (typeof err == "string") return reject(new BaseError(`${err}`)); + return reject(err); } }); } diff --git a/src/i18n/translation/en.json b/src/i18n/translation/en.json index 6e3e2f2..96be455 100644 --- a/src/i18n/translation/en.json +++ b/src/i18n/translation/en.json @@ -98,7 +98,7 @@ "领取中": "Processing", "Buy Edge AI Node to get invitation link": "Buy Edge AI Node to get invitation link", "Link wallet to get invitation link": "Link wallet to get invitation link", - "正在获取已授权金额": "Currently retrieving authorized amount.", + "正在获取已授权金额": "Retrieving authorized amount.", "升级成功,返回首页查看": "Upgrade successful, return to homepage to view.", "无级别提升": "Promotion without rank", "没有更多数据了": "No more data", diff --git a/src/pages/Home.module.css b/src/pages/Home.module.css index 5af7f77..e5bb8a1 100644 --- a/src/pages/Home.module.css +++ b/src/pages/Home.module.css @@ -729,11 +729,10 @@ gap: 16px; white-space: nowrap; - - .invite_content_icon { - width: 24px; - height: 24px; - } + } + .invite_content_icon { + width: 24px; + height: 24px; } } } diff --git a/src/pages/Mint.module.css b/src/pages/Mint.module.css index 3f8b9e1..6638966 100644 --- a/src/pages/Mint.module.css +++ b/src/pages/Mint.module.css @@ -1,5 +1,6 @@ .container { padding: 0 14px; + padding-bottom: 100px; } .Mint { display: flex; diff --git a/src/pages/Mint.tsx b/src/pages/Mint.tsx index 923f1f5..6b64117 100644 --- a/src/pages/Mint.tsx +++ b/src/pages/Mint.tsx @@ -1,7 +1,7 @@ /* * @LastEditors: John * @Date: 2024-06-18 15:28:03 - * @LastEditTime: 2024-06-27 14:35:27 + * @LastEditTime: 2024-06-27 17:17:09 * @Author: John */ import { cn, filterAddressBeforeZero, filterAmountBeforeZero } from "@/utils"; @@ -110,12 +110,13 @@ export default function () {
- Introduction to the node Introduction to the node Inion to the node - Introduction to the node Introduction to the node Introduction to - the node Introduction to the node Introduction to the node - Introduction to the node Introduction to the node Introduction to - the node Introduction to the node Introduction to the node - Introduction to the node + Yotta Network is a modular AI storage and computing network driven + by zero-knowledge proofs (ZK), designed to enable anyone to easily + build decentralized, verifiable, and interoperable AI applications. + The Yotta Network testnet will be conducted in three phases: Alpha, + Beta, and Final. The Alpha Testnet Edge Node is the whitelisted node + operator selected for the early Alpha test phase, enjoying the + highest testnet reward ratio.