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 }) {
)}
-
-
- Shuffle
-
-
- {loading ? (
-
-
-
- ) : !matchup ? (
-
-
- No matchup available
-
-
- Try Again
-
-
- ) : (
+ {/* 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}
- />
+
+
+ Shuffle
+
+
+ {loading ? (
+
+
-
- setFraudProject(undefined)}
- >
-
- Why are you flagging {fraudProject?.title}?
-
- setFraudType(e.target.value)}
- className="w-full my-4 p-1 text-black"
- >
- Select the reason for flagging
- Incomplete README
- No screenshot
- No demo link
- Suspected fraud
-
- Repo not found / not open source
-
-
-
-
- {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}
-
-
-
-
- {/*
*/}
- {selectedProject && (
-
-
-
- Why are you voting for {selectedProject.title} over the
- other?
-
-
-
+ ) : !matchup ? (
+
+
+ No matchup available
+
- {fewerThanTenWords ? (
- reason.trim() ? (
- `${10 - reason.trim().split(' ').length} words left...`
- ) : (
- '10 words left...'
- )
- ) : isSubmitting ? (
- <>
-
-
-
-
- Submitting...
- >
- ) : (
- 'Submit Vote'
- )}
+ Try Again
-
+ ) : (
+ <>
+
+
+
handleVoteClick(matchup.project1)}
+ onReadmeClick={() => handleReadmeClick(matchup.project1)}
+ setAnalyticsState={setAnalyticsState}
+ onFraudClick={onFraudClick}
+ />
+
+
+ VS
+
+
+
handleVoteClick(matchup.project2)}
+ onReadmeClick={() => handleReadmeClick(matchup.project2)}
+ setAnalyticsState={setAnalyticsState}
+ onFraudClick={onFraudClick}
+ />
+
+
+
setFraudProject(undefined)}
+ >
+
+ Why are you flagging {fraudProject?.title}?
+
+ setFraudType(e.target.value)}
+ className="w-full my-4 p-1 text-black"
+ >
+ Select the reason for flagging
+
+ Incomplete README
+
+ No screenshot
+ No demo link
+ Suspected fraud
+
+ Repo not found / not open source
+
+
+
+
+ {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}
+
+
+
+
+ {/*
*/}
+ {selectedProject && (
+
+
+
+ Why are you voting for {selectedProject.title} over the
+ other?
+
+
+
+
+ {fewerThanTenWords ? (
+ reason.trim() ? (
+ `${10 - reason.trim().split(' ').length} words left...`
+ ) : (
+ '10 words left...'
+ )
+ ) : isSubmitting ? (
+ <>
+
+
+
+
+ Submitting...
+ >
+ ) : (
+ 'Submit Vote'
+ )}
+
+
+
+ )}
+ >
)}
>
- )}
+ ) : null}
)