Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Update sidebar link from "Wiki" to "Docs" #1202

Merged
merged 7 commits into from
Jan 10, 2025
2 changes: 1 addition & 1 deletion src/frontend/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function App() {
/>
<Route path="epicstore" element={<WebView key="epicstore" />} />
<Route path="gogstore" element={<WebView key="gogstore" />} />
<Route path="wiki" element={<WebView key="wiki" />} />
<Route path="docs" element={<WebView key="docs" />} />
<Route path="metamaskHome" element={<MetaMaskHome />} />
<Route
path="metamaskSnaps"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,13 @@ export default observer(function SidebarLinks() {
</Tooltip>
</div>
<div className="sidebarLinkGradientWrapper">
<Tooltip {...tooltipProps} label="Wiki">
<Tooltip {...tooltipProps} label="Docs">
flavioislima marked this conversation as resolved.
Show resolved Hide resolved
<NavLink
data-testid="wiki"
data-testid="Docs"
className={({ isActive }) =>
classNames('Sidebar__item', { active: isActive })
}
to={{ pathname: '/wiki' }}
to={{ pathname: '/docs' }}
BrettCleary marked this conversation as resolved.
Show resolved Hide resolved
>
<Images.Page fill={sidebarSvgUnselectedFill} />
</NavLink>
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/screens/WebView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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,
Expand Down
Loading