feat: Add animation on scroll in about-us page. - #66
Open
somesh202 wants to merge 3 commits into
Open
Conversation
✅ Deploy Preview for cops ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
This uses scrollTrigger plugin of gsap for adding animation to about-us content. Co-authored-by: Manan Rathi <76519771+Manan-Rathi@users.noreply.github.com> Signed-off-by: Somesh Ranjan <somesh.ranjan.met20@itbhu.ac.in>
Member
|
@somesh202 updates on this |
Member
|
do one more thing for this PR let's get rid of |
Member
|
Just add gsap and remove nuxt-gsap-module from config |
somesh202
force-pushed
the
anim-about-us
branch
from
August 19, 2022 05:05
5d8720b to
d215318
Compare
somesh202
force-pushed
the
anim-about-us
branch
from
August 19, 2022 05:13
d215318 to
ce9a415
Compare
king-11
requested changes
Aug 19, 2022
|
|
||
| <script lang="ts"> | ||
| import { defineComponent } from '@nuxtjs/composition-api' | ||
| import { gsap } from 'gsap' |
Member
There was a problem hiding this comment.
gsap isn't there in package.json
| "core-js": "^3.21.1", | ||
| "gsap": "^3.11.0", | ||
| "nuxt": "^2.15.8", | ||
| "nuxt-gsap-module": "^1.7.1", |
Contributor
|
@king-11 Is the deploy preview of the About Us page the intended animation? The scroll trigger behavior seemed a little off🤔. |
Member
|
The pinning might feel a bit off but yeah it's intended as done by @somesh202 . There is one issue though on mobile view the trailer and about us last card overlap |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add animation on scroll in about-us page:
This uses scrollTrigger plugin of gsap for adding animation to about-us content.
Fixes
Fixes #[issue number] by @[issue author]
Types of changes
Checklist: