This commit is contained in:
Adrian Timpau 2022-04-27 17:54:08 +03:00 committed by GitHub
parent 76356fdb29
commit dbc0c56eb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 2 deletions

View File

@ -7,6 +7,7 @@ import polygonIcon from "../images/polygon.svg";
import avalancheIcon from "../images/avalanche.svg";
import oasisIcon from "../images/oasis.svg";
import fantomIcon from "../images/fantom.svg";
import auroraIcon from "../images/aurora.svg";
import {
ChainId,
CHAIN_ID_AVAX,
@ -17,6 +18,7 @@ import {
CHAIN_ID_SOLANA,
CHAIN_ID_TERRA,
CHAIN_ID_FANTOM,
CHAIN_ID_AURORA,
} from "@certusone/wormhole-sdk";
import { chainEnums } from "../utils/consts";
import { Box } from "@mui/material";
@ -30,6 +32,7 @@ const chainIdToSrc = {
[CHAIN_ID_AVAX]: avalancheIcon,
[CHAIN_ID_OASIS]: oasisIcon,
[CHAIN_ID_FANTOM]: fantomIcon,
[CHAIN_ID_AURORA]: auroraIcon,
};
const ChainIcon = ({ chainId }: { chainId: ChainId }) =>

View File

@ -0,0 +1,10 @@
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 155 155" style="enable-background:new 0 0 155 155;" xml:space="preserve">
<style type="text/css">
.st0{fill:#70D44B;}
</style>
<path class="st0" d="M77.5,16.5c6.1,0,11.6,3.4,14.3,8.8l45,90c4,7.9,0.8,17.5-7.1,21.5c-2.2,1.1-4.7,1.7-7.2,1.7h-90
c-8.8,0-16-7.2-16-16c0-2.5,0.6-4.9,1.7-7.2l45-90C65.9,19.9,71.4,16.5,77.5,16.5 M77.5,5.5c-10.2,0-19.6,5.8-24.1,14.9l-45,90
c-6.7,13.3-1.3,29.6,12.1,36.2c3.8,1.9,7.9,2.9,12.1,2.9h90c14.9,0,27-12.1,27-27c0-4.2-1-8.3-2.9-12.1l-45-90
C97.1,11.3,87.7,5.5,77.5,5.5z"/>
</svg>

After

Width:  |  Height:  |  Size: 657 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 KiB

View File

@ -21,7 +21,7 @@ import blob from "../images/index/blob.svg";
import cross from "../images/index/cross.svg";
import cube from "../images/index/cube.svg";
import portal from "../images/index/portal.png";
import protocols from "../images/index/protocol2.png";
import protocols from "../images/index/protocol3.png";
import shape1 from "../images/index/shape1.svg";
import shape from "../images/shape.png";
import shape2 from "../images/shape2.png";
@ -262,7 +262,7 @@ const IndexPage = ({ location }: PageProps) => {
borderTop: "1px solid white",
}}
>
<Typography sx={featuredNumber}>8</Typography>
<Typography sx={featuredNumber}>9</Typography>
<Typography variant="body2">chain integrations</Typography>
</Box>
{messageTotal && <Box