Skip to content

Commit

Permalink
Merge pull request #305 from chaanakyaaM/main
Browse files Browse the repository at this point in the history
scroll bug fixed
  • Loading branch information
Gyanthakur authored Oct 19, 2024
2 parents bf11e96 + 6fdf0a0 commit e4fa892
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1467,7 +1467,8 @@ <h3 class="name">Hemant Krishna</h3>

// Loop through each profile and add the AOS attribute
profiles.forEach((profile) => {
profile.setAttribute('data-aos', 'fade-down');
profile.setAttribute('data-aos', 'fade-up');

});


Expand Down Expand Up @@ -1504,7 +1505,9 @@ <h3 class="name">Hemant Krishna</h3>

</script>
<script>
AOS.init();
AOS.init({
once: true, // Animation occurs only once and doesn't reset when scrolling up
});
</script>

</body>
Expand Down

0 comments on commit e4fa892

Please sign in to comment.