feat: Add posts to profile pages

This commit is contained in:
Xyphyn committed 2023-07-05 17:21:48 -07:00
1 parent 948ad6fb1c
commit 28d9820b1e
5 files changed
+69 -29

No files matched your search

@@ -14,7 +14,6 @@
PencilSquare,
UserGroup,
} from 'svelte-hero-icons'
import SvelteMarkdown from 'svelte-markdown'
export let community_view: CommunityView
</script>
@@ -26,7 +25,7 @@
`https://api.dicebear.com/6.x/initials/svg?seed=${community_view.community.name}`}
alt={community_view.community.name}
/>
<span class="flex flex-row items-center gap-1 text-sm">
<span class="flex flex-row items-center gap-1 text-sm capitalize">
<Icon src={Calendar} width={16} height={16} mini />
<RelativeDate date={new Date(community_view.community.published)} />
</span>