Skip to content

Commit

Permalink
design: improved size of invite to refer
Browse files Browse the repository at this point in the history
  • Loading branch information
geolffreym committed Jan 21, 2025
1 parent e6a43c5 commit ea2582b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/sections/finance/components/finance-earn-tokens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const FinanceEarnTokens: FC<FinanceEarnTokensProps> = ({ sx, lgUp, ...other }) =
<Typography
variant="body1"
sx={{
display: { xs: 'none', md: 'flex' },
display: { md: 'flex' },
maxWidth: 250,
mb: 1,
whiteSpace: 'pre-line',
Expand Down Expand Up @@ -107,7 +107,7 @@ const FinanceEarnTokens: FC<FinanceEarnTokensProps> = ({ sx, lgUp, ...other }) =
sx={{
opacity: 0.8,
maxWidth: lgUp ? 220 : 'auto',
mb: { xs: 1, xl: 2 },
mb: { xs: 2, xl: 2 },
}}
>
Invite your friends and complete tasks to grow your balance.
Expand Down
2 changes: 1 addition & 1 deletion src/sections/finance/components/finance-invite-friends.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default function FinanceInviteFriends({
>
<Box
sx={{
typography: 'h2',
typography: 'h1',
color: 'warning.main',
textShadow: `1px 1px 5px ${COLORS.GRAY_LIGHT}`,
}}
Expand Down
2 changes: 1 addition & 1 deletion src/sections/finance/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default function OverviewBankingView() {

<FinanceInviteFriends
price="50"
title={`Invite friends \n and earn`}
title={`Refer and Earn!`}
description="Invite your friends to join our platform and earn MMC 50 for each successful referral."
img="/assets/illustrations/characters/character_11.png"
/>
Expand Down

0 comments on commit ea2582b

Please sign in to comment.