• • {Math.floor( (postRes.counts.upvotes / (postRes.counts.upvotes + postRes.counts.downvotes || 1)) * 100 )}%
{postRes.post.name} {#if postRes.post.url} {postRes.post.url} {/if} {#if isImage(postRes.post.url)} {postRes.post.name} {:else if isVideo(postRes.post.url)} {/if} {#if postRes.post.body}

{postRes.post.body}

{/if}
Post Actions { navigator.clipboard.writeText( `${$page.url.origin}/post/${ $authData?.instance ?? DEFAULT_INSTANCE_URL }/${postRes.post.id}` ) }} > Copy Link {#if $user?.person_view.person.id == postRes.post.creator_id} Delete {/if}