Make loan and bet streak links hoverable in notifications

This commit is contained in:
James Grugett 2022-10-08 12:51:58 -05:00
parent e1636d0f13
commit 310a41d63e
2 changed files with 9 additions and 6 deletions

View File

@ -35,8 +35,8 @@ export function LoansModal(props: {
</span>
<span className={'text-indigo-700'}> What is an example?</span>
<span className={'ml-2'}>
For example, if you bet M$1000 on "Will I become a millionare?"
today, you will get M$20 back tomorrow.
For example, if you bet M$1000 on "Will I become a millionare?", you
will get M$20 back tomorrow.
</span>
<span className={'ml-2'}>
Previous loans count against your total bet amount. So on the next

View File

@ -469,8 +469,11 @@ function IncomeNotificationItem(props: {
simple ? (
<span className={'ml-1 font-bold'}>🏦 Loan</span>
) : (
<SiteLink className={'ml-1 font-bold'} href={'/loans'}>
🏦 Loan
<SiteLink
className={'relative ml-1 font-bold'}
href={`/${sourceUserUsername}/?show=loans`}
>
🏦 Loan <span className="font-normal">(learn more)</span>
</SiteLink>
)
) : sourceType === 'betting_streak_bonus' ? (
@ -478,8 +481,8 @@ function IncomeNotificationItem(props: {
<span className={'ml-1 font-bold'}>{bettingStreakText}</span>
) : (
<SiteLink
className={'ml-1 font-bold'}
href={'/betting-streak-bonus'}
className={'relative ml-1 font-bold'}
href={`/${sourceUserUsername}/?show=betting-streak`}
>
{bettingStreakText}
</SiteLink>