diff --git a/bun.lockb b/bun.lockb index 2ef505f8..30098777 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 847602c7..0c09fb7d 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "@mdx-js/rollup": "^2.3.0", "@mui/icons-material": "^5.15.14", "@mui/material": "^5.15.14", - "@skalenetwork/metaport": "2.3.0-develop.0", + "@skalenetwork/metaport": "2.3.0-develop.1", "@skalenetwork/skale-contracts-ethers-v6": "1.0.1", "@transak/transak-sdk": "^3.1.1", "@types/react-copy-to-clipboard": "^5.0.4", diff --git a/public/ecosystem.png b/public/chains.png similarity index 100% rename from public/ecosystem.png rename to public/chains.png diff --git a/skale-network b/skale-network index 7faac7e6..ed4834e2 160000 --- a/skale-network +++ b/skale-network @@ -1 +1 @@ -Subproject commit 7faac7e66faace1ac87a7f29d73854fe5168c7c0 +Subproject commit ed4834e2d6d61bdb9c5df345d0cd0997b9c93ff7 diff --git a/src/App.scss b/src/App.scss index 08b31729..416b7130 100644 --- a/src/App.scss +++ b/src/App.scss @@ -667,8 +667,8 @@ button:focus { background-image: url(/bridge.png); } -.startCardecosystem { - background-image: url(/ecosystem.png); +.startCardchains { + background-image: url(/chains.png); } .startCardapps { diff --git a/src/Router.tsx b/src/Router.tsx index deece68d..cd00ed10 100644 --- a/src/Router.tsx +++ b/src/Router.tsx @@ -2,7 +2,7 @@ import './App.scss' import { useState, useEffect } from 'react' import { Helmet } from 'react-helmet' -import { useLocation, Routes, Route, useSearchParams, Navigate, useParams } from 'react-router-dom' +import { useLocation, Routes, Route, useSearchParams } from 'react-router-dom' import { TransitionGroup, CSSTransition } from 'react-transition-group' import { useTheme } from '@mui/material/styles' @@ -57,11 +57,6 @@ import { IMetrics, ISChain, IStats, IAppId } from './core/types' import { getTopAppsByTransactions } from './core/explorer' import { loadMeta } from './core/metadata' -const ChainRedirect = () => { - const { name } = useParams() - return -} - export default function Router() { const location = useLocation() const currentUrl = `${window.location.origin}${location.pathname}${location.search}` @@ -228,8 +223,6 @@ export default function Router() { - } /> - } /> } /> } /> - + - } /> + } /> } /> } /> diff --git a/src/SkBottomNavigation.tsx b/src/SkBottomNavigation.tsx index c1dec234..a0066716 100644 --- a/src/SkBottomNavigation.tsx +++ b/src/SkBottomNavigation.tsx @@ -41,8 +41,7 @@ export default function SkBottomNavigation() { setValue(500) if (location.pathname === '/') setValue(0) if (location.pathname === '/bridge' || location.pathname.includes('/transfer')) setValue(1) - if (location.pathname.includes('/ecosystem') || location.pathname.includes('/admin')) - setValue(2) + if (location.pathname.includes('/chains') || location.pathname.includes('/admin')) setValue(2) if (location.pathname.includes('/staking')) setValue(3) }, [location]) @@ -70,10 +69,10 @@ export default function SkBottomNavigation() { }} /> } onClick={() => { - navigate('/ecosystem') + navigate('/chains') }} /> Network - + - +

NEW

diff --git a/src/components/AppCard.tsx b/src/components/AppCard.tsx index 53d8e66d..df488fc9 100644 --- a/src/components/AppCard.tsx +++ b/src/components/AppCard.tsx @@ -39,7 +39,7 @@ export default function AppCard(props: { transactions?: number }) { const shortAlias = getChainShortAlias(props.chainsMeta, props.schainName) - const url = `/ecosystem/${shortAlias}/${props.appName}` + const url = `/chains/${shortAlias}/${props.appName}` return (
diff --git a/src/components/ChainCard.tsx b/src/components/ChainCard.tsx index c306f2a2..fd95acc4 100644 --- a/src/components/ChainCard.tsx +++ b/src/components/ChainCard.tsx @@ -47,7 +47,7 @@ export default function ChainCard(props: { style={{ background: chainBg(props.skaleNetwork, props.schain.name) }} >
@@ -64,7 +64,7 @@ export default function ChainCard(props: { className={cls(cmn.flex, cmn.flexcv, cmn.mbott10, 'br__tileBott', 'fullWidth')} >
- +