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

Feature/sticky note animation #114

Merged
merged 15 commits into from
Nov 4, 2023
Merged

Conversation

tyleryy
Copy link
Contributor

@tyleryy tyleryy commented Nov 2, 2023

Overview

Animation for resource sticky notes to fly in from the 4th wall (your face/screen) onto the page. The animation is triggered when the user scrolls down and the sticky note is in view.

Details

Created a "slam in" animation variant that animates scale and opacity to achieve the effect. Converted the Resource Card component elements to motion elements to get the animation to "stagger" for each part of the sticky note.

Addendum

Open to discussion on the timing and fine-grained details of the animation.

Copy link

github-actions bot commented Nov 2, 2023

Deploy preview for zothacks-site-2023-sanity ready!

Name Sanity Studio
Preview Visit Preview
Commit 8b4a3e3

Copy link

github-actions bot commented Nov 2, 2023

Deploy preview for zothacks-site-2023 ready!

Name Hack at UCI Site
Preview Visit Preview
Commit 8b4a3e3

@tyleryy
Copy link
Contributor Author

tyleryy commented Nov 2, 2023

This PR can also be used for the mentor apply sticky notes and the index card with a pin. If so, I'll move the variant to the animation folder for general use.

@tyleryy
Copy link
Contributor Author

tyleryy commented Nov 3, 2023

I can also put the animation on the note cards and the stagger animation will be on the card and text.

Copy link
Contributor

@samderanova samderanova left a comment

Choose a reason for hiding this comment

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

This is awesome! Thank you for working on this. A few things I'd like to point out:

Copy link
Contributor

@samderanova samderanova left a comment

Choose a reason for hiding this comment

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

Great work on the animations!

@samderanova samderanova merged commit e8e15a8 into main Nov 4, 2023
2 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants