diff --git a/src/app/harbor/battles/battles.tsx b/src/app/harbor/battles/battles.tsx index 33da9921..0bffca3d 100644 --- a/src/app/harbor/battles/battles.tsx +++ b/src/app/harbor/battles/battles.tsx @@ -437,17 +437,30 @@ export default function Matchups({ session }: { session: HsSession }) {

Battle!

-

- A good ship is technical, creative, and presented well so that - others can understand and experience it. By that definition, which - of these two projects is better? (If you are not sure, just refresh - to skip!) -

+ {sessionStorage.getItem('tutorial') === 'true' ? ( +

+ A good ship is technical, creative, and presented well so that + others can understand and experience it. By that definition, which + of these two projects is better? (If you are not sure, just + refresh to skip!) +

+ ) : ( +
+

+ Battles Temporarily Paused +

+

+ We're currently recalculating project ratings and fixing + payouts. Battles will resume shortly. Thank you for your + patience! +

+
+ )} - {blessed && } - {cursed && } + {/* {blessed && } + {cursed && } */} - {voteBalance > 0 && ( + {voteBalance > 0 && sessionStorage.getItem('tutorial') === 'true' && (
{voteBalance} more {pluralize(voteBalance, 'vote', false)} until your next ship's payout! @@ -455,194 +468,202 @@ export default function Matchups({ session }: { session: HsSession }) { )} - - - {loading ? ( -
- -
- ) : !matchup ? ( -
-

- No matchup available -

- -
- ) : ( + {/* This will show battles UI for tutorial*/} + {sessionStorage.getItem('tutorial') === 'true' ? ( <> -
-
- handleVoteClick(matchup.project1)} - onReadmeClick={() => handleReadmeClick(matchup.project1)} - setAnalyticsState={setAnalyticsState} - onFraudClick={onFraudClick} - /> -
-
- VS -
-
- handleVoteClick(matchup.project2)} - onReadmeClick={() => handleReadmeClick(matchup.project2)} - setAnalyticsState={setAnalyticsState} - onFraudClick={onFraudClick} - /> + + + {loading ? ( +
+
- - setFraudProject(undefined)} - > -

- Why are you flagging {fraudProject?.title}? -

- - - - {fraudType === 'Incomplete README' || - fraudType === 'No demo link' || - fraudType === 'No screenshot' || - fraudType === 'Wrong repo' ? ( - -

- The creator of this project will be notified. Thanks for - making High Seas better! :) -

-
- ) : null} - - {fraudType === 'Suspected fraud' ? ( - -

- The creator of this project will not know you reported - them. Only the High Seas team will see this. -

-
- ) : null} -
- -