diff --git a/src/lib/components/ui/Placeholder.svelte b/src/lib/components/ui/Placeholder.svelte
index 3a979beb..5564a197 100644
--- a/src/lib/components/ui/Placeholder.svelte
+++ b/src/lib/components/ui/Placeholder.svelte
@@ -5,34 +5,30 @@
export let title: string
export let description: string | undefined = undefined
- export let center: boolean = true
+ export let center: boolean = false
- {#if icon}
-
-
-
- {/if}
-
-
- {title}
-
- {#if description}
-
- {description}
-
+
+ {#if icon}
+
+
+
{/if}
+
+
+ {title}
+
+ {#if description}
+
+ {description}
+
+ {/if}
+
diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json
index e1b4fb3e..05aee9b5 100644
--- a/src/lib/i18n/en.json
+++ b/src/lib/i18n/en.json
@@ -236,6 +236,10 @@
"allComments": "All Comments",
"part": "You're viewing part of a thread.",
"context": "Show Context"
+ },
+ "emptyComments": {
+ "title": "No comments",
+ "description": "Start the conversation!"
}
},
"inbox": {
diff --git a/src/routes/post/[instance]/[id=integer]/+page.svelte b/src/routes/post/[instance]/[id=integer]/+page.svelte
index 15d18cb9..401d2f6f 100644
--- a/src/routes/post/[instance]/[id=integer]/+page.svelte
+++ b/src/routes/post/[instance]/[id=integer]/+page.svelte
@@ -19,6 +19,7 @@
InformationCircle,
Home,
PlusCircle,
+ ChatBubbleLeftRight,
} from 'svelte-hero-icons'
import PostLink from '$lib/components/lemmy/post/link/PostLink.svelte'
import PostMeta from '$lib/components/lemmy/post/PostMeta.svelte'
@@ -53,6 +54,7 @@
import { createWindowVirtualizer } from '@tanstack/svelte-virtual'
import { resumables } from '$lib/lemmy/item.js'
import { contentPadding } from '$lib/components/ui/layout/Shell.svelte'
+ import Placeholder from '$lib/components/ui/Placeholder.svelte'
export let data
@@ -423,6 +425,20 @@
)}
isParent={true}
/>
+ {#if comments.comments.length == 0}
+
+ {#if $profile.jwt}
+
+ {/if}
+
+ {/if}
{/await}
{#if post.post_view.counts.comments > 5}