Skip to content

fix: Adds missing hover zoom animation to CTA arrow, makes CTA arrow a shared resource between components#861

Merged
curlyfriesplease merged 6 commits intomasterfrom
ENG-4954-arrow-hover
Mar 30, 2026
Merged

fix: Adds missing hover zoom animation to CTA arrow, makes CTA arrow a shared resource between components#861
curlyfriesplease merged 6 commits intomasterfrom
ENG-4954-arrow-hover

Conversation

@curlyfriesplease
Copy link
Copy Markdown
Contributor

@curlyfriesplease curlyfriesplease commented Mar 27, 2026

PR description

What is it doing?

This one had a bit too much being changed to keep in the other PR I have for the general megafix ticket, ENG-4930, so I'm putting it in its own PR.

Here, this is adding a subtle 10% zoom on hover to the CTA arrow - the one that's used by CTA cards and Hero Banner.

It is added as a shared resource between these two components.
There is one difference between their implementations, with CTA cards the button's grey until hovered. In the case of Hero Banner, it's always red. This is now controlled by a transient prop called $preventHoverColourChange.

Why is this required?

Website redesign project.

link to Jira ticket:

ENG-4954

Quick Checklist:

  • My PR title follows the Conventional Commit spec.

  • I have filled out the PR description as per the template above.

  • I have added tests to cover new or changed behaviour.

  • I have updated any relevant documentation.

Important! - lastly, make sure to squash merge...

@curlyfriesplease curlyfriesplease changed the title ENG-4954 adds hover zoom animation to CTA arrow, makes CTA arrow a shared resource between components fix: Adds missing hover zoom animation to CTA arrow, makes CTA arrow a shared resource between components Mar 27, 2026
@curlyfriesplease curlyfriesplease marked this pull request as ready for review March 27, 2026 17:44
@media ${({ theme }) => theme.allBreakpoints('M')} {
&:hover {
${ArrowIconWrapper} ${ArrowIconInner} {
transform: scale(1.1);
Copy link
Copy Markdown
Contributor

@AndyEPhipps AndyEPhipps Mar 30, 2026

Choose a reason for hiding this comment

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

Wooft, I can barely see a change! Was this specifically asked for? I'd check with Curtis to see if he wants it juiced a bit more

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah it's comically subtle isn't it. He wanted it put in, and to match the figgers. I'll double check just to see if I can make this work feel a bit more worthwhile!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

He's on board with a juicier 20%

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧃🧃🧃

Copy link
Copy Markdown
Contributor

@AndyEPhipps AndyEPhipps left a comment

Choose a reason for hiding this comment

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

Looking good apart from the question re: the zoom

@curlyfriesplease curlyfriesplease merged commit f462943 into master Mar 30, 2026
9 checks passed
@curlyfriesplease curlyfriesplease deleted the ENG-4954-arrow-hover branch March 30, 2026 15:04
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 8.68.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants