Something went wrong. Try again.
A live media wall for your Bluesky follows
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233<script lang="ts"> import { getContext } from 'svelte'; import { DISPLAY_SETTINGS_CONTEXT, type DisplaySettings } from '../display-settings.js'; import type { MediaItem } from '../feed.js'; import { postCountLabels } from '../post-counts.js';
let { item }: { item: MediaItem } = $props(); const display = getContext<(() => DisplaySettings) | undefined>(DISPLAY_SETTINGS_CONTEXT); const count = $derived( display?.().showInteractionCounts && !item.provisional && !item.warnings?.length ? item.post?.counts?.quoteCount : undefined ); const numberFormat = new Intl.NumberFormat();</script>
{#if count !== undefined} <p class="quote-count"> {numberFormat.format(count)} {postCountLabels.quoteCount[count === 1 ? 0 : 1]} </p>{/if}
<style> .quote-count { margin: var(--space-075) 0 0; color: var(--color-text-secondary); font-size: var(--font-size-sm); font-variant-numeric: tabular-nums; line-height: var(--font-line-height-body); }</style>