From dc5c74e1fe832081719c28af856531ff84678ea6 Mon Sep 17 00:00:00 2001 From: dimakorzhovnik Date: Fri, 8 Jul 2022 23:14:22 +0300 Subject: [PATCH] fix(portal): update video --- src/containers/Wallet/Wallet.jsx | 24 ++++++++++++++ src/containers/portal/citizenship/Info.jsx | 33 +++++++++++-------- .../portal/components/AboutGift/aboutGift.jsx | 2 +- src/containers/portal/gift/index.jsx | 2 +- .../portal/stateComponent/Rules.jsx | 2 +- src/utils/search/utils.js | 4 +-- 6 files changed, 49 insertions(+), 18 deletions(-) diff --git a/src/containers/Wallet/Wallet.jsx b/src/containers/Wallet/Wallet.jsx index 2b8794703..9c4d49e96 100644 --- a/src/containers/Wallet/Wallet.jsx +++ b/src/containers/Wallet/Wallet.jsx @@ -586,6 +586,30 @@ class Wallet extends React.Component { flexDirection="column" height="100%" > + + +
+
+ The portal is open! 🎉 +
+
+ Go to portal to + register your citizenship and
check for your gift +
+
+
+ Choose your nickname. You will own it as an NFT.
8+ symbols are free -; + content = ( + + Choose your nickname. You will own it as an NFT. +
+ 8+ symbols are free +
+ ); break; case STEP_NICKNAME_INVALID: @@ -132,10 +137,16 @@ function Info({ case STEP_NICKNAME_APROVE: content = ( - Nickname is available for - {valuePriceNickname && - valuePriceNickname !== null && - `${formatNumber(valuePriceNickname.amountPrice)} ${BOOT_ICON}`}
8+ symbols are free + Nickname is available{' '} + {valuePriceNickname && valuePriceNickname !== null && ( + <> + for + {` ${formatNumber( + valuePriceNickname.amountPrice + )} ${BOOT_ICON}`} +
8+ symbols are freexs + + )}
); break; @@ -220,16 +231,12 @@ function Info({ > change {' '} - nickname or buy {BOOT_ICON}, 8+ symbols are free + nickname or buy {BOOT_ICON}, 8+ + symbols are free ); } else { - content = ( - - Register passport, then check for a gift
proving ethereum, - cosmos, osmosis and terra addresses. -
- ); + content = Register passport, then check for a gift; } break; diff --git a/src/containers/portal/components/AboutGift/aboutGift.jsx b/src/containers/portal/components/AboutGift/aboutGift.jsx index a86d630c8..143c10684 100644 --- a/src/containers/portal/components/AboutGift/aboutGift.jsx +++ b/src/containers/portal/components/AboutGift/aboutGift.jsx @@ -6,7 +6,7 @@ import styles from './styles.scss'; import { formatNumber } from '../../../../utils/utils'; const linkMovie = - 'https://gateway.ipfs.cybernode.ai/ipfs/QmQd2migYNL1Mb7CHhPEdz99we2a5SeRf3kUuV1Lx1muVE'; + 'https://gateway.ipfs.cybernode.ai/ipfs/QmX138nJEXWjf37M85HjWwBzY88H3ULpJZNHgFPwfCQycA'; function AboutGift({ coefficient, diff --git a/src/containers/portal/gift/index.jsx b/src/containers/portal/gift/index.jsx index e6e3d4835..bfbd17bff 100644 --- a/src/containers/portal/gift/index.jsx +++ b/src/containers/portal/gift/index.jsx @@ -495,7 +495,7 @@ function PortalGift({ defaultAccount, node, mobile }) { /> )} - {addressActive !== null && ( + {useSelectedGiftData !== null && ( { return []; } }; - +// Access-Control-Allow-Origin export const getCredit = async (address) => { try { const headers = { @@ -1526,7 +1526,7 @@ export const getCredit = async (address) => { const response = await axios({ method: 'post', // url: 'http://localhost:8000/credit', - url: 'https://mars.cybernode.ai/credit', + url: 'https://titan.cybernode.ai/credit', headers, data: JSON.stringify(fromData), });