Skip to content

Commit

Permalink
Merge pull request #1168 from yieldprotocol/feat/issues-1167-1166
Browse files Browse the repository at this point in the history
remove collateral text, banner fix
  • Loading branch information
jacobryas4 authored Mar 23, 2023
2 parents 195dab7 + c6c8450 commit b987766
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 80 deletions.
158 changes: 79 additions & 79 deletions src/components/FooterInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,92 +27,92 @@ const FooterInfo = () => {

return (
<>

<Box gap="small" align="end" style={{ position: 'absolute', bottom: '3em', right: '3em' }}>
<Box gap="small" align="end" width="20%" style={{ position: 'absolute', bottom: '3em', right: '3em' }}>
<Box alignSelf="end" width="225px">
<PublicNotification />{' '}
</Box>
<Box alignSelf="end">
<Text size="xsmall" color="text-weak">
App version: v{process.env.REACT_APP_VERSION}
</Text>
</Box>
<Box direction="row" gap={IconGap}>
<BoxWrap>
<Tip content={<Text size="small">Github</Text>}>
<Anchor
color="text-weak"
href="https://github.com/yieldprotocol"
target="_blank"
onClick={() => handleExternal('Github')}
>
<Github size={IconSize} />
</Anchor>
</Tip>
</BoxWrap>

<Box width='50%' alignSelf="end"><PublicNotification /> </Box>
<Box alignSelf="end">
<Text size="xsmall" color="text-weak">
App version: v{process.env.REACT_APP_VERSION}
</Text>
</Box>
<Box direction="row" gap={IconGap}>
<BoxWrap>
<Tip content={<Text size="small">Github</Text>}>
<Anchor
color="text-weak"
href="https://github.com/yieldprotocol"
target="_blank"
onClick={() => handleExternal('Github')}
>
<Github size={IconSize} />
</Anchor>
</Tip>
</BoxWrap>
<BoxWrap>
<Tip content={<Text size="small">Docs</Text>}>
<Anchor
color="text-weak"
href="http://docs.yieldprotocol.com"
target="_blank"
onClick={() => handleExternal('Docs')}
>
<Docs size={IconSize} />
</Anchor>
</Tip>
</BoxWrap>

<BoxWrap>
<Tip content={<Text size="small">Docs</Text>}>
<Anchor
color="text-weak"
href="http://docs.yieldprotocol.com"
target="_blank"
onClick={() => handleExternal('Docs')}
>
<Docs size={IconSize} />
</Anchor>
</Tip>
</BoxWrap>
<BoxWrap>
<Tip content={<Text size="small">Discord</Text>}>
<Anchor
color="text-weak"
href="https://discord.gg/JAFfDj5"
target="_blank"
onClick={() => handleExternal('Discord')}
>
<Discord size={IconSize} />
</Anchor>
</Tip>
</BoxWrap>

<BoxWrap>
<Tip content={<Text size="small">Discord</Text>}>
<Anchor
color="text-weak"
href="https://discord.gg/JAFfDj5"
target="_blank"
onClick={() => handleExternal('Discord')}
>
<Discord size={IconSize} />
</Anchor>
</Tip>
</BoxWrap>
<BoxWrap>
<Tip content={<Text size="small">Ts&Cs</Text>}>
<Anchor
color="text-weak"
href="https://yieldprotocol.com/terms/"
target="_blank"
onClick={() => handleExternal('Terms')}
>
<Terms size={IconSize} />
</Anchor>
</Tip>
</BoxWrap>

<BoxWrap>
<Tip content={<Text size="small">Ts&Cs</Text>}>
<Anchor
color="text-weak"
href="https://yieldprotocol.com/terms/"
target="_blank"
onClick={() => handleExternal('Terms')}
>
<Terms size={IconSize} />
</Anchor>
</Tip>
</BoxWrap>
<BoxWrap>
<Tip content={<Text size="small">Privacy</Text>}>
<Anchor
color="text-weak"
href="https://yieldprotocol.com/privacy/"
target="_blank"
onClick={() => handleExternal('Privacy')}
>
<Privacy size={IconSize} />
</Anchor>
</Tip>
</BoxWrap>

<BoxWrap>
<Tip content={<Text size="small">Privacy</Text>}>
<Anchor
color="text-weak"
href="https://yieldprotocol.com/privacy/"
target="_blank"
onClick={() => handleExternal('Privacy')}
>
<Privacy size={IconSize} />
</Anchor>
</Tip>
</BoxWrap>
<BoxWrap>
<Tip content={<Text size="small">Export Contract Addresses</Text>}>
<Anchor color="text-weak" target="_blank" onClick={() => exportContractAddresses()}>
<FiDownload size={IconSize} />
</Anchor>
</Tip>
</BoxWrap>
</Box>

<BoxWrap>
<Tip content={<Text size="small">Export Contract Addresses</Text>}>
<Anchor color="text-weak" target="_blank" onClick={() => exportContractAddresses()}>
<FiDownload size={IconSize} />
</Anchor>
</Tip>
</BoxWrap>
<NetworkSelector />
</Box>

<NetworkSelector />
</Box>
</>
);
};
Expand Down
3 changes: 2 additions & 1 deletion src/components/views/VaultPosition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,8 @@ const VaultPosition = () => {
{!removeCollatInput ? (
<InputInfoWrap action={() => handleMaxAction(ActionCodes.REMOVE_COLLATERAL)}>
<Text size="xsmall" color="text-weak">
Remove all collateral ({cleanValue(maxRemovableCollateral, 6)} {vaultIlk?.displaySymbol!})
Remove excess collateral ({cleanValue(maxRemovableCollateral, 6)}{' '}
{vaultIlk?.displaySymbol!})
</Text>
</InputInfoWrap>
) : (
Expand Down

0 comments on commit b987766

Please sign in to comment.