Skip to content

Commit

Permalink
banner text (#4460)
Browse files Browse the repository at this point in the history
  • Loading branch information
jusrhee authored Mar 27, 2024
1 parent d79ceb0 commit 703c145
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions dashboard/src/main/home/app-dashboard/apps/Apps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,7 @@ const Apps: React.FC = () => {
{currentProject?.sandbox_enabled && (
<>
<Banner icon={<Image src={gift} />}>
$5 of Porter credits have automatically been credited to your
account.
Link a payment method to receive $5 of free Porter credits.
</Banner>
<Spacer y={1} />
</>
Expand Down
4 changes: 3 additions & 1 deletion dashboard/src/main/home/project-settings/BillingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ function BillingPage(): JSX.Element {
<Container row>
<Image src={gift} style={{ marginTop: "-2px" }} />
<Spacer inline x={1} />
<Text size={20}>$ 5.00</Text>
<Text size={20}>
{paymentMethodList?.length > 0 ? "$ 5.00" : "$ 0.00"}
</Text>
</Container>
<Spacer y={2} />
<Text size={16}>Payment methods</Text>
Expand Down

0 comments on commit 703c145

Please sign in to comment.