Skip to content

Commit

Permalink
fix(portal): update video
Browse files Browse the repository at this point in the history
  • Loading branch information
dimakorzhovnik committed Jul 8, 2022
1 parent 361d996 commit dc5c74e
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 18 deletions.
24 changes: 24 additions & 0 deletions src/containers/Wallet/Wallet.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,30 @@ class Wallet extends React.Component {
flexDirection="column"
height="100%"
>
<Link
style={{ marginBottom: '20px', width: '100%' }}
to="/portal"
>
<InfoCard>
<div
style={{
textAlign: 'center',
padding: '10px 50px 0px 50px',
gap: 20,
display: 'grid',
color: '#fff',
}}
>
<div style={{ fontSize: '28px' }}>
The portal is open! 🎉
</div>
<div>
<span style={{ color: '#36d6ae' }}>Go to portal</span> to
register your citizenship and <br /> check for your gift
</div>
</div>
</InfoCard>
</Link>
<PocketCard
alignItems="flex-start"
marginBottom={20}
Expand Down
33 changes: 20 additions & 13 deletions src/containers/portal/citizenship/Info.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,13 @@ function Info({
break;

case STEP_NICKNAME_CHOSE:
content = <span>Choose your nickname. You will own it as an NFT.<br />8+ symbols are free
</span>;
content = (
<span>
Choose your nickname. You will own it as an NFT.
<br />
8+ symbols are free
</span>
);
break;

case STEP_NICKNAME_INVALID:
Expand All @@ -132,10 +137,16 @@ function Info({
case STEP_NICKNAME_APROVE:
content = (
<span>
Nickname is available for
{valuePriceNickname &&
valuePriceNickname !== null &&
`${formatNumber(valuePriceNickname.amountPrice)} ${BOOT_ICON}`} <br /> 8+ symbols are free
Nickname is available{' '}
{valuePriceNickname && valuePriceNickname !== null && (
<>
for
{` ${formatNumber(
valuePriceNickname.amountPrice
)} ${BOOT_ICON}`}
<br /> 8+ symbols are freexs
</>
)}
</span>
);
break;
Expand Down Expand Up @@ -220,16 +231,12 @@ function Info({
>
change
</span>{' '}
nickname or <Link to="/teleport">buy {BOOT_ICON}</Link>, 8+ symbols are free
nickname or <Link to="/teleport">buy {BOOT_ICON}</Link>, 8+
symbols are free
</span>
);
} else {
content = (
<span>
Register passport, then check for a gift <br /> proving ethereum,
cosmos, osmosis and terra addresses.
</span>
);
content = <span>Register passport, then check for a gift</span>;
}
break;

Expand Down
2 changes: 1 addition & 1 deletion src/containers/portal/components/AboutGift/aboutGift.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/containers/portal/gift/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ function PortalGift({ defaultAccount, node, mobile }) {
/>
)}

{addressActive !== null && (
{useSelectedGiftData !== null && (
<CurrentGift
title="Claimed"
valueTextResult="claimed"
Expand Down
2 changes: 1 addition & 1 deletion src/containers/portal/stateComponent/Rules.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import MoonCode from './MoonCode';
import { LinkWindow } from '../../../components';

const linkMovie =
'https://gateway.ipfs.cybernode.ai/ipfs/QmanZyMFnEti618crNPkn93g7MFaoDGrZ4Pta5drfdt9jb';
'https://gateway.ipfs.cybernode.ai/ipfs/QmZKL7toTbohUtrd57LaUgcFB8Z47PfAEU1MdLFNP66tXP';

function Rules() {
return (
Expand Down
4 changes: 2 additions & 2 deletions src/utils/search/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1513,7 +1513,7 @@ export const searchClient = async (client, query, page) => {
return [];
}
};

// Access-Control-Allow-Origin
export const getCredit = async (address) => {
try {
const headers = {
Expand All @@ -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),
});
Expand Down

0 comments on commit dc5c74e

Please sign in to comment.