diff --git a/src/lib/components/ui/Navbar.svelte b/src/lib/components/ui/Navbar.svelte
index 53fff990..d24b08cd 100644
--- a/src/lib/components/ui/Navbar.svelte
+++ b/src/lib/components/ui/Navbar.svelte
@@ -17,6 +17,7 @@
GlobeAlt,
Icon,
Inbox,
+ MagnifyingGlass,
PencilSquare,
Plus,
UserCircle,
@@ -39,13 +40,24 @@
-
+
+
+ {#if data.posts.posts.length == 0}
+ {#if data.listingType == 'Subscribed'}
+
+
+
No posts
+
+
+ {/if}
+ {/if}
{#each data.posts.posts as post, index (post.post.id)}
diff --git a/src/routes/+page.ts b/src/routes/+page.ts
index 151d47bc..cb1b62ec 100644
--- a/src/routes/+page.ts
+++ b/src/routes/+page.ts
@@ -16,6 +16,8 @@ export async function load({ url }) {
try {
return {
+ sort: sort,
+ listingType: listingType,
posts: await getClient().getPosts({
limit: 20,
page: page,
diff --git a/src/routes/search/+page.svelte b/src/routes/search/+page.svelte
new file mode 100644
index 00000000..e69de29b