diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-07-05 19:58:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-05 19:58:29 -0500 |
commit | d442b1cd4c58b0624fe76f90e23a2e7c02393d17 (patch) | |
tree | 183bf5e48c85610a5380df91cbb3ae1dccbbb1c5 /src/view/shell/desktop/RightNav.tsx | |
parent | 3a6073abb899cf3e73c530fceed2322955ee97b1 (diff) | |
download | voidsky-d442b1cd4c58b0624fe76f90e23a2e7c02393d17.tar.zst |
Update support links (#977)
* Add the new zendesk feedback form URL * Dont wrap handle or display name in the drawer * Add help link * Tune drawer footer layout * Type fixes * make helpdesk urls more composable for future * fix typo --------- Co-authored-by: Ansh Nanda <anshnanda10@gmail.com>
Diffstat (limited to 'src/view/shell/desktop/RightNav.tsx')
-rw-r--r-- | src/view/shell/desktop/RightNav.tsx | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/view/shell/desktop/RightNav.tsx b/src/view/shell/desktop/RightNav.tsx index 4f56b8e52..ef0d8e46c 100644 --- a/src/view/shell/desktop/RightNav.tsx +++ b/src/view/shell/desktop/RightNav.tsx @@ -6,7 +6,7 @@ import {usePalette} from 'lib/hooks/usePalette' import {DesktopSearch} from './Search' import {Text} from 'view/com/util/text/Text' import {TextLink} from 'view/com/util/Link' -import {FEEDBACK_FORM_URL} from 'lib/constants' +import {FEEDBACK_FORM_URL, HELP_DESK_URL} from 'lib/constants' import {s} from 'lib/styles' import {useStores} from 'state/index' import {pluralize} from 'lib/strings/helpers' @@ -37,7 +37,10 @@ export const DesktopRightNav = observer(function DesktopRightNav() { <TextLink type="md" style={pal.link} - href={FEEDBACK_FORM_URL} + href={FEEDBACK_FORM_URL({ + email: store.session.currentSession?.email, + handle: store.session.currentSession?.handle, + })} text="Send feedback" /> <Text type="md" style={pal.textLight}> @@ -47,7 +50,7 @@ export const DesktopRightNav = observer(function DesktopRightNav() { type="md" style={pal.link} href="https://blueskyweb.xyz/support/privacy-policy" - text="Privacy Policy" + text="Privacy" /> <Text type="md" style={pal.textLight}> · @@ -58,6 +61,15 @@ export const DesktopRightNav = observer(function DesktopRightNav() { href="https://blueskyweb.xyz/support/tos" text="Terms" /> + <Text type="md" style={pal.textLight}> + · + </Text> + <TextLink + type="md" + style={pal.link} + href={HELP_DESK_URL} + text="Help" + /> </View> </View> <InviteCodes /> |