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

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions packages/common-resources/static-resources/src/constant/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1593,19 +1593,9 @@ export const ProfileIndex = {
],
BASE: [
Layer2RouterID.security,
Layer2RouterID.forcewithdraw,
Layer2RouterID.vip,
Layer2RouterID.contact,
Layer2RouterID.referralrewards,
Layer2RouterID.notification,
],
BASESEPOLIA: [
Layer2RouterID.security,
Layer2RouterID.forcewithdraw,
Layer2RouterID.vip,
Layer2RouterID.contact,
Layer2RouterID.referralrewards,
Layer2RouterID.notification,
],
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,12 @@ export const ChainETHEREUMIcon = (props: SvgIconProps) => {
</SvgIcon>
)
}

export const BaseIcon = (props: SvgIconProps) => {
return (
<SvgIcon width='146' height='146' {...props} viewBox='0 0 146 146' fill='none'>
<circle cx="73" cy="73" r="73" fill="#0052FF"/>
<path d="M73.323 123.729C101.617 123.729 124.553 100.832 124.553 72.5875C124.553 44.343 101.617 21.4463 73.323 21.4463C46.4795 21.4463 24.4581 42.0558 22.271 68.2887H89.9859V76.8864H22.271C24.4581 103.119 46.4795 123.729 73.323 123.729Z" fill="white"/>
</SvgIcon>
)
}
3 changes: 2 additions & 1 deletion packages/core/src/hookConnect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
} from '@loopring-web/web3-provider'
import {
AccountStatus,
BaseIcon,
ChainETHEREUMIcon,
ChainGOERLIIcon,
ChainTAIKOIcon,
Expand Down Expand Up @@ -167,7 +168,7 @@ const Icon = ({ label = '' }: { label: string }) => {
case 'BASE':
return (
<Box component={'span'} display={'flex'} alignItems={'center'}>
<Box component={'img'} src={createImageFromInitials(20, 'BASE', '#E91898')}/>
<BaseIcon style={{width: 20, height: 20}} />
</Box>
)
case 'BASESEPOLIA':
Expand Down