diff --git a/components/bounties/SealedUntilDeadline.tsx b/components/bounties/SealedUntilDeadline.tsx new file mode 100644 index 00000000..0bbe7545 --- /dev/null +++ b/components/bounties/SealedUntilDeadline.tsx @@ -0,0 +1,31 @@ +import { EyeOff } from 'lucide-react'; + +import { DueCountdown } from './DueCountdown'; + +/** + * Sealed-until-deadline card shared by the organizer submissions review and + * payout tabs, so the competition seal looks and behaves the same on both. + */ +export function SealedUntilDeadline({ + deadline, + title, + description, +}: { + deadline: string; + title: string; + description: string; +}) { + return ( +
{title}
+{description}
+Paid out
++ This bounty is completed and rewards were pushed on-chain. +
++ Assign a submission to every prize tier, then pay out in one signed + transaction. On settle the bounty completes and rewards go on-chain. +
+ ++ {ordinal(tier.position)} place +
++ {formatAmount(tier.amount)} {overview.rewardCurrency} +
+{user.name}
++ {ordinal(s.tierPosition as number)} place +
+- Submissions are hidden until the deadline -
-- This is a competition. Work stays sealed so review stays fair. -
-