Skip to content

Commit

Permalink
docs(SWA-138): update footer links to docs URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
ElRodrigote committed Mar 22, 2024
1 parent c480bd5 commit 54068fd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions src/constants/urls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ export const DISCORD_INVITE_LINK = process.env.DISCORD_INVITE_URL ?? 'https://di
export const LIQUIDITY_V3_LINK = process.env.LIQUIDITY_V3_URL ?? 'https://v3.swapr.eth.limo/'
export const LIQUIDITY_V3_INFO_POOLS_LINK = `${LIQUIDITY_V3_LINK}#/info/pools`
export const STACKLY_URL = process.env.REACT_APP_STACKLY_URL ?? 'https://www.stackly.app/'
export const SWAPR_DOCS_BASE_URL = 'https://swapr-eth.gitbook.io/swapr'
export const SWAPR_DOCS_PATH_URLS = {
FAQ: '/faq',
PROJECT_INFO_BRANDING: '/project-information/branding-and-logos',
}
8 changes: 4 additions & 4 deletions src/utils/uiConstants.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DISCORD_INVITE_LINK } from '../constants'
import { DISCORD_INVITE_LINK, SWAPR_DOCS_BASE_URL, SWAPR_DOCS_PATH_URLS } from '../constants'

import BNBLogo from './../assets/images/BNBLogo.svg'
import ArbitrumLogo from './../assets/images/logo-Arbitrum.svg'
Expand All @@ -25,7 +25,7 @@ import RoutingZerox from './../assets/images/routing-Zerox.svg'
export const mainNavigation = [
{
label: 'Documentation',
href: 'http://dxdocs.eth.limo.ipns.localhost:8080/docs/Products/swapr/',
href: SWAPR_DOCS_BASE_URL,
},
{
label: 'Stats',
Expand Down Expand Up @@ -160,7 +160,7 @@ export const FooterContent = {
footerLinks: [
{
label: 'FAQ',
href: 'https://dxdocs.eth.limo/docs/Products/swapr/faq/',
href: `${SWAPR_DOCS_BASE_URL}${SWAPR_DOCS_PATH_URLS.FAQ}`,
},
{
label: 'Blog',
Expand All @@ -172,7 +172,7 @@ export const FooterContent = {
},
{
label: 'Brand Assets',
href: 'https://dxdocs.eth.limo/docs/BrandingAssets/#swapr-brand-assets',
href: `${SWAPR_DOCS_BASE_URL}${SWAPR_DOCS_PATH_URLS.PROJECT_INFO_BRANDING}`,
},
],
},
Expand Down

0 comments on commit 54068fd

Please sign in to comment.