|
|
@ -63,18 +63,25 @@ export function InviteFriends(props: InviteFriendsProps) { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<p className="mt-2.5 text-center text-xs"> |
|
|
|
<p className="mt-2.5 text-center text-xs"> |
|
|
|
|
|
|
|
{refByUserCount > 0 && ( |
|
|
|
|
|
|
|
<> |
|
|
|
🥳 You have invited{' '} |
|
|
|
🥳 You have invited{' '} |
|
|
|
<span className="font-medium underline underline-offset-2"> |
|
|
|
<span className="font-medium underline underline-offset-2"> |
|
|
|
{refByUserCount} users so far |
|
|
|
{refByUserCount} user{refByUserCount > 1 ? 's' : ''} so far |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
|
|
|
|
</> |
|
|
|
|
|
|
|
)} |
|
|
|
|
|
|
|
{refByUserCount === 0 && <>🤔 You haven't invited anyone yet</>} |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p className="mt-2.5 text-center text-xs"> |
|
|
|
<a |
|
|
|
<a |
|
|
|
href="/leaderboard" |
|
|
|
href="/leaderboard" |
|
|
|
className="mt-4 flex justify-center text-center text-sm font-medium text-purple-500 underline-offset-2 hover:underline" |
|
|
|
className="text-purple-400 underline-offset-2 hover:underline" |
|
|
|
> |
|
|
|
> |
|
|
|
See how you are compare to others |
|
|
|
See how you compare to others |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
|
|
|
|
</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|