fixes comment look and feel

This commit is contained in:
Christian Beutel
2025-01-04 17:51:19 +01:00
parent a704db6366
commit 2cc01744da
17 changed files with 145 additions and 36 deletions

View File

@@ -0,0 +1,19 @@
<script lang="ts">
import emptyStateCommentDark from "$lib/assets/svgs/empty_states/empty_state_comment_dark.svg";
import emptyStateCommentLight from "$lib/assets/svgs/empty_states/empty_state_comment_light.svg";
import { theme } from "$lib/stores/theme_store";
import { _ } from "svelte-i18n";
export let width: number = 256;
</script>
<div class="flex flex-col justify-center items-center gap-y-4">
<img
style="width: {width}px"
class="rounded-full aspect-square"
src={$theme === "light" ? emptyStateCommentLight : emptyStateCommentDark}
alt="Empty State showing a wanderer going into the distance"
/>
<h3 class="text-xl font-medium text-center text-gray-500">{$_("no-comments-so-far")}...</h3>
</div>