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

chore: GRO-213: Adding LazyLoadComponent to FooterBanner #7076

Merged
merged 3 commits into from Feb 23, 2021

Conversation

The-Beez-Kneez
Copy link
Contributor

@The-Beez-Kneez The-Beez-Kneez commented Feb 23, 2021

Ticket: GRO-213
There were performance optimizations recommended by Damon for the footer.

The image in the footer should be lazy loaded and be a real img tag to increase accessibility.

New layout:
Screen Shot 2021-02-23 at 2 12 13 PM

@damassi
Copy link
Member

damassi commented Feb 23, 2021

@The-Beez-Kneez - can you link to the JIRA ticket in the description?

@The-Beez-Kneez The-Beez-Kneez assigned damassi and unassigned jonallured Feb 23, 2021
@The-Beez-Kneez The-Beez-Kneez changed the title chore: GRO-155: Adding LazyLoadComponent to FooterBanner chore: GRO-213: Adding LazyLoadComponent to FooterBanner Feb 23, 2021
Copy link
Member

@jonallured jonallured left a comment

Choose a reason for hiding this comment

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

Cool!!

<ScrollIntoView
selector="#download-app-banner"
behavior="smooth"
>
Copy link
Member

Choose a reason for hiding this comment

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

I remembered this after pairing -- whenever we want something to jump to part of the page, we can wrap it in this component, and if we want to to animate we can use the behavior='smooth' prop

@damassi
Copy link
Member

damassi commented Feb 23, 2021

#mergeOnGreen

@artsy-peril artsy-peril bot merged commit 00aca29 into master Feb 23, 2021
@artsy-peril artsy-peril bot deleted the The_Beez_Kneez/GRO-213 branch February 23, 2021 23:05
@artsy-peril artsy-peril bot mentioned this pull request Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants