Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new card design to pools #2413

Merged
merged 7 commits into from
Sep 10, 2024
Merged

Add new card design to pools #2413

merged 7 commits into from
Sep 10, 2024

Conversation

kattylucy
Copy link
Collaborator

@kattylucy kattylucy commented Aug 28, 2024

#2391

  • Dev

Copy link

github-actions bot commented Aug 28, 2024

PR deployed in Google Cloud
URL: https://pr2413-app-ff-production.k-f.dev
Commit #: d05c547
To access the functions directly check the corresponding deploy Action

Copy link

github-actions bot commented Aug 28, 2024

PR deployed in Google Cloud
URL: https://app-pr2413.k-f.dev
Commit #: d05c547
To access the functions directly check the corresponding deploy Action

@kattylucy kattylucy force-pushed the add_tile_design branch 2 times, most recently from 6687e92 to 39e7e16 Compare September 3, 2024 14:31
@kattylucy kattylucy marked this pull request as ready for review September 3, 2024 14:37
@kattylucy kattylucy force-pushed the add_tile_design branch 4 times, most recently from a02e33b to 7273884 Compare September 3, 2024 15:47
@kattylucy kattylucy marked this pull request as draft September 3, 2024 19:14
@kattylucy kattylucy removed the request for review from sophialittlejohn September 3, 2024 19:14
@kattylucy kattylucy force-pushed the pool_overview_page_redesign branch 2 times, most recently from a79a77a to c7d9d5e Compare September 3, 2024 19:43
@kattylucy kattylucy changed the base branch from pool_overview_page_redesign to main September 3, 2024 19:45
@kattylucy kattylucy force-pushed the add_tile_design branch 7 times, most recently from 0407c73 to a317de5 Compare September 5, 2024 18:55
@kattylucy kattylucy marked this pull request as ready for review September 5, 2024 18:56
@kattylucy kattylucy force-pushed the add_tile_design branch 2 times, most recently from 3e3994d to bc878fb Compare September 5, 2024 19:34
</TextWithPlaceholder>
return (
<Card
marginRight={20}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be marked as an anchor tag for better semantics HTML. Should be as simple as as={a}, you'll probably still have to remove the default styling on the a tag.

<Text as="span" variant="body3" color="textButtonPrimaryDisabled">
Min Investment
</Text>
{tranchesData?.map((tranche) => renderText(`${tranche.minInvestment}`))}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looked too big in the preview, I think you need to convert it to decimal first

<StyledCard
marginRight={20}
marginBottom={20}
onClick={() => navigate(`/pools/${poolId}`)}
Copy link
Collaborator

@onnovisser onnovisser Sep 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better would be to use a React Router Link instead. That'll render it as an a too, but with an href for better usability.

Copy link
Collaborator

@sophialittlejohn sophialittlejohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🔥

@kattylucy kattylucy merged commit 15ac610 into main Sep 10, 2024
14 checks passed
@kattylucy kattylucy deleted the add_tile_design branch September 10, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants