Betting=>predicting
This commit is contained in:
parent
c423326270
commit
34bad35cb8
|
@ -571,7 +571,7 @@ export const sendNewUniqueBettorsEmail = async (
|
|||
: contract.question
|
||||
} just got ${
|
||||
newPredictors.length
|
||||
} new predictions. Check out who's betting on it inside.`
|
||||
} new predictions. Check out who's predicting on it inside.`
|
||||
const templateData: Record<string, string> = {
|
||||
name: firstName,
|
||||
creatorName,
|
||||
|
|
|
@ -294,7 +294,7 @@ export function ExtraMobileContractDetails(props: {
|
|||
<Tooltip
|
||||
text={`${formatMoney(
|
||||
volume
|
||||
)} bet - ${uniqueBettors} unique traders`}
|
||||
)} bet - ${uniqueBettors} unique predictors`}
|
||||
>
|
||||
{volumeTranslation}
|
||||
</Tooltip>
|
||||
|
|
|
@ -134,7 +134,7 @@ export function NotificationSettings(props: {
|
|||
const bonuses: sectionData = {
|
||||
label: 'Bonuses',
|
||||
subscriptionTypeToDescription: {
|
||||
betting_streaks: 'Betting streak bonuses',
|
||||
betting_streaks: 'Prediction streak bonuses',
|
||||
referral_bonuses: 'Referral bonuses from referring users',
|
||||
unique_bettors_on_your_contract: 'Unique bettor bonuses on your markets',
|
||||
},
|
||||
|
|
|
@ -16,13 +16,14 @@ export function BettingStreakModal(props: {
|
|||
<Modal open={isOpen} setOpen={setOpen}>
|
||||
<Col className="items-center gap-4 rounded-md bg-white px-8 py-6">
|
||||
<span className={'text-8xl'}>🔥</span>
|
||||
<span className="text-xl">Daily betting streaks</span>
|
||||
<span className="text-xl">Daily prediction streaks</span>
|
||||
<Col className={'gap-2'}>
|
||||
<span className={'text-indigo-700'}>• What are they?</span>
|
||||
<span className={'ml-2'}>
|
||||
You get {formatMoney(BETTING_STREAK_BONUS_AMOUNT)} more for each day
|
||||
of consecutive betting up to {formatMoney(BETTING_STREAK_BONUS_MAX)}
|
||||
. The more days you bet in a row, the more you earn!
|
||||
of consecutive predicting up to{' '}
|
||||
{formatMoney(BETTING_STREAK_BONUS_MAX)}. The more days you predict
|
||||
in a row, the more you earn!
|
||||
</span>
|
||||
<span className={'text-indigo-700'}>
|
||||
• Where can I check my streak?
|
||||
|
|
|
@ -426,7 +426,7 @@ export function NewContract(props: {
|
|||
<div className="form-control mb-1 items-start">
|
||||
<label className="label mb-1 gap-2">
|
||||
<span>Question closes in</span>
|
||||
<InfoTooltip text="Betting will be halted after this time (local timezone)." />
|
||||
<InfoTooltip text="Predicting will be halted after this time (local timezone)." />
|
||||
</label>
|
||||
<Row className={'w-full items-center gap-2'}>
|
||||
<ChoicesToggleGroup
|
||||
|
@ -483,7 +483,7 @@ export function NewContract(props: {
|
|||
<label className="label mb-1 gap-2">
|
||||
<span>Cost</span>
|
||||
<InfoTooltip
|
||||
text={`Cost to create your question. This amount is used to subsidize betting.`}
|
||||
text={`Cost to create your question. This amount is used to subsidize predictions.`}
|
||||
/>
|
||||
</label>
|
||||
{!deservesFreeMarket ? (
|
||||
|
|
|
@ -428,7 +428,7 @@ function IncomeNotificationItem(props: {
|
|||
reasonText = !simple
|
||||
? `Bonus for ${
|
||||
parseInt(sourceText) / UNIQUE_BETTOR_BONUS_AMOUNT
|
||||
} new traders on`
|
||||
} new predictors on`
|
||||
: 'bonus on'
|
||||
} else if (sourceType === 'tip') {
|
||||
reasonText = !simple ? `tipped you on` : `in tips on`
|
||||
|
@ -436,7 +436,7 @@ function IncomeNotificationItem(props: {
|
|||
if (sourceText && +sourceText === 50) reasonText = '(max) for your'
|
||||
else reasonText = 'for your'
|
||||
} else if (sourceType === 'loan' && sourceText) {
|
||||
reasonText = `of your invested bets returned as a`
|
||||
reasonText = `of your invested predictions returned as a`
|
||||
// TODO: support just 'like' notification without a tip
|
||||
} else if (sourceType === 'tip_and_like' && sourceText) {
|
||||
reasonText = !simple ? `liked` : `in likes on`
|
||||
|
@ -448,7 +448,9 @@ function IncomeNotificationItem(props: {
|
|||
: user?.currentBettingStreak ?? 0
|
||||
const bettingStreakText =
|
||||
sourceType === 'betting_streak_bonus' &&
|
||||
(sourceText ? `🔥 ${streakInDays} day Betting Streak` : 'Betting Streak')
|
||||
(sourceText
|
||||
? `🔥 ${streakInDays} day Prediction Streak`
|
||||
: 'Prediction Streak')
|
||||
|
||||
return (
|
||||
<>
|
||||
|
@ -546,7 +548,7 @@ function IncomeNotificationItem(props: {
|
|||
{(isTip || isUniqueBettorBonus) && (
|
||||
<MultiUserTransactionLink
|
||||
userInfos={userLinks}
|
||||
modalLabel={isTip ? 'Who tipped you' : 'Unique traders'}
|
||||
modalLabel={isTip ? 'Who tipped you' : 'Unique predictors'}
|
||||
/>
|
||||
)}
|
||||
<Row className={'line-clamp-2 flex max-w-xl'}>
|
||||
|
|
|
@ -155,7 +155,7 @@ export default function TournamentPage(props: { sections: SectionInfo[] }) {
|
|||
<Page>
|
||||
<SEO
|
||||
title="Tournaments"
|
||||
description="Win money by betting in forecasting touraments on current events, sports, science, and more"
|
||||
description="Win money by predicting in forecasting tournaments on current events, sports, science, and more"
|
||||
/>
|
||||
<Col className="m-4 gap-10 sm:mx-10 sm:gap-24 xl:w-[125%]">
|
||||
{sections.map(
|
||||
|
|
Loading…
Reference in New Issue
Block a user