mars-v2-frontend/src/components/v1/V1Intro.tsx
2024-02-19 14:46:15 +01:00

23 lines
699 B
TypeScript

import WalletConnectButton from 'components/Wallet/WalletConnectButton'
import Intro from 'components/common/Intro'
import useStore from 'store'
export default function V1Intro() {
const address = useStore((state) => state.address)
return (
<Intro
text={
<>
The <span className='text-white'>Wallet Mode</span> provides simple lending and borrowing
without the use of Credit Accounts. Funds are{' '}
<span className='text-white'>not cross-collateralized</span> and can&lsquo;t be used in
the Trade or Farm interface.
</>
}
bg='v1'
>
{!address && <WalletConnectButton className='mt-4' />}
</Intro>
)
}