diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index f2afb44bdd..3624a3f6b5 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -1038,8 +1038,11 @@ "Settings": "Settings", "sidebar": { "achievements": "Achievements", + "docs": "Docs", "downloadManager": "Download Manager", "library": "Library", + "quests": "Quests", + "settings": "Settings", "store": "Store" }, "sideload": { diff --git a/src/frontend/App.tsx b/src/frontend/App.tsx index 05cdd7832c..aca462d790 100644 --- a/src/frontend/App.tsx +++ b/src/frontend/App.tsx @@ -98,7 +98,7 @@ function App() { /> } /> } /> - } /> + } /> } /> - + @@ -175,7 +175,7 @@ export default observer(function SidebarLinks() {
- + @@ -220,13 +220,13 @@ export default observer(function SidebarLinks() {
- + classNames('Sidebar__item', { active: isActive }) } - to={{ pathname: '/wiki' }} + to={{ pathname: '/docs' }} > diff --git a/src/frontend/constants.ts b/src/frontend/constants.ts index 6984ec4515..ffca2bff2b 100644 --- a/src/frontend/constants.ts +++ b/src/frontend/constants.ts @@ -3,7 +3,7 @@ export const HYPERPLAY_STORE_URL = 'https://store.hyperplay.xyz?isLauncher=true' export const G7_PORTAL = 'https://app.game7.io/quests/hyperplay?layout=navless' export const EPIC_STORE_URL = 'https://www.epicgames.com/store' export const GOG_STORE_URL = `https://gog.com` -export const WIKI_URL = 'https://docs.hyperplay.xyz/' +export const DOCS_URL = 'https://docs.hyperplay.xyz/' export const GOG_LOGIN_URL = 'https://auth.gog.com/auth?client_id=46899977096215655&redirect_uri=https%3A%2F%2Fembed.gog.com%2Fon_login_success%3Forigin%3Dclient&response_type=code&layout=galaxy' export const DEFAULT_BROWSER_PROFILE_IMPORT_COLOR = '202124' diff --git a/src/frontend/screens/WebView/index.tsx b/src/frontend/screens/WebView/index.tsx index b29780985c..1cc226e052 100644 --- a/src/frontend/screens/WebView/index.tsx +++ b/src/frontend/screens/WebView/index.tsx @@ -25,7 +25,7 @@ import { GOG_LOGIN_URL, GOG_STORE_URL, HYPERPLAY_STORE_URL, - WIKI_URL + DOCS_URL } from '../../constants' import { METAMASK_SNAPS_URL } from 'common/constants' import storeAuthState from 'frontend/state/storeAuthState' @@ -79,7 +79,7 @@ function WebView({ '/hyperplaystore': hyperplayStore, '/epicstore': epicStore, '/gogstore': GOG_STORE_URL, - '/wiki': WIKI_URL, + '/docs': DOCS_URL, '/loginEpic': EPIC_LOGIN_URL, '/loginGOG': GOG_LOGIN_URL, '/loginweb/legendary': EPIC_LOGIN_URL,