Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add orbiter finance #11792

Merged
merged 1 commit into from
Sep 14, 2024
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,18 @@ export function ArbitrumOneBridgeIcon({ size = 36 }) {
/>
)
}
export function BobaBridgeIcon({ size = 36 }) {

export function OrbiterFinanceIcon({ size = 36 }) {
return (
<img
style={{ alignSelf: 'center' }}
width={size}
height={size}
src={new URL('./assets/boba-bridge.png', import.meta.url).toString()}
src={new URL('./assets/orbiter-finance.png', import.meta.url).toString()}
/>
)
}

export function CBridgeIcon({ size = 36 }) {
return (
<img
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions packages/plugins/CrossChainBridge/src/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { PluginID } from '@masknet/shared-base'
import {
CBridgeIcon,
ArbitrumOneBridgeIcon,
BobaBridgeIcon,
OrbiterFinanceIcon,
PolygonBridgeIcon,
RainbowBridgeIcon,
} from './SiteAdaptor/MaskIcon.js'
Expand All @@ -28,11 +28,11 @@ export function getCrossChainBridge(t: Record<string, () => string>) {
link: 'https://bridge.arbitrum.io/',
},
{
name: 'BOBA Bridge',
ID: `${PLUGIN_ID}_boba_bridge`,
name: 'Orbiter Finance',
ID: `${PLUGIN_ID}_orbiter_finance`,
isOfficial: true,
icon: <BobaBridgeIcon />,
link: 'https://gateway.boba.network/',
icon: <OrbiterFinanceIcon />,
link: 'https://www.orbiter.finance/',
},
{
name: 'Polygon Bridge',
Expand Down
Loading