Skip to content

Commit 6d83cb4

Browse files
authored
Merge pull request #19 from xchainjs/leodex
LeoDex in featured integrations
2 parents f681141 + 4d5f86f commit 6d83cb4

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

components/Icon/Icon.tsx

+5-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ import {
1414
SwapperIcon,
1515
XIcon,
1616
TelegramIcon,
17-
CacaoSwapIcon
17+
CacaoSwapIcon,
18+
LeoDexIcon
1819
} from './icons'
1920
import { UfoIcon } from './icons/UfoIcon'
2021

@@ -35,7 +36,8 @@ export enum IconClass {
3536
TELEGRAM,
3637
UFO,
3738
X,
38-
CACAOSWAP
39+
CACAOSWAP,
40+
LEODEX
3941
}
4042

4143
interface Props {
@@ -61,6 +63,7 @@ export function Icon ({ iconClass, className }: Props) {
6163
if (iconClass === IconClass.UFO) return <UfoIcon className={className}></UfoIcon>
6264
if (iconClass === IconClass.X) return <XIcon className={className}></XIcon>
6365
if (iconClass === IconClass.CACAOSWAP) return <CacaoSwapIcon className={className}></CacaoSwapIcon>
66+
if (iconClass === IconClass.LEODEX) return <LeoDexIcon className={className}></LeoDexIcon>
6467

6568
return <></>
6669
}

components/Icon/icons/LeoDexIcon.tsx

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
interface Props {
2+
className?: string
3+
}
4+
5+
export function LeoDexIcon ({ className }: Props) {
6+
return (
7+
<svg className={className} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" fill='currentcolor'>
8+
<polygon points="758.66 303.94 700.99 385.34 582.33 455.39 601.62 570.2 500.05 639.55 398.48 570.2 417.76 455.39 299.1 385.34 241.41 303.94 447.36 369.02 425.03 535.52 500.05 564.73 575.06 535.52 552.74 369.02 758.66 303.94"/>
9+
<polygon points="500.05 639.55 438.99 673.19 298.92 570.2 222.9 297.24 204.3 289.64 165.67 519.67 500.05 790.36 834.39 519.67 795.74 289.64 777.19 297.24 701.11 570.2 561.09 673.19 500.05 639.55"/>
10+
</svg>
11+
)
12+
}

components/Icon/icons/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import { UfoIcon } from './UfoIcon'
1515
import { XIcon } from './XIcon'
1616
import { LeapWalletIcon } from './LeapWalletIcon'
1717
import { CacaoSwapIcon } from './CacaoSwapIcon'
18+
export { LeoDexIcon } from './LeoDexIcon'
1819

1920
export {
2021
AsgardexIcon,

src/app/page.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export default function Home () {
4343
<IntegrationCard key='swapper' iconClass={IconClass.SWAPPER} name='Swapper' url='https://swapper.market/' description='The heroes with dreams bigger than the cosmos. A simple UI and a vision to make your crypto journey seamless. Expect big things!'/>
4444
<IntegrationCard key='leapwallet' iconClass={IconClass.LEAP_WALLET} name='Leap Wallet' url='https://www.leapwallet.io/' description='Super Wallet for the Internet of Blockchains. Your gateway to 60+ Cosmos chains!'/>
4545
<IntegrationCard key='CacaoSwap' iconClass={IconClass.CACAOSWAP} name='Cacao Swap' url='https://cacaoswap.app/' description='CacaoSwap app is the supercharged front end, pairing great UX/UI with truly decentralised swaps. Backed and powered by MAYAChain and THORChain and built for you'/>
46+
<IntegrationCard key='LeoDex' iconClass={IconClass.LEODEX} name='LeoDex' url='https://leodex.io/' description='Multi-chain DEX interface that bridges the gap of functionality and usability. Built by the LEO Ecosystem, powered by Maya Protocol and aggregating HIVE Swaps.'/>
4647
</div>
4748
</div>
4849
</section>

0 commit comments

Comments
 (0)