From 5ed2833c040e10a6b12932ff6ab994dcf2a141d3 Mon Sep 17 00:00:00 2001 From: platschi Date: Tue, 6 Jun 2023 15:43:46 -0300 Subject: [PATCH] chore: update to new KSL frontend --- constants/links.ts | 9 ++++----- sections/dashboard/DashboardLayout/DashboardLayout.tsx | 2 +- translations/en.json | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/constants/links.ts b/constants/links.ts index 0a6fac9b5b..e809ebec4c 100644 --- a/constants/links.ts +++ b/constants/links.ts @@ -36,14 +36,13 @@ export const EXTERNAL_LINKS = { DocsRoot: 'https://docs.kwenta.io/', FeeReclamation: 'https://docs.kwenta.io/resources/fee-reclamation', HowToTrade: 'https://docs.kwenta.io/products/futures', - Governance: 'https://github.com/Kwenta/kwenta-state-log', - DaoRoles: 'https://github.com/Kwenta/kwenta-state-log/blob/master/sections/2.md', + Governance: 'https://gov.kwenta.eth.limo', + DaoRoles: 'https://gov.kwenta.eth.limo/sections/2', HowToUse: 'https://docs.kwenta.io/onboard/how-to-start-using-kwenta', Perpetuals: 'https://docs.kwenta.io/products/futures', Spot: 'https://docs.kwenta.io/products/swaps ', DevDao: 'https://docs.kwenta.io/dao/contribute/devdao-contribute', - MarketingDao: - 'https://github.com/Kwenta/kwenta-state-log/blob/master/sections/2.md#marketingdao-grants-council-trial', + MarketingDao: 'https://gov.kwenta.eth.limo/sections/2/#marketingdao-grants-council-trial', Faq: 'https://docs.kwenta.io/resources/faq', CrossMarginFaq: 'https://docs.kwenta.io/using-kwenta/smart-margin/trading-on-kwenta/faq', Staking: 'https://docs.kwenta.io/using-kwenta/staking-kwenta', @@ -59,7 +58,7 @@ export const EXTERNAL_LINKS = { V1: 'https://v1.kwenta.eth.limo/dashboard', }, Governance: { - Kips: 'https://github.com/Kwenta/kwenta-state-log', + Kips: 'https://gov.kwenta.eth.limo/all-kips', Vote: 'https://snapshot.org/#/kwenta.eth', }, Competition: { diff --git a/sections/dashboard/DashboardLayout/DashboardLayout.tsx b/sections/dashboard/DashboardLayout/DashboardLayout.tsx index 3efc7fafd0..4ea91b969f 100644 --- a/sections/dashboard/DashboardLayout/DashboardLayout.tsx +++ b/sections/dashboard/DashboardLayout/DashboardLayout.tsx @@ -77,7 +77,7 @@ const DashboardLayout: FC = ({ children }) => { name: Tab.Governance, label: t('dashboard.tabs.governance'), active: activeTab === Tab.Governance, - href: EXTERNAL_LINKS.Governance.Vote, + href: EXTERNAL_LINKS.Docs.Governance, external: true, }, ], diff --git a/translations/en.json b/translations/en.json index 79cad449ca..61b718bbdd 100644 --- a/translations/en.json +++ b/translations/en.json @@ -59,7 +59,7 @@ "governance": { "title": "Governance", "overview": "Overview", - "kips": "Kwenta State Log" + "kips": "KIPs" }, "socials": { "title": "Socials",