Skip to content

Commit

Permalink
Merge branch 'gauravsingh1281:main' into enhancement/issue-59/improve…
Browse files Browse the repository at this point in the history
…-login-registration-page
  • Loading branch information
deoruchi authored Oct 17, 2023
2 parents 81ad28f + 61fd904 commit ad9a233
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.10.1",
"react-router-dom": "^6.15.0"
"react-router-dom": "^6.15.0",
"react-scroll-to-top": "^3.0.0"
},
"devDependencies": {
"@types/react": "^18.2.14",
Expand Down
7 changes: 6 additions & 1 deletion src/pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Contact from "../components/Contact-section/Contact";
import Footer from "../components/Footer-section/Footer";
import Header from "../components/Header-section/Header";
import Services from "../components/Services-section/Services-section";

import ScrollToTop from "react-scroll-to-top";
function Home() {
return (
<>
Expand All @@ -12,6 +12,11 @@ function Home() {
<AboutUs />
<Contact />
<Footer />
<ScrollToTop
smooth
color="darkgreen"
className="flex justify-center hover:scale-125 duration-200 transition items-center p-1"
/>
</>
);
}
Expand Down

0 comments on commit ad9a233

Please sign in to comment.