Skip to content

Commit

Permalink
add POM icon
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjah committed Nov 18, 2024
1 parent 9134d63 commit 2eb6f90
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Icons/Svg/ChainIcons/Sepolia.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function Sepolia(props: SVGProps) {
{...rest}
>
<rect width="12" height="12" rx="6" fill="#FDFDFD" />
<g clipPath="url(#clip0_6250_50033)">
<g clip-path="url(#clip0_6250_50033)">
<path
d="M6.0022 11.9999H5.83947C5.81831 11.9775 5.79081 11.9906 5.7664 11.9863C5.66908 11.9474 5.56688 11.952 5.46534 11.9505C5.40447 11.9426 5.34263 11.9397 5.2847 11.9154C5.26257 11.8937 5.27917 11.8539 5.24922 11.8359C5.24825 11.8039 5.23799 11.7781 5.20642 11.7655C5.18673 11.7282 5.16688 11.6909 5.14719 11.6538C5.10894 11.5427 5.06142 11.4371 4.97843 11.3518C4.97485 11.3421 4.97143 11.3325 4.96785 11.3227C4.95581 11.2617 4.93319 11.2069 4.88095 11.1694C4.87786 11.1598 4.87493 11.1502 4.87183 11.1405C4.87997 11.1072 4.85686 11.0957 4.83392 11.084C4.83131 11.075 4.82871 11.0661 4.82611 11.0571C4.8292 11.0364 4.81781 11.0257 4.80072 11.0187C4.79274 10.9985 4.78493 10.9781 4.77696 10.9579C4.76166 10.8675 4.71089 10.7931 4.66744 10.7164C4.64303 10.6733 4.64596 10.611 4.58884 10.5888C4.58005 10.5684 4.57126 10.5482 4.56247 10.5279C4.56394 10.4921 4.55857 10.4598 4.52228 10.4422C4.51788 10.4319 4.51349 10.4217 4.50909 10.4114C4.51902 10.3972 4.52879 10.3829 4.53871 10.3685C4.57696 10.3778 4.61536 10.3758 4.65377 10.3711C4.70666 10.403 4.75938 10.4026 4.81227 10.3711L4.92717 10.3687C5.01618 10.3875 5.10146 10.3625 5.18706 10.3451C5.2445 10.3334 5.31318 10.3625 5.35647 10.2981C5.36542 10.2981 5.3742 10.2978 5.38315 10.2978C5.41131 10.3168 5.43897 10.3049 5.46794 10.2988C5.54036 10.283 5.61196 10.2621 5.68731 10.2661C5.70456 10.2863 5.72197 10.3067 5.73922 10.3269C5.74069 10.3412 5.74524 10.3534 5.7594 10.3594C5.76526 10.3856 5.77877 10.4056 5.80611 10.4119L5.80562 10.4112C5.80464 10.4237 5.81034 10.4293 5.82254 10.4286L5.82173 10.428C5.8201 10.4535 5.82694 10.473 5.85477 10.4783L5.85428 10.4775C5.86925 10.504 5.83963 10.5479 5.88634 10.5618V10.5607C5.88422 10.5739 5.89024 10.5795 5.90294 10.5789L5.90147 10.5776C5.89854 10.5938 5.90538 10.6044 5.92035 10.61C5.92035 10.6213 5.92425 10.6277 5.93646 10.6271L5.93565 10.6264C5.93711 10.64 5.93841 10.6538 5.93988 10.6673C5.92409 10.7805 5.88617 10.8887 5.88129 11.0056C5.8782 11.08 5.89447 11.1512 5.89008 11.2253C5.88211 11.3598 5.91742 11.4915 5.93304 11.6243C5.94785 11.7506 5.97845 11.8748 6.0022 11.9999Z"
fill="#B7DBEC"
Expand Down
19 changes: 19 additions & 0 deletions src/components/Icons/Svg/FT/POM.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import React from 'react';
import { SVGProps } from './svgInterface';

/* eslint-disable max-len */
export function POM(props: SVGProps) {
let { size } = props;
return (
<div>
<img
width={size ?? 20}
height={size ?? 20}
src="https://massa-station-assets.s3.eu-west-3.amazonaws.com/plugins/wallet/icons/pom.png"
alt="POM"
/>
</div>
);
}
1 change: 1 addition & 0 deletions src/components/Icons/Svg/FT/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ export * from './FT1';
export * from './WMAS';
export * from './USDT';
export * from './PUR';
export * from './POM';
export * from './tokenIcons';
export * from './svgInterface';
3 changes: 2 additions & 1 deletion src/components/Icons/Svg/FT/tokenIcons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React, { ComponentPropsWithoutRef } from 'react';
import { ReactNode } from 'react';
import { bsc, bscTestnet, mainnet, sepolia } from 'viem/chains';
import { MassaLogo } from '../Massa';
import { BNB, DAI, USDC, USDT, FT1, WMAS, WETH, PUR, SVGProps } from '.';
import { BNB, DAI, USDC, USDT, FT1, WMAS, WETH, PUR, SVGProps, POM } from '.';
import {
Bsc,
BscBridged,
Expand Down Expand Up @@ -98,6 +98,7 @@ export function getAssetIcons(
WMAS: createNativeFt(WMAS, size),
USDT: createNativeFt(USDT, size),
PUR: createNativeFt(PUR, size),
POM: createNativeFt(POM, size),
MAS: <MassaLogo size={size} />,
// Overwrite
...getTokenIcons(isNative, originChainId, size),
Expand Down

0 comments on commit 2eb6f90

Please sign in to comment.