-
- Supply Minted
-
-
- {formatSupply(priceInfo.totalSupply)} tokens
-
+
+
+
+
+
+ Supply Minted
+
+
+ {formatSupply(priceInfo.totalSupply)} tokens
+
+
+ {storyline.sunset ? (
+
+ Story complete
+
+ {storyline.plot_count} {storyline.plot_count === 1 ? "plot" : "plots"} total
+
+
+ ) : storyline.last_plot_time ? (
+
+
+ Next Plot Publish Deadline
+
+
+
+ ) : null}
)}
- {storyline.sunset ? (
-
- Story complete
-
- {storyline.plot_count} {storyline.plot_count === 1 ? "plot" : "plots"} total
-
-
- ) : storyline.last_plot_time ? (
-
- ) : null}
{!storyline.sunset && (
)}
diff --git a/src/components/DeadlineCountdown.tsx b/src/components/DeadlineCountdown.tsx
index cc934e41..02656a1f 100644
--- a/src/components/DeadlineCountdown.tsx
+++ b/src/components/DeadlineCountdown.tsx
@@ -4,7 +4,7 @@ import { useState, useEffect } from "react";
const DEADLINE_HOURS = 168;
-export function DeadlineCountdown({ lastPlotTime }: { lastPlotTime: string }) {
+export function DeadlineCountdown({ lastPlotTime, hideLabel }: { lastPlotTime: string; hideLabel?: boolean }) {
const [remaining, setRemaining] = useState
(null);
useEffect(() => {
@@ -19,7 +19,7 @@ export function DeadlineCountdown({ lastPlotTime }: { lastPlotTime: string }) {
if (remaining === null) {
return (
- Deadline:{" "}
+ {!hideLabel && <>Deadline:{" "}>}
--
);
@@ -28,7 +28,7 @@ export function DeadlineCountdown({ lastPlotTime }: { lastPlotTime: string }) {
if (remaining <= 0) {
return (
- Deadline:{" "}
+ {!hideLabel && <>Deadline:{" "}>}
expired
);
@@ -50,7 +50,7 @@ export function DeadlineCountdown({ lastPlotTime }: { lastPlotTime: string }) {
return (
- Deadline:{" "}
+ {!hideLabel && <>Deadline:{" "}>}
{formatted}
);