From 1a9887df01f8112c3c47f9cb0f4b28e69bdb7141 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 1 Jul 2022 19:00:37 -0500 Subject: add pagination to auctions --- src/lib/Auction.svelte | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 src/lib/Auction.svelte (limited to 'src/lib/Auction.svelte') diff --git a/src/lib/Auction.svelte b/src/lib/Auction.svelte new file mode 100644 index 0000000..57d8cee --- /dev/null +++ b/src/lib/Auction.svelte @@ -0,0 +1,56 @@ + + +
+
+ +
+ +

+ {removeFormattingCode(auction.item.display.name)} +

+ {#if auction.bin} + Bin + {/if} +
+

Coins: {auction.coins.toLocaleString()}

+

Buyer:

+

{millisecondsToTime(Date.now() - auction.creationTimestamp)} ago

+
+
+ + -- cgit