Skip to content

Commit

Permalink
revert(chore): ath address screen design changes (#233)
Browse files Browse the repository at this point in the history
This reverts commit aacb11f.
  • Loading branch information
ice-orion committed Dec 21, 2023
1 parent c9d5ed7 commit 2f54b8b
Show file tree
Hide file tree
Showing 50 changed files with 96 additions and 107 deletions.
Binary file modified src/assets/images/card/okxWallet.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/images/card/[email protected]
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/images/card/[email protected]
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/constants/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ export const LINKS = {
DIST_REPOST_EXAMPLE: 'https://ice-production.b-cdn.net/assets/dist-post.jpg',
X_REPOST_LINK_EXAMPLE:
'https://twitter.com/ice_z3us/status/1732445405806477625?t=HgtbOUEVIxMENcUuRKIsQQ&s=19',
OKX_WALLET: 'https://www.okx.com/join',
OKX_WALLET: 'https://www.okx.com/web3',
ETHERSCAN: 'https://etherscan.io/address',
};
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {LINKS} from '@constants/links';
import {commonStyles} from '@constants/styles';
import {Images} from '@images';
import {DownloadIcon} from '@svg/DownloadIcon';
import {replaceString, t, tagRegex} from '@translations/i18n';
import {t} from '@translations/i18n';
import {openLinkWithInAppBrowser} from '@utils/device';
import {font} from '@utils/styles';
import React from 'react';
Expand All @@ -32,19 +32,11 @@ export const OkxWalletCard = ({style}: Props) => {
<Image
source={Images.backgrounds.blueSquaresBg}
style={[StyleSheet.absoluteFill, styles.backgroundImage]}
resizeMode={'repeat'}
resizeMode={'stretch'}
/>
<Image source={Images.card.okxWallet} style={styles.logoImage} />
<Text style={styles.descriptionText}>
{replaceString(
t('ethereum_address.okxWalletDescription'),
tagRegex('bold', false),
(match, index) => (
<Text key={match + index} style={styles.boldDescriptionText}>
{match}
</Text>
),
)}
{t('ethereum_address.okxWalletDescription')}
</Text>
<View style={styles.action}>
<DownloadIcon />
Expand All @@ -69,17 +61,14 @@ const styles = StyleSheet.create({
height: undefined,
},
logoImage: {
width: rem(126),
height: rem(38),
width: rem(80),
height: rem(45),
},
descriptionText: {
marginTop: rem(12),
marginHorizontal: rem(26),
marginHorizontal: rem(40),
...font(12, 18, 'regular', 'white', 'center'),
},
boldDescriptionText: {
...font(12, 18, 'bold', 'white', 'center'),
},
action: {
marginTop: rem(12),
flexDirection: 'row',
Expand Down
2 changes: 1 addition & 1 deletion src/screens/HomeFlow/EthereumAddress/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const styles = StyleSheet.create({
flexGrow: 1,
},
icon: {
marginTop: rem(24),
marginTop: rem(45),
alignSelf: 'center',
},
titleText: {
Expand Down
4 changes: 2 additions & 2 deletions src/translations/locales/af.json
Original file line number Diff line number Diff line change
Expand Up @@ -1177,8 +1177,8 @@
"enter_address_confirmation": "Is jy seker dat die Ethereum-adres korrek is?",
"validators_warning_title": "Bevestig Adres",
"validators_warning_text": "Let daarop dat individue wat 'n Ethereum-adres aan hul rekening bygevoeg het, nie in aanmerking kom om een van die top 300-validatorse te word volgens ons witboek vir die hoofnetlansering nie.",
"okxWalletDescription": "Ons beveel aan om jou [[:bold]]OKX Exchange[[/:bold]] Ethereum-adres te gebruik om enige gasgelde te vermy.\n\nAs OKX nie beskikbaar is in jou land nie, kan jy 'n selfbewaringsbeurs soos MetaMask of Trust Wallet gebruik.",
"okxWalletAction": "SKEP REKENING OP OKX"
"okxWalletDescription": "Beveilig jou munte met OKX Wallet, ons vertroude self-bewaar offisiële wallet-maatskappy.",
"okxWalletAction": "LAAI OKX-PLIG AF"
},
"social_kyc": {
"header": "Verifikasie",
Expand Down
4 changes: 2 additions & 2 deletions src/translations/locales/am.json
Original file line number Diff line number Diff line change
Expand Up @@ -1174,8 +1174,8 @@
"enter_address_confirmation": "የ Ethereum አድራሻ ትክክል መሆኑን እርግጠኛ ነዎት?",
"validators_warning_title": "አድራሻ አረጋግጥ",
"validators_warning_text": "እባክዎን የኢቴሬም አድራሻን ወደ መለያቸው ያከሉ ግለሰቦች ለዋና ኔትዎርክ ማስጀመሪያ በነጭ ወረቀታችን መሰረት ከከፍተኛ 300 አረጋጋጮች ውስጥ አንዱ ለመሆን ብቁ እንዳልሆኑ ልብ ይበሉ።",
"okxWalletDescription": "ሊጠቀመንየው [[:bold]]OKX Exchange[[/:bold]] ኢግስቲየም አካዳሚውን ለማድረግ እንዲወስደ የአከባቢ አውድማ ወይም ትራስት ወለት ይጠቀሙ።\n\nእንዲሁም አሁን ለማስፈራራት አከባቢው አንዳንድ የእኛ አካዳሚዎች ከሚኖረው የ MetaMask ወይም Trust Wallet ይጠቀሙ",
"okxWalletAction": "OKX አካዳሚ መለያ ፕሮፓይርት ፈልግ"
"okxWalletDescription": "እኛን ማያያዣ በማብራሪ የሚታይታይ ህግ እንዴት እንዲወርድ የOKX ገባዎችዎን ያግኙ",
"okxWalletAction": "OKX ወልቃቂያን እንዴት ይጫኑ"
},
"social_kyc": {
"header": "ማረጋገጫ",
Expand Down
4 changes: 2 additions & 2 deletions src/translations/locales/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -1174,8 +1174,8 @@
"enter_address_confirmation": "هل أنت متأكد من أن عنوان Ethereum صحيح؟",
"validators_warning_title": "تأكيد العنوان",
"validators_warning_text": "يرجى ملاحظة أن الأفراد الذين أضافوا عنوان Ethereum إلى حسابهم ليس لديهم الحق في أن يصبحوا واحدًا من أفضل 300 مُحقق وفقًا لورقتنا البيضاء لإطلاق الشبكة الرئيسية.",
"okxWalletDescription": "نوصي باستخدام عنوان Ethereum لمنصة [[:bold]]OKX Exchange[[/:bold]] الخاص بك لتجنب أي رسوم غاز.\n\nإذا لم تكن منصة OKX متاحة في بلدك، يمكنك استخدام محفظة خاصة بك مثل MetaMask أو Trust Wallet.",
"okxWalletAction": "إنشاء حساب على OKX"
"okxWalletDescription": "آمن عملاتك مع محفظة OKX، شريك محفظة العملات الرسمية الذاتية التصرف الموثوق بها لدينا.",
"okxWalletAction": "قم بتنزيل محفظة OKX"
},
"social_kyc": {
"header": "التحقق",
Expand Down
4 changes: 2 additions & 2 deletions src/translations/locales/az.json
Original file line number Diff line number Diff line change
Expand Up @@ -1174,8 +1174,8 @@
"enter_address_confirmation": "Ethereum ünvanının düzgün olduğundan əminsinizmi?",
"validators_warning_title": "Ünvanı Təsdiq Et",
"validators_warning_text": "Xahiş edirəm diqqət edin ki, Ethereum ünvanını hesabına əlavə edənlər, əsas şəbəkənin istehsalı üçün bizim ağlaşdırmamıza əsasən ən yaxşı 300 doğrulayıcının biri olmaq üçün əhəmiyyət daşımırlar.",
"okxWalletDescription": "Gaz ödənişlərindən qaçmaq üçün [[:bold]]OKX Exchange[[/:bold]] Ethereum ünvanınızı istifadə etmənizi tövsiyə edirik.\n\nƏgər OKX sizin ölkənizdə mövcud deyilsə, MetaMask və ya Trust Wallet kimi özünüzün idarəetməli cüzdanını istifadə edə bilərsiniz.",
"okxWalletAction": "OKX-DA HESAB AÇIN"
"okxWalletDescription": "OKX Wallet il əhvalatınızı təminat altına alın, bizim etibarlı öz-özünü idarə edən rəsmi cüzdan tərəfdaşımız.",
"okxWalletAction": "OKX CÜZDANINI YÜKLƏYİN"
},
"social_kyc": {
"header": "Doğrulama",
Expand Down
4 changes: 2 additions & 2 deletions src/translations/locales/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -1174,8 +1174,8 @@
"enter_address_confirmation": "Сигурни ли сте, че Ethereum адресът е правилен?",
"validators_warning_title": "Потвърдете адреса",
"validators_warning_text": "Моля, обърнете внимание, че лицата, които са добавили Ethereum адрес към своя акаунт, нямат право да станат един от най-добрите 300 потвърждаващи лица според нашата бяла книга за пускането на основната мрежа.",
"okxWalletDescription": "Препоръчваме използването на вашия адрес на Ethereum в [[:bold]]OKX Exchange[[/:bold]], за да избегнете газови такси.\n\nАко OKX не е наличен във вашата страна, можете да използвате собствен портфейл като MetaMask или Trust Wallet.",
"okxWalletAction": "СЪЗДАВАНЕ НА АКАУНТ В OKX"
"okxWalletDescription": "Осигурете си монетите си с OKX Wallet, нашият доверен самостоятелен официален партньор по портфейла.",
"okxWalletAction": "ИЗТЕГЛЕТЕ OKX ПОРТФЕЙЛА"
},
"social_kyc": {
"header": "Потвърждение",
Expand Down
4 changes: 2 additions & 2 deletions src/translations/locales/bn.json
Original file line number Diff line number Diff line change
Expand Up @@ -1174,8 +1174,8 @@
"enter_address_confirmation": "আপনি কি নিশ্চিত যে Ethereum ঠিক এসেছে?",
"validators_warning_title": "ঠিক করা ঠিকানা",
"validators_warning_text": "দয়া করে মনে রাখুন যে সেই ব্যক্তিগণ যারা তাদের একটি Ethereum ঠিকানা তাদের অ্যাকাউন্টে যোগ করেছেন, মূলনেট লঞ্চের জন্য আমাদের সাদাকাগজে উল্লিখিত প্রধান 300 যাচাইকারীর মধ্যে একটি হতে যাত্রী নয়।",
"okxWalletDescription": "[[:bold]]OKX Exchange[[/:bold]] এর আপনার গ্যাস ফি এড়ানোর জন্য আমরা আপনার Ethereum ঠিকানা ব্যবহার করতে প্রস্তাবনা দিচ্ছি।\n\nআপনার দেশে OKX পাওয়া যায়নি তাহলে, আপনি MetaMask বা Trust Wallet সম্প্রতি করে একটি স্বনির্দিষ্ট ওয়ালেট ব্যবহার করতে পারেন",
"okxWalletAction": "OKX-তে একাউন্ট তৈরি করুন"
"okxWalletDescription": "আমাদের বিশ্বাসযোগ্য স্বয়ং-সংরক্ষণ সরকারী ওয়ালেট পার্টনার আমাদের সাথে আপনার মুদ্রা সুরক্ষিত করুন",
"okxWalletAction": "OKX ওয়ালেট ডাউনলোড করুন"
},
"social_kyc": {
"header": "যাচাই",
Expand Down
4 changes: 2 additions & 2 deletions src/translations/locales/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1174,8 +1174,8 @@
"enter_address_confirmation": "Jste si jisti, že je správná adresa Ethereum?",
"validators_warning_title": "Potvrďte Adresu",
"validators_warning_text": "Upozorňujeme, že osoby, které přidaly Ethereum adresu k jejich účtu, nemají nárok stát se jedním z nejlepších 300 validátorů podle našeho whitepaperu pro hlavní síťový spuštění.",
"okxWalletDescription": "Doporučujeme používat svou adresu Ethereum na platformě [[:bold]]OKX Exchange[[/:bold]], abyste se vyhnuli poplatkům za plyn.\n\nPokud není OKX k dispozici ve vaší zemi, můžete použít svou vlastní peněženku, jako je MetaMask nebo Trust Wallet.",
"okxWalletAction": "VYTVOŘIT ÚČET NA OKX"
"okxWalletDescription": "Zabezpečte své mince s OKX Wallet, naším důvěryhodným samostatným oficiálním partnerem pro peněženky.",
"okxWalletAction": "STÁHNOUT OKX WALLET"
},
"social_kyc": {
"header": "Ověření",
Expand Down
4 changes: 2 additions & 2 deletions src/translations/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -1174,8 +1174,8 @@
"enter_address_confirmation": "Sind Sie sicher, dass die Ethereum-Adresse korrekt ist?",
"validators_warning_title": "Adresse bestätigen",
"validators_warning_text": "Bitte beachten Sie, dass Personen, die ihre Ethereum-Adresse zu ihrem Konto hinzugefügt haben, gemäß unserem Whitepaper für den Start des Hauptnetzwerks nicht berechtigt sind, einer der besten 300 Validatoren zu werden.",
"okxWalletDescription": "Wir empfehlen die Verwendung Ihrer Ethereum-Adresse auf der [[:bold]]OKX Exchange-Plattform[[/:bold]], um Gasgebühren zu vermeiden.\n\nWenn OKX in Ihrem Land nicht verfügbar ist, können Sie eine eigene Wallet wie MetaMask oder Trust Wallet verwenden.",
"okxWalletAction": "KONTO BEI OKX ERSTELLEN"
"okxWalletDescription": "Sichern Sie Ihre Münzen mit OKX Wallet, unserem vertrauenswürdigen selbstverwalteten offiziellen Wallet-Partner.",
"okxWalletAction": "OKX WALLET HERUNTERLADEN"
},
"social_kyc": {
"header": "Verifizierung",
Expand Down
4 changes: 2 additions & 2 deletions src/translations/locales/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -1174,8 +1174,8 @@
"enter_address_confirmation": "Είστε σίγουροι ότι η διεύθυνση Ethereum είναι σωστή;",
"validators_warning_title": "Επιβεβαίωση Διεύθυνσης",
"validators_warning_text": "Σημειώστε ότι άτομα που έχουν προσθέσει μια διεύθυνση Ethereum στον λογαριασμό τους δεν είναι επιλέξιμα να γίνουν ένας από τους κορυφαίους 300 επικυρωτές σύμφωνα με το Λευκό μας Βιβλίο για την κύρια δίκτυα.",
"okxWalletDescription": "Σας συνιστούμε να χρησιμοποιήσετε τη διεύθυνση Ethereum σας στην πλατφόρμα [[:bold]]OKX Exchange[[/:bold]] για να αποφύγετε οποιεσδήποτε χρεώσεις αερίου.\n\nΕάν το OKX δεν είναι διαθέσιμο στη χώρα σας, μπορείτε να χρησιμοποιήσετε το δικό σας αυτοδιαχειριζόμενο πορτοφόλι όπως το MetaMask ή το Trust Wallet.",
"okxWalletAction": "ΔΗΜΙΟΥΡΓΙΑ ΛΟΓΑΡΙΑΣΜΟΥ ΣΤΟ OKX"
"okxWalletDescription": "Ασφαλίστε τα κέρματά σας με το OKX Wallet, τον αξιόπιστο αυτό-κηδεμόνα επίσημο εταίρο μας.",
"okxWalletAction": "ΛΗΨΗ OKX WALLET"
},
"social_kyc": {
"header": "Επαλήθευση",
Expand Down
4 changes: 2 additions & 2 deletions src/translations/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1171,8 +1171,8 @@
"enter_address_confirmation": "Are you sure that the Ethereum address is correct?",
"validators_warning_title": "Confirm Address",
"validators_warning_text": "Please note that individuals who have added an Ethereum address to their account are not eligible to become one of the top 300 validators as per our whitepaper for the mainnet launch.",
"okxWalletDescription": "We recommend using your [[:bold]]OKX Exchange[[/:bold]] Ethereum address to avoid any gas fees.\n\nIf OKX isn't available in your country, you can use a self-custodial wallet such as MetaMask or Trust Wallet.",
"okxWalletAction": "CREATE ACCOUNT ON OKX"
"okxWalletDescription": "Secure your coins with OKX Wallet, our trusted self-custodial official wallet partner.",
"okxWalletAction": "DOWNLOAD OKX WALLET"
},
"social_kyc": {
"header": "Verification",
Expand Down
4 changes: 2 additions & 2 deletions src/translations/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1174,8 +1174,8 @@
"enter_address_confirmation": "¿Estás seguro de que la dirección Ethereum es correcta?",
"validators_warning_title": "Confirmar Dirección",
"validators_warning_text": "Por favor, tenga en cuenta que las personas que han agregado una dirección de Ethereum a su cuenta no son elegibles para convertirse en uno de los 300 principales validadores según nuestro libro blanco para el lanzamiento de la red principal.",
"okxWalletDescription": "Recomendamos usar su dirección Ethereum de [[:bold]]OKX Exchange[[/:bold]] para evitar cualquier tarifa de gas.\n\nSi OKX no está disponible en su país, puede usar una billetera autogestionada como MetaMask o Trust Wallet.",
"okxWalletAction": "CREAR CUENTA EN OKX"
"okxWalletDescription": "Asegure sus monedas con OKX Wallet, nuestro confiable socio de cartera oficial de autogestión.",
"okxWalletAction": "DESCARGAR OKX WALLET"
},
"social_kyc": {
"header": "Verificación",
Expand Down
4 changes: 2 additions & 2 deletions src/translations/locales/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -1181,8 +1181,8 @@
"enter_address_confirmation": "آیا از صحت آدرس Ethereum اطمینان دارید؟",
"validators_warning_title": "تأیید آدرس",
"validators_warning_text": "لطفاً توجه داشته باشید که افرادی که آدرس Ethereum را به حساب خود اضافه کرده‌اند، از طریق کتاب سفید ما برای راه‌اندازی شبکه اصلی معتبر نیستند.",
"okxWalletDescription": "ما پیشنهاد می‌دهیم از آدرس Ethereum از صرافی [[:bold]]OKX Exchange[[/:bold]] برای جلوگیری از هرگونه هزینه گاز استفاده کنید.\n\nاگر OKX در کشور شما موجود نیست، می‌توانید از یک کیف پول خودمدیریتی مانند MetaMask یا Trust Wallet استفاده کنید.",
"okxWalletAction": "ایجاد حساب در OKX"
"okxWalletDescription": "سکه‌های خود را با کیف پول OKX، شریک اصلی خودمدیری اعتمادی ما محافظت کنید.",
"okxWalletAction": "OKX WALLET را بارگیری کنید"
},
"social_kyc": {
"header": "تایید هویت",
Expand Down
4 changes: 2 additions & 2 deletions src/translations/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1174,8 +1174,8 @@
"enter_address_confirmation": "Êtes-vous sûr que l'adresse Ethereum est correcte ?",
"validators_warning_title": "Confirmer l'adresse",
"validators_warning_text": "Veuillez noter que les personnes qui ont ajouté une adresse Ethereum à leur compte ne sont pas éligibles pour devenir l'un des 300 meilleurs validateurs selon notre livre blanc pour le lancement de la version principale.",
"okxWalletDescription": "Nous recommandons d'utiliser votre adresse Ethereum de [[:bold]]OKX Exchange[[/:bold]] pour éviter les frais de gaz.\n\nSi OKX n'est pas disponible dans votre pays, vous pouvez utiliser un portefeuille auto-géré tel que MetaMask ou Trust Wallet.",
"okxWalletAction": "CRÉER UN COMPTE SUR OKX"
"okxWalletDescription": "Sécurisez vos pièces avec OKX Wallet, notre partenaire de portefeuille officiel de confiance en libre gestion.",
"okxWalletAction": "TÉLÉCHARGER LE PORTEFEUILLE OKX"
},
"social_kyc": {
"header": "Vérification",
Expand Down
4 changes: 2 additions & 2 deletions src/translations/locales/gu.json
Original file line number Diff line number Diff line change
Expand Up @@ -1174,8 +1174,8 @@
"enter_address_confirmation": "શું તમે ખોટો છો કે Ethereum સરકાર સાચો છે?",
"validators_warning_title": "સરખું સરખું પત્ર",
"validators_warning_text": "મેળવેલા મોકલેલી અનેથડ્યો યુજર્સ્ ધ્યાનમાં રાખો કે તેમના એક Ethereum સરખું ઉપયોગકર્તાના ગણવામાં આવ્યા છે તે આમાં થવાનો હકદાર નથી, અમારી મુખ્ય નેટવર્ક લોન્ચ માટે અમારા વ્હાઇટપેપર પ્રમાણે.",
"okxWalletDescription": "આપને કોઈપણ ગેસ ફીસ નિરક્ષર કરવા માટે [[:bold]]OKX એક્ઝચેંજ[[/:bold]] એથેરિયમ એડ્રેસનો ઉપયોગ કરવાનું સિફારિશ કરીએ.\n\nજો આપના દેશમાં OKX ઉપલબ્ધ ન હોય, તો આપ મેટામાસ્ક અથવા ટ્રસ્ટ વૉલેટ વગેરે સ્વ-નિગુઢ વોલેટનો ઉપયોગ કરી શકો છો.",
"okxWalletAction": "OKX પર એકાઉન્ટ બનાવો"
"okxWalletDescription": "આપણી નિમ્નાધિકારી આધિકારિક મંડણીનો પાર્ટનર સાથે OKX વોલેટ સાથે આપણી નાણાઓને સુરક્ષિત કરો.",
"okxWalletAction": "OKX વોલેટ ડાઉનલોડ કરો"
},
"social_kyc": {
"header": "પરીક્ષણ",
Expand Down
Loading

0 comments on commit 2f54b8b

Please sign in to comment.