nimblehq/nimble-crypto-ios

[UI] As a user, I can see Trending coins on the Home screen

Closed this issue · 0 comments

Why

  • The user should be able to see trending coins on the Home screen.

Acceptance Criteria

In light mode:

Bitcoin

In dark mode:

Trending

  • The section will have the title Trending 🔥.

  • The section will have the text see all ->.

  • Once the coins have loaded, the user will see coin’s items:

Bitcoin

  • The coin’s image will be based on the image.
  • The coin’s symbol will be based on the uppercased symbol.
  • The coin’s name will be based on the name.
  • The coin’s price change percentage will be based on the price_change_percentage_24h:
    • price_change_percentage_24h is set to #F15950 with the down indicator when it’s a negative number.
    • price_change_percentage_24h is set to #10DC78 with the up indicator when it’s a positive number.

Note: The fractional part of price_change_percentage_24h is rounded to 2 numbers: 6,2122 to 6,21.

Design