Skip to content

Commit 5229ecb

Browse files
committed
refactor: rename external_links
1 parent 76b9576 commit 5229ecb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/frontend/src/components/LandingPage/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const navLinks = [
1313
]
1414

1515
export const footerLinks = [
16-
{ label: 'Developers', link: EXTERNAL_LINKS.DEVELOPERS, analyticsEvent: LANDING_EVENTS.NAV_DEVELOPERS },
16+
{ label: 'Developers', link: EXTERNAL_LINKS.DEVELOPER_DOCS, analyticsEvent: LANDING_EVENTS.NAV_DEVELOPERS },
1717
{ label: 'Blog', link: EXTERNAL_LINKS.MEDIUM, analyticsEvent: LANDING_EVENTS.NAV_BLOG },
1818
{
1919
label: 'Security',

packages/frontend/src/components/SettingsMenu.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const useStyles = makeStyles((theme) =>
6060
)
6161

6262
const discordLink = EXTERNAL_LINKS.DISCORD
63-
const docsLink = EXTERNAL_LINKS.DOCS_LINK
63+
const docsLink = EXTERNAL_LINKS.DOCS_HUB
6464

6565
const SettingMenu = () => {
6666
const classes = useStyles()

packages/frontend/src/constants/routes.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ export const EXTERNAL_LINKS = {
1515
AUCTION: 'https://squeethportal.xyz/auction',
1616
FAQ: 'https://opyn.gitbook.io/opyn-strategies/strategies-faq/faq',
1717
SECURITY: 'https://opyn.gitbook.io/squeeth-faq/squeeth/security',
18-
DEVELOPERS: 'https://opyn.gitbook.io/squeeth-1/',
19-
DOCS_LINK: 'https://opyn.gitbook.io/opyn-hub/',
18+
DOCS_HUB: 'https://opyn.gitbook.io/opyn-hub/',
19+
DEVELOPER_DOCS: 'https://opyn.gitbook.io/squeeth-1/',
2020
MEDIUM: 'https://medium.com/opyn',
2121
TWITTER: 'https://twitter.com/opyn_',
2222
DISCORD: 'https://tiny.cc/opyndiscord',

0 commit comments

Comments
 (0)