about summary refs log tree commit diff
path: root/src/view/com/posts/FollowingEmptyState.tsx
diff options
context:
space:
mode:
authorAnsh <anshnanda10@gmail.com>2023-07-02 19:30:02 +0100
committerGitHub <noreply@github.com>2023-07-02 13:30:02 -0500
commit7ee7d968e58897eaf43c55ebd12987a3cf3751b0 (patch)
tree16abba95e2e43288e2cf91e12800097de905d55c /src/view/com/posts/FollowingEmptyState.tsx
parent2be249894091715b325ee489795727d0a7b40b16 (diff)
downloadvoidsky-7ee7d968e58897eaf43c55ebd12987a3cf3751b0.tar.zst
[APP-708] Onboarding revamp (#939)
* Move Discover New Feeds button to the top of the MultiFeed

* add discover custom feeds to empty following page
Diffstat (limited to 'src/view/com/posts/FollowingEmptyState.tsx')
-rw-r--r--src/view/com/posts/FollowingEmptyState.tsx21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/view/com/posts/FollowingEmptyState.tsx b/src/view/com/posts/FollowingEmptyState.tsx
index d1843900b..4491b2526 100644
--- a/src/view/com/posts/FollowingEmptyState.tsx
+++ b/src/view/com/posts/FollowingEmptyState.tsx
@@ -27,6 +27,10 @@ export function FollowingEmptyState() {
     }
   }, [navigation])
 
+  const onPressDiscoverFeeds = React.useCallback(() => {
+    navigation.navigate('DiscoverFeeds')
+  }, [navigation])
+
   return (
     <View style={styles.emptyContainer}>
       <View style={styles.emptyIconContainer}>
@@ -48,6 +52,23 @@ export function FollowingEmptyState() {
           size={14}
         />
       </Button>
+
+      <Text type="xl-medium" style={[s.textCenter, pal.text, s.mt20]}>
+        You can also discover new Custom Feeds to follow.
+      </Text>
+      <Button
+        type="inverted"
+        style={[styles.emptyBtn, s.mt10]}
+        onPress={onPressDiscoverFeeds}>
+        <Text type="lg-medium" style={palInverted.text}>
+          Discover new custom feeds
+        </Text>
+        <FontAwesomeIcon
+          icon="angle-right"
+          style={palInverted.text as FontAwesomeIconStyle}
+          size={14}
+        />
+      </Button>
     </View>
   )
 }