fix: updated doc urls according to Dino (#531)
* fix: updated doc urls according to Dino * fix: updated the v1 url
This commit is contained in:
parent
c327cd999b
commit
2c5e919504
@ -6,6 +6,7 @@ import { DEFAULT_SETTINGS } from 'constants/defaultSettings'
|
||||
import { MIGRATION_BANNER_KEY } from 'constants/localStore'
|
||||
import useLocalStorage from 'hooks/useLocalStorage'
|
||||
import useStore from 'store'
|
||||
import { DocURL } from 'types/enums/docURL'
|
||||
|
||||
export default function MigrationBanner() {
|
||||
const [_, setMigrationBanner] = useLocalStorage<boolean>(
|
||||
@ -27,7 +28,7 @@ export default function MigrationBanner() {
|
||||
<Text className='flex flex-grow' size='sm'>
|
||||
If you have funds on{' '}
|
||||
<TextLink
|
||||
href='https://osmosis.marsprotocol.io'
|
||||
href={DocURL.V1_URL}
|
||||
externalLink
|
||||
className='mx-1 text-white no-underline hover:underline'
|
||||
>
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { useCallback } from 'react'
|
||||
|
||||
import { ChevronRight, Compass, Flag, HandCoins, Luggage } from 'components/Icons'
|
||||
import { ChevronRight, Compass, HandCoins, Luggage } from 'components/Icons'
|
||||
import Modal from 'components/Modal'
|
||||
import Text from 'components/Text'
|
||||
import useStore from 'store'
|
||||
@ -70,12 +70,6 @@ export default function GetStartedModal() {
|
||||
link={DocURL.ADVANCED_TRADING_URL}
|
||||
icon={<Luggage className='w-5 opacity-50 group-hover/item:opacity-100' />}
|
||||
/>
|
||||
<TutorialItem
|
||||
title='Concentrated Liquidity'
|
||||
description='Understand how to maximise your profits using concentrated liquidity'
|
||||
link={DocURL.CONCENTRATED_LIQUIDITY_URL}
|
||||
icon={<Flag className='w-5 opacity-50 group-hover/item:opacity-100' />}
|
||||
/>
|
||||
<TutorialItem
|
||||
title='Borrowing & Lending'
|
||||
description='Borrow and lend money against your assets on the blockchain'
|
||||
|
@ -1,13 +1,13 @@
|
||||
export enum DocURL {
|
||||
ADVANCED_TRADING_URL = 'https://docs.marsprotocol.io/docs/learn/mars-v2/trade/margin',
|
||||
BORROW_LENDING_URL = 'https://docs.marsprotocol.io/docs/learn/mars-v2/borrow',
|
||||
COOKIE_POLICY_URL = 'https://docs.marsprotocol.io/mars-protocol/terms-of-service/mars-cookie-policy',
|
||||
CONCENTRATED_LIQUIDITY_URL = 'https://docs.marsprotocol.io',
|
||||
COOKIE_POLICY_URL = 'https://docs.marsprotocol.io/docs/overview/legal/cookie-policy',
|
||||
DOCS_URL = 'https://docs.marsprotocol.io/',
|
||||
MANAGE_ACCOUNT_URL = 'https://docs.marsprotocol.io/docs/learn/tutorials/credit-accounts/credit-accounts-intro',
|
||||
ROVER_INTRO_URL = 'https://docs.marsprotocol.io/docs/learn/mars-v2/credit-accounts',
|
||||
PRIVACY_POLICY_URL = 'https://docs.marsprotocol.io/mars-protocol/terms-of-service/mars-privacy-policy',
|
||||
PRIVACY_POLICY_URL = 'https://docs.marsprotocol.io/docs/overview/legal/privacy-policy',
|
||||
TERMS_OF_SERVICE_URL = 'https://docs.marsprotocol.io/docs/overview/legal/terms-of-service',
|
||||
TRADING_INTRO_URL = 'https://docs.marsprotocol.io/docs/learn/tutorials/trading/spot-trading',
|
||||
TRADING_INTRO_URL = 'https://docs.marsprotocol.io/docs/learn/tutorials/trading/trading-intro',
|
||||
V1_URL = 'https://v1.marsprotocol.io',
|
||||
WALLET_INTRO_URL = 'https://docs.marsprotocol.io/docs/learn/tutorials/basics/connecting-your-wallet',
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user