Skip to content

Commit 4bed218

Browse files
committed
Merge branch 'main' into feat-ui/unconfirmed-transactions
2 parents 2cd17e0 + b7f79d2 commit 4bed218

66 files changed

Lines changed: 646 additions & 790 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/components/layouts/main/sider/sidebarNavigation.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ export const useSidebarNavigation = (): SidebarNavigationItem[] => {
2020
return useMemo(() => {
2121
const items: SidebarNavigationItem[] = [
2222
{
23-
title: 'common.nft-dashboard',
24-
key: 'nft-dashboard',
23+
title: 'common.relay-dashboard',
24+
key: 'relay-dashboard',
2525
url: '/',
2626
icon: <NestIcon />,
2727
},

src/components/nft-dashboard/totalEarning/TotalEarning.tsx

Lines changed: 0 additions & 458 deletions
This file was deleted.

src/components/nft-dashboard/totalEarning/TotalEarningChart/TotalEarningChart.tsx

Lines changed: 0 additions & 282 deletions
This file was deleted.

src/components/nft-dashboard/Balance/Balance.styles.ts renamed to src/components/relay-dashboard/Balance/Balance.styles.ts

File renamed without changes.

src/components/nft-dashboard/Balance/Balance.tsx renamed to src/components/relay-dashboard/Balance/Balance.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useEffect, useState } from 'react';
22
import { useTranslation } from 'react-i18next';
3-
import { NFTCard } from '@app/components/nft-dashboard/common/NFTCard/NFTCard';
3+
import { NFTCard } from '@app/components/relay-dashboard/common/NFTCard/NFTCard';
44
import { TopUpBalanceButton } from './components/TopUpBalanceButton/TopUpBalanceButton';
55
import { useAppSelector } from '@app/hooks/reduxHooks';
66
import { formatNumberWithCommas, getCurrencyPrice } from '@app/utils/utils';
@@ -83,7 +83,7 @@ export const Balance: React.FC = () => {
8383

8484
// import React, { useEffect, useState } from 'react';
8585
// import { useTranslation } from 'react-i18next';
86-
// import { NFTCard } from '@app/components/nft-dashboard/common/NFTCard/NFTCard';
86+
// import { NFTCard } from '@app/components/relay-dashboard/common/NFTCard/NFTCard';
8787
// import { TopUpBalanceButton } from './components/TopUpBalanceButton/TopUpBalanceButton';
8888
// import { useAppSelector } from '@app/hooks/reduxHooks';
8989
// import { formatNumberWithCommas, getCurrencyPrice } from '@app/utils/utils';

src/components/nft-dashboard/Balance/components/AddressList/AddressList.tsx renamed to src/components/relay-dashboard/Balance/components/AddressList/AddressList.tsx

File renamed without changes.

src/components/nft-dashboard/Balance/components/SendButton/SendButton.tsx renamed to src/components/relay-dashboard/Balance/components/SendButton/SendButton.tsx

File renamed without changes.

src/components/nft-dashboard/Balance/components/SendForm/SendForm.styles.ts renamed to src/components/relay-dashboard/Balance/components/SendForm/SendForm.styles.ts

File renamed without changes.

src/components/nft-dashboard/Balance/components/SendForm/SendForm.tsx renamed to src/components/relay-dashboard/Balance/components/SendForm/SendForm.tsx

File renamed without changes.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import styled from 'styled-components';
2+
3+
export const ResultScreenWrapper = styled.div`
4+
display: flex;
5+
flex-direction: column;
6+
align-items: center;
7+
gap: 1rem;
8+
`;
9+
export const ResultTextPass = styled.span`
10+
color: green;
11+
font-size: 2rem;
12+
`;
13+
export const ResultTextFail = styled.span`
14+
color: red;
15+
font-size: 2rem;
16+
`;
17+
export const ResultMessage = styled.span`
18+
font-size: 1.5rem;
19+
text-align: center;
20+
padding: 1rem;
21+
`;

0 commit comments

Comments
 (0)