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

Component divide and conquer #2

Open
mattam opened this issue Aug 15, 2017 · 0 comments
Open

Component divide and conquer #2

mattam opened this issue Aug 15, 2017 · 0 comments

Comments

@mattam
Copy link
Contributor

mattam commented Aug 15, 2017

Components:

Main Page

  • Slide show : <SlideShow step={1} slides={[image array]} /> : A display component which will receive a :number prop of which slide to show. The :number basically is which step has been completed by the user, so we'll want to show the slide detail with that step. The image source needs to be stored locally (not from network request).
  • Tour Summary card: <TourSummary title={"Tour Summary"} summary={"something to show"} thumbs={[image array]} /> : This card will display the summary of the tour so that the user has a quick idea of what the tour will be like.
  • TourList card: <TourList items={[items array]} />
    • LocationItem card: <LocationItem title={"Land's End"} summary={"location summary"} thumb={image thumb} index={1} /> : Link out from this item to the Card.
    • TransitionItem card: <TransitionItem directions={"transition directions" iconType={"LEFT_ARROW"} />

Detail View

  • Banner image: <Banner title={"Land's End"} image={image source} />
  • Location Summary: <LocationSummary summary={"some text"} thumb={image thumb} />
  • Section Card: <Section title={"Section title"} text={"section text"} index={1} /> : Need to think through how the Read More details link will work. Will it be an accordion, or a further detail view?
@mattam mattam changed the title Component design Component divide and conquer Aug 15, 2017
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

1 participant