Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions packages/pancake-uikit/src/components/Svg/Icons/Antex.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import React from "react";
import Svg from "../Svg";
import { SvgProps } from "../types";

const Icon: React.FC<SvgProps> = (props) => {
return (
<Svg viewBox="0 0 40 40" {...props}>
<defs>
<linearGradient id="a" x1="0.319" y1="1.226" x2="1.153" y2="0.5" gradientUnits="objectBoundingBox">
<stop offset="0" stopColor="#102c9c" />
<stop offset="0.583" stopColor="#349eee" />
<stop offset="1" stopColor="#c30ebd" />
</linearGradient>
</defs>
<g transform="translate(4.5 0.5) scale(0.67 0.67)">
<path d="M151.566,457.831a4.271,4.271,0,1,1-.382-.286,9.005,9.005,0,1,0,.382.286Z" transform="translate(-121.105 -435.647)" opacity="0.99" fill="url(#a)" />
<path d="M149.115,458.128a17.94,17.94,0,0,1-7.793-3.446,20.728,20.728,0,0,0-1.853-1.537l0,0h0a20.58,20.58,0,0,0-8.1-3.577,24.624,24.624,0,0,0-6.616-.273c-.513.062-1.022.137-1.523.235l.025-.031a17.4,17.4,0,0,0-4.86,1.552c-.089.069-.176.135-.261.2a20.554,20.554,0,0,0-2.152,1.225l-.007,0h0a20.668,20.668,0,1,0,31.292,12.187h0C151.071,458.861,149.115,458.128,149.115,458.128Zm-18.708,15.415A11.047,11.047,0,1,1,141.454,462.5,11.047,11.047,0,0,1,130.407,473.543Z" transform="translate(-106.553 -432.45)" fill="url(#a)" />
<g transform="translate(11.91)">
<path d="M155.819,428.61c-10.446-.859-13.786-11.987-13.786-11.987-5.02,11.566-9.624,16.519-12.3,18.6a17.3,17.3,0,0,1,4.856-1.547c4.5-5.585,7.147-13.544,7.147-13.544,7.574,13.19,13.657,11.648,13.657,11.648C156.846,430.923,155.819,428.61,155.819,428.61Zm-17.285,4.712a19.82,19.82,0,0,0-2.723.184,24.4,24.4,0,0,1,7.122.283,19.946,19.946,0,0,0-2.425-.375,25.278,25.278,0,0,0,5.888-6.027l-.945-1.2C142.413,430.655,139.911,432.546,138.534,433.322Z" transform="translate(-129.732 -416.62)" fill="url(#a)" />
<path d="M179.709,428.307c-10.212-1.413-12.781-11.689-12.781-11.689a69.994,69.994,0,0,1-3.777,7.291h0a5.73,5.73,0,0,0,1.118,1.019,39.635,39.635,0,0,0,2.574-4.906c6.572,12.589,12.1,11.625,12.1,11.625C180.865,430.684,179.709,428.307,179.709,428.307Z" transform="translate(-145.98 -416.618)" fill="url(#a)" />
</g>
</g>
</Svg>
);
};

export default Icon;
1 change: 1 addition & 0 deletions packages/pancake-uikit/src/components/Svg/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export { default as WalletConnectIcon } from "./Icons/WalletConnect";
export { default as WalletFilledIcon } from "./Icons/WalletFilled";
export { default as WalletIcon } from "./Icons/Wallet";
export { default as WarningIcon } from "./Icons/Warning";
export { default as AntexIcon } from "./Icons/Antex";

export { default as Svg } from "./Svg";
export type { SvgProps } from "./types";
7 changes: 7 additions & 0 deletions packages/pancake-uikit/src/widgets/WalletModal/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import TokenPocket from "../../components/Svg/Icons/TokenPocket";
import BinanceChain from "../../components/Svg/Icons/BinanceChain";
import SafePal from "../../components/Svg/Icons/SafePal";
import Coin98 from "../../components/Svg/Icons/Coin98";
import Antex from "../../components/Svg/Icons/Antex";

import { Config, ConnectorNames } from "./types";

Expand Down Expand Up @@ -59,6 +60,12 @@ const connectors: Config[] = [
connectorId: ConnectorNames.Injected,
priority: 999,
},
{
title: "Antex",
icon: Antex,
connectorId: ConnectorNames.Injected,
priority: 999,
},
];

export default connectors;
Expand Down