diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-12-24 14:29:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-24 14:29:23 -0800 |
commit | d2a4d580a8ff11c39de77274d327d8dd0914c1d4 (patch) | |
tree | 1f4da5c9fcf7be160c6e0a0b521f3f3c6faebbbe /src/view/shell | |
parent | b1994051344c8dbb1f3b710d6343591daa6756b8 (diff) | |
download | voidsky-d2a4d580a8ff11c39de77274d327d8dd0914c1d4.tar.zst |
Add policy links to left nav and settings page (#2300)
Diffstat (limited to 'src/view/shell')
-rw-r--r-- | src/view/shell/Drawer.tsx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/view/shell/Drawer.tsx b/src/view/shell/Drawer.tsx index e5d2a3863..14bc6af26 100644 --- a/src/view/shell/Drawer.tsx +++ b/src/view/shell/Drawer.tsx @@ -51,6 +51,7 @@ import {useUnreadNotifications} from '#/state/queries/notifications/unread' import {emitSoftReset} from '#/state/events' import {useInviteCodesQuery} from '#/state/queries/invites' import {NavSignupCard} from '#/view/shell/NavSignupCard' +import {TextLink} from '../com/util/Link' let DrawerProfileCard = ({ account, @@ -106,6 +107,7 @@ export {DrawerProfileCard} let DrawerContent = ({}: {}): React.ReactNode => { const theme = useTheme() const pal = usePalette('default') + const {_} = useLingui() const setDrawerOpen = useSetDrawerOpen() const navigation = useNavigation<NavigationProp>() const {track} = useAnalytics() @@ -245,6 +247,23 @@ let DrawerContent = ({}: {}): React.ReactNode => { )} <View style={styles.smallSpacer} /> + + <View style={[{flexWrap: 'wrap', gap: 12}, s.flexCol]}> + <TextLink + type="md" + style={pal.link} + href="https://blueskyweb.xyz/support/tos" + text={_(msg`Terms of Service`)} + /> + <TextLink + type="md" + style={pal.link} + href="https://blueskyweb.xyz/support/privacy-policy" + text={_(msg`Privacy Policy`)} + /> + </View> + + <View style={styles.smallSpacer} /> <View style={styles.smallSpacer} /> </ScrollView> |