diff --git a/app/discover/PubListing.tsx b/app/discover/PubListing.tsx
index 1aefbe06..14387eb1 100644
--- a/app/discover/PubListing.tsx
+++ b/app/discover/PubListing.tsx
@@ -45,7 +45,7 @@ export const PubListing = (props: {
hover:outline-accent-contrast hover:border-accent-contrast`}
>
diff --git a/app/reader/ReaderContent.tsx b/app/reader/ReaderContent.tsx
index f99e3a41..3aaf3975 100644
--- a/app/reader/ReaderContent.tsx
+++ b/app/reader/ReaderContent.tsx
@@ -2,6 +2,8 @@
import { AtUri } from "@atproto/api";
import { getPublicationURL } from "app/lish/createPub/getPublicationURL";
import { PubIcon } from "components/ActionBar/Publications";
+import { ButtonPrimary } from "components/Buttons";
+import { DiscoverSmall } from "components/Icons/DiscoverSmall";
import { ShareSmall } from "components/Icons/ShareSmall";
import { Separator } from "components/Layout";
import { useCardBorderHidden } from "components/Pages/useCardBorderHidden";
@@ -24,9 +26,10 @@ export const ReaderContent = (props: {
documents: { data: Json; uri: string; indexed_at: string };
}[];
}) => {
+ if (props.posts.length === 0) return
;
return (
- {props.posts?.map((p) =>
)}
+ {props.posts?.map((p) =>
)}
);
};
@@ -59,20 +62,23 @@ const Post = (props: {
return (
-
+
{postRecord.title}
{postRecord.description}
+
-
{pubRecord.name}
-
+
NAME HERE
@@ -106,7 +113,19 @@ const Post = (props: {
})}
-
+
);
};
+
+const ReaderEmpty = () => {
+ return (
+
+ Nothing to read yet…
+ Subscribe to publications and find their posts here!
+
+ Discover Publications
+
+
+ );
+};
diff --git a/app/reader/SubscriptionsContent.tsx b/app/reader/SubscriptionsContent.tsx
index 7c77807d..8ab81907 100644
--- a/app/reader/SubscriptionsContent.tsx
+++ b/app/reader/SubscriptionsContent.tsx
@@ -13,15 +13,7 @@ export const SubscriptionsContent = (props: {
}[];
}[];
}) => {
- if (props.publications.length === 0)
- return (
-
- Looks like you don't have any publication subscriptions yet!
-
- Discover Publications!
-
-
- );
+ if (props.publications.length === 0) return
;
return (
@@ -29,3 +21,14 @@ export const SubscriptionsContent = (props: {
);
};
+
+const SubscriptionsEmpty = () => {
+ return (
+
+ You haven't subscribed to any publications yet!
+
+ Discover Publications
+
+
+ );
+};