feat: comments

fix: use select instead of dropdown for filter on /market
This commit is contained in:
Face 2025-05-24 19:28:38 +03:00
parent 800b5d1a09
commit bd05b269fe
22 changed files with 2715 additions and 97 deletions

View file

@ -5,6 +5,7 @@
import * as Avatar from '$lib/components/ui/avatar';
import * as HoverCard from '$lib/components/ui/hover-card';
import TradeModal from '$lib/components/self/TradeModal.svelte';
import CommentSection from '$lib/components/self/CommentSection.svelte';
import {
TrendingUp,
TrendingDown,
@ -361,7 +362,7 @@
<div class="flex items-center pt-2">
<CalendarDays class="mr-2 h-4 w-4 opacity-70" />
<span class="text-muted-foreground text-xs">
Joined {new Date(coin.createdAt).toLocaleDateString('en-US', {
Joined {new Date(coin.creatorCreatedAt).toLocaleDateString('en-US', {
year: 'numeric',
month: 'long'
})}
@ -565,6 +566,9 @@
</Card.Content>
</Card.Root>
</div>
<!-- Comments Section -->
<CommentSection {coinSymbol} />
</div>
</div>
{/if}