Skip to content

Commit

Permalink
Top arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
nagalakshmi08 committed Aug 8, 2024
1 parent 63a5bab commit 38eee64
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
21 changes: 0 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/BottomToTop.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const GoToTop = () => {
<div
onClick={goToTop}
className="flex justify-center items-center fixed bottom-20 right-5 w-12 h-12 bg-blue-500 text-white rounded-full cursor-pointer transition-transform transform hover:bg-blue-700 hover:-translate-y-1"
style={{ zIndex: 9999 }}
>
<FaArrowUp className="text-lg" />
</div>
Expand All @@ -36,4 +37,3 @@ const GoToTop = () => {
};

export default GoToTop;

0 comments on commit 38eee64

Please sign in to comment.