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

Stub out new API for collection hub nav item #2730

Merged

Conversation

pepopowitz
Copy link
Contributor

@pepopowitz pepopowitz commented Aug 22, 2019

Collaboration with @anandaroop.

As part of putting collection hubs on the home page (https://artsyproduct.atlassian.net/browse/GROW-1360), we need to make the CollectionsHubsNavItem more dynamic. Different entry points will use different font sizes, and some have titles while others have titles and subtitles.

This PR accomplishes that by replacing the CollectionsHubsNavItem with a more general ImageLink component, which expects the title and subtitle to be passed in by the caller.

@pepopowitz pepopowitz requested a review from anandaroop August 22, 2019 20:27
@artsy-peril artsy-peril bot added Jira Synced Version: Patch Indicates that this PR should have a patch deploy, usually for bug fixes labels Aug 22, 2019
anandaroop and others added 7 commits August 26, 2019 17:36
Signed-off-by: Steve Hicks <steven.j.hicks@gmail.com>
This defaults to the spacing in the desktop comp. Any other Serif
props will simply be passed through.
ImageLink is meant to be reusable in different contexts, so will
be invoked directly at the call site.

Signed-off-by: Steve Hicks <steven.j.hicks@gmail.com>
…nav-item

Continue refactor of hubs nav to accommodate homepage usage
@pepopowitz pepopowitz changed the title [WIP] Stub out new API for collection hub nav item Stub out new API for collection hub nav item Aug 27, 2019
Copy link
Member

@anandaroop anandaroop left a comment

Choose a reason for hiding this comment

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

👍 Thanks for pairing on the refactor!

@artsyit
Copy link
Contributor

artsyit commented Aug 28, 2019

🚀 PR was released in v17.7.4 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Jira Synced released Version: Patch Indicates that this PR should have a patch deploy, usually for bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants