Skip to content

Commit

Permalink
Merge pull request #116 from mstable/feat/dhedge-footer-links
Browse files Browse the repository at this point in the history
feat: dhedge footer links
  • Loading branch information
dimlbc authored Sep 5, 2023
2 parents 8493249 + 96a3fb4 commit a452cc1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ dist
dist-ssr
*.local
.eslintcache
.idea
14 changes: 10 additions & 4 deletions src/components/layout/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import styled, { css } from 'styled-components'

import { MTA_BUY_LINK, YIELD_APP_LINK } from '../../constants'
import { DHEDGE_APP_LINK, DHEDGE_AUDIT_LINK, MTA_BUY_LINK, YIELD_APP_LINK } from '../../constants'
import DefiPulse from '../../images/social/defi-pulse.svg'
import Discord from '../../images/social/discord.svg'
import Email from '../../images/social/email.svg'
Expand Down Expand Up @@ -188,6 +188,11 @@ const Container = styled.footer`
background: linear-gradient(180deg, transparent, #000000);
`

const ExternalLinContainer = styled.div`
flex-wrap: wrap;
row-gap: 0.5rem;
`

const KeepUpdated: FC = () => (
<Social>
<Header>Keep up to date</Header>
Expand Down Expand Up @@ -256,9 +261,9 @@ export const Footer: FC = () => {
<BottomFooter>
<div>
<div>
<b>mStable</b> powered by <ExternalLink href="https://ethereum.org/en/">Ethereum</ExternalLink>
<b>mStable</b> powered by <ExternalLink href={DHEDGE_APP_LINK}>dHEDGE</ExternalLink>
</div>
<div>
<ExternalLinContainer>
<ExternalLink href={MTA_BUY_LINK}>Buy MTA</ExternalLink>
<ExternalLink href={'https://developers.mstable.org/'}>Docs</ExternalLink>
<ExternalLink
Expand All @@ -267,7 +272,8 @@ export const Footer: FC = () => {
Careers
</ExternalLink>
<ExternalLink href={'https://docs.mstable.org/advanced/brand-assets'}>Brand</ExternalLink>
</div>
<ExternalLink href={DHEDGE_AUDIT_LINK}>Audit</ExternalLink>
</ExternalLinContainer>
</div>
</BottomFooter>
</Bottom>
Expand Down
4 changes: 4 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ export const MTA_BUY_LINK =
export const WITHDRAW_APP_LINK = 'https://withdraw.mstable.org'
export const MTA_BURN_APP_LINK = `${WITHDRAW_APP_LINK}/burn`
export const YIELD_APP_LINK = 'https://yield.mstable.org'

export const DHEDGE_APP_LINK = 'https://dhedge.org'

export const DHEDGE_AUDIT_LINK = 'https://skynet.certik.com/projects/dhedge'

0 comments on commit a452cc1

Please sign in to comment.