Skip to content

Commit

Permalink
refactor: move help to v1
Browse files Browse the repository at this point in the history
  • Loading branch information
ciyer committed Jan 28, 2025
1 parent d75dc34 commit 3403c57
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion client/src/landing/NavBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function FooterNavbarAnonymousLinks() {
function FooterNavbarLoggedInLinks({ privacyLink }) {
const helpLocation = location.pathname.startsWith("/v2")
? ABSOLUTE_ROUTES.v2.help.root
: Url.pages.help;
: Url.pages.help.root;
return (
<>
<RenkuNavLink to={helpLocation} title="Help" />
Expand Down
14 changes: 7 additions & 7 deletions client/src/utils/helpers/url/Url.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,13 @@ const Url = {
search: "/v1/search",
inactiveKgProjects: "/inactive-kg-projects",
help: {
base: "/help",
documentation: "/help/docs",
getting: "/help/getting",
privacy: "/help/privacy",
release: "/help/release",
status: "/help/status",
tos: "/help/tos",
base: "/v1/help",
documentation: "/v1/help/docs",
getting: "/v1/help/getting",
privacy: "/v1/help/privacy",
release: "/v1/help/release",
status: "/v1/help/status",
tos: "/v1/help/tos",
},
projects: {
base: new UrlRule(projectsSearchUrlBuilder(), [], searchValidation, [
Expand Down

0 comments on commit 3403c57

Please sign in to comment.