Skip to content

Commit

Permalink
Merge pull request #2395 from IntersectMBO/fix/2292-usersnap-the-help…
Browse files Browse the repository at this point in the history
…-link-at-the-bottom-of-govtools-leads-to-a-page-not-found-web-page-the-page-you-are-looking-for-doesnt-exist

chore(#2292): change link to support page
  • Loading branch information
MSzalowski authored Nov 26, 2024
2 parents 4c35a51 + cba8d19 commit ef8bd0e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ changes.

- Bump CSL version to 13.1.0 [Issue 2169](https://github.com/IntersectMBO/govtool/issues/2169)
- Display supporting links below labels than in same row [Issue 2391](https://github.com/IntersectMBO/govtool/issues/2391)
- change link to support page [Issue 2292](https://github.com/IntersectMBO/govtool/issues/2292)

### Removed

Expand Down
4 changes: 3 additions & 1 deletion govtool/frontend/src/components/organisms/DrawerMobile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ export const DrawerMobile = ({
const { t } = useTranslation();

const onClickHelp = () =>
openInNewTab("https://docs.gov.tools/support/");
openInNewTab(
"https://docs.gov.tools/using-govtool/support#for-support-you-can-reach-the-team-on-the-intersect-discord-server-at",
);

return (
<SwipeableDrawer
Expand Down
12 changes: 9 additions & 3 deletions govtool/frontend/src/components/organisms/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,19 @@ export const Footer = () => {
const { openFeedbackWindow } = useUsersnapApi();

const onClickHelp = () =>
openInNewTab("https://docs.gov.tools/support");
openInNewTab(
"https://docs.gov.tools/using-govtool/support#for-support-you-can-reach-the-team-on-the-intersect-discord-server-at",
);

const onClickPrivacyPolicy = () =>
openInNewTab("https://docs.intersectmbo.org/legal/policies-and-conditions/privacy-policy");
openInNewTab(
"https://docs.intersectmbo.org/legal/policies-and-conditions/privacy-policy",
);

const onClickTermOfService = () =>
openInNewTab("https://docs.intersectmbo.org/legal/policies-and-conditions/terms-of-use");
openInNewTab(
"https://docs.intersectmbo.org/legal/policies-and-conditions/terms-of-use",
);

const onClickFeedback = () => openFeedbackWindow();

Expand Down

0 comments on commit ef8bd0e

Please sign in to comment.