Skip to content

Commit

Permalink
refactor: rename external_links
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkaroraa committed Feb 10, 2023
1 parent 2a6097c commit 227be1b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/frontend/src/components/LandingPage/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const navLinks = [
]

export const footerLinks = [
{ label: 'Developers', link: EXTERNAL_LINKS.DEVELOPERS, analyticsEvent: LANDING_EVENTS.NAV_DEVELOPERS },
{ label: 'Developers', link: EXTERNAL_LINKS.DEVELOPER_DOCS, analyticsEvent: LANDING_EVENTS.NAV_DEVELOPERS },
{ label: 'Blog', link: EXTERNAL_LINKS.MEDIUM, analyticsEvent: LANDING_EVENTS.NAV_BLOG },
{
label: 'Security',
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/components/SettingsMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const useStyles = makeStyles((theme) =>
)

const discordLink = EXTERNAL_LINKS.DISCORD
const docsLink = EXTERNAL_LINKS.DOCS_LINK
const docsLink = EXTERNAL_LINKS.DOCS_HUB

const SettingMenu = () => {
const classes = useStyles()
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/src/constants/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export const EXTERNAL_LINKS = {
AUCTION: 'https://squeethportal.xyz/auction',
FAQ: 'https://opyn.gitbook.io/opyn-strategies/strategies-faq/faq',
SECURITY: 'https://opyn.gitbook.io/squeeth-faq/squeeth/security',
DEVELOPERS: 'https://opyn.gitbook.io/squeeth-1/',
DOCS_LINK: 'https://opyn.gitbook.io/opyn-hub/',
DOCS_HUB: 'https://opyn.gitbook.io/opyn-hub/',
DEVELOPER_DOCS: 'https://opyn.gitbook.io/squeeth-1/',
MEDIUM: 'https://medium.com/opyn',
TWITTER: 'https://twitter.com/opyn_',
DISCORD: 'https://tiny.cc/opyndiscord',
Expand Down

0 comments on commit 227be1b

Please sign in to comment.