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

Added animation toggle option #74

Merged
merged 1 commit into from
Sep 25, 2022

Conversation

NishantTharani
Copy link
Contributor

Hi, I added a toggle option in the config file which toggles whether the fading animations (enabled by default) should be applied on the home page or not.

How it works: I changed index.css so that the animation properties are only applied to elements that also have the class .animate. Then in the template files, I conditionally applied the .animate class to the animated elements only if the config option is enabled. Also, I set the social media icons to have display: block by default if the animate option is disabled, so there is no delay before they appear.

@gurusabarish
Copy link
Owner

Thanks @NishantTharani

@gurusabarish gurusabarish merged commit fb91257 into gurusabarish:master Sep 25, 2022
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.

2 participants