From 6533d7dd084ad8cdd479a0d9b416f94c809d96e1 Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Mon, 13 Mar 2023 20:34:01 -0500
Subject: Add /support and /support/privacy

---
 src/view/screens/Support.tsx | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 src/view/screens/Support.tsx

(limited to 'src/view/screens/Support.tsx')

diff --git a/src/view/screens/Support.tsx b/src/view/screens/Support.tsx
new file mode 100644
index 000000000..de1b38b84
--- /dev/null
+++ b/src/view/screens/Support.tsx
@@ -0,0 +1,44 @@
+import React from 'react'
+import {View} from 'react-native'
+import {useFocusEffect} from '@react-navigation/native'
+import {NativeStackScreenProps, CommonNavigatorParams} from 'lib/routes/types'
+import {ViewHeader} from '../com/util/ViewHeader'
+import {useStores} from 'state/index'
+import {Text} from 'view/com/util/text/Text'
+import {TextLink} from 'view/com/util/Link'
+import {CenteredView} from 'view/com/util/Views'
+import {usePalette} from 'lib/hooks/usePalette'
+import {s} from 'lib/styles'
+
+type Props = NativeStackScreenProps<CommonNavigatorParams, 'Support'>
+export const SupportScreen = (_props: Props) => {
+  const store = useStores()
+  const pal = usePalette('default')
+
+  useFocusEffect(
+    React.useCallback(() => {
+      store.shell.setMinimalShellMode(false)
+    }, [store]),
+  )
+
+  return (
+    <View>
+      <ViewHeader title="Support" />
+      <CenteredView>
+        <Text type="title-xl" style={[pal.text, s.p20, s.pb5]}>
+          Support
+        </Text>
+        <Text style={[pal.text, s.p20]}>
+          If you need help, email us at{' '}
+          <TextLink
+            href="mailto:support@bsky.app"
+            text="support@bsky.app"
+            style={pal.link}
+          />{' '}
+          with a description of your issue and information about how we can help
+          you.
+        </Text>
+      </CenteredView>
+    </View>
+  )
+}
-- 
cgit 1.4.1

