diff --git a/src/app/story/[storylineId]/page.tsx b/src/app/story/[storylineId]/page.tsx index 1feb325a..95007e27 100644 --- a/src/app/story/[storylineId]/page.tsx +++ b/src/app/story/[storylineId]/page.tsx @@ -333,48 +333,45 @@ function StoryHeader({ - - - {/* Market stats */} - {priceInfo && ( -
-
-
-
+ {/* Stat boxes — inside info panel on desktop, below info rows */} + {priceInfo && ( +
+
-
- - Supply Minted - - - {formatSupply(priceInfo.totalSupply)} tokens - +
+
{formatSupply(priceInfo.totalSupply)}
+
Supply Minted
-
- {storyline.sunset ? ( -
- Story complete - - {storyline.plot_count} {storyline.plot_count === 1 ? "plot" : "plots"} total - -
- ) : storyline.last_plot_time ? ( -
- - Next Plot Publish Deadline - - +
+ {storyline.sunset ? ( + <> +
{storyline.plot_count}
+
Complete
+ + ) : storyline.last_plot_time ? ( + <> +
+ +
+
Deadline
+ + ) : ( + <> +
+
Deadline
+ + )}
- ) : null} -
+
+ )}
- )} +
{!storyline.sunset && ( )} diff --git a/src/components/MarketCapBox.tsx b/src/components/MarketCapBox.tsx index fa32fd79..2c231d51 100644 --- a/src/components/MarketCapBox.tsx +++ b/src/components/MarketCapBox.tsx @@ -33,18 +33,16 @@ export function MarketCapBox({ const changePercent = priceChange?.changePercent ?? null; return ( -
- - Market Cap - - + <> +
{formatUsdValue(marketCapUsd)} {changePercent !== null && ( - = 0 ? "text-accent" : "text-error"}`}> + = 0 ? "text-accent" : "text-error"}`}> {changePercent >= 0 ? "+" : ""}{changePercent.toFixed(1)}% )} - -
+
+
Market Cap
+ ); }