diff --git a/src/app/profile/[address]/page.tsx b/src/app/profile/[address]/page.tsx index 9a49a2ff..b6873c0d 100644 --- a/src/app/profile/[address]/page.tsx +++ b/src/app/profile/[address]/page.tsx @@ -919,17 +919,17 @@ function StoryRow({ {/* Status + Created + Deadline */}
- {storyline.sunset ? ( - complete - ) : ( - active - )} {!storyline.sunset && storyline.last_plot_time && ( <> - · + · )} + {storyline.sunset ? ( + complete + ) : ( + active + )}
Created:{" "} @@ -1416,24 +1416,25 @@ function PortfolioTab({ address, isOwnProfile }: { address: string; isOwnProfile <>

Portfolio

-
-
- Value:{" "} - {formatPrice(formatUnits(totalValue, reserveDecimals))} {RESERVE_LABEL} - {plotUsd && ({formatUsdValue(Number(formatUnits(totalValue, reserveDecimals)) * plotUsd)})} +
+
+
{formatPrice(formatUnits(totalValue, reserveDecimals))}
+
{RESERVE_LABEL}
-
Tokens: {holdings!.length}
- {bestPick && bestPick.priceChange !== null && ( -
- Best 24h:{" "} - - {bestPick.storyline.title.slice(0, 20)}{bestPick.storyline.title.length > 20 ? "..." : ""} - - = 0 ? "text-accent" : "text-error"}`}> - {bestPick.priceChange >= 0 ? "+" : ""}{bestPick.priceChange.toFixed(1)}% - +
+
{plotUsd ? formatUsdValue(Number(formatUnits(totalValue, reserveDecimals)) * plotUsd) : "—"}
+
USD
+
+
+
{holdings!.length}
+
Holdings
+
+
+
= 0 ? "text-accent" : "text-error") : "text-foreground"}`}> + {bestPick && bestPick.priceChange !== null ? `${bestPick.priceChange >= 0 ? "+" : ""}${bestPick.priceChange.toFixed(1)}%` : "—"}
- )} +
Best 24h
+
@@ -1518,21 +1519,17 @@ function PortfolioTab({ address, isOwnProfile }: { address: string; isOwnProfile {(hasDonationsReceived || (isOwnProfile && hasDonationsGiven)) && (

Donations

-
+
{hasDonationsReceived && ( -
- Received:{" "} - {formatPrice(formatUnits(donationsReceived!.total, 18))} {RESERVE_LABEL} - {plotUsd != null && ({formatUsdValue(Number(formatUnits(donationsReceived!.total, 18)) * plotUsd)})} - from {donationsReceived!.count} {donationsReceived!.count === 1 ? "donation" : "donations"} +
+
{formatPrice(formatUnits(donationsReceived!.total, 18))}
+
Received · {donationsReceived!.count}
)} {isOwnProfile && hasDonationsGiven && ( -
- Given:{" "} - {formatPrice(formatUnits(totalDonated, 18))} {RESERVE_LABEL} - {plotUsd != null && totalDonated > BigInt(0) && ({formatUsdValue(Number(formatUnits(totalDonated, 18)) * plotUsd)})} - · {donationTotalCount} {donationTotalCount === 1 ? "donation" : "donations"} +
+
{formatPrice(formatUnits(totalDonated, 18))}
+
Given · {donationTotalCount}
)}