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

Create <DestinationCard /> component #547

Closed
williamkolmacka opened this issue Oct 26, 2018 · 0 comments
Closed

Create <DestinationCard /> component #547

williamkolmacka opened this issue Oct 26, 2018 · 0 comments
Assignees

Comments

@williamkolmacka
Copy link
Collaborator

Description

  • DestinationCard is a component which is used on the landing page and also on the search page.

Visual style

snimka obrazovky 2018-10-26 o 14 32 22

Zeplin: https://zpl.io/2jPQo6W

Interactions

  • on hover is showed a dark overlay with additional information about the flight
  • animations are the same as on current DestinationCard on the Kiwi.com landing page, but with Orbit duration token.

Additional information

  • the background image have to be always stretched

Functional specs

  • width is 100%
  • height is set up randomly from the range of min and max height

Default

  • for city name is used title1 heading
  • for price is used title3 heading
  • for time of stay is used title4 heading

Hover

  • for departure city is used title3 heading
  • for arrival city is used title1 heading
  • for arrival country is used title4 heading
  • for the bottom section is used small text with bold variant

All the texts are in inversed style.

Storybook chapters

  • TBD later
@vepor vepor self-assigned this Oct 29, 2018
@vepor vepor mentioned this issue Nov 6, 2018
2 tasks
@vepor vepor assigned filipdanisko and unassigned vepor Mar 4, 2019
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

No branches or pull requests

3 participants