From 873fd5717c777b5c766dae8cdcc721c7a2a1b98b Mon Sep 17 00:00:00 2001 From: dewansh Date: Mon, 4 Aug 2025 19:57:30 +0530 Subject: [PATCH] Add BackToTop button with fade-in animation and integrate into App --- src/App.jsx | 2 ++ src/components/BackToTop.jsx | 38 ++++++++++++++++++++++++++++++++++++ src/index.css | 38 ++++++++++++++++++++++++++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 src/components/BackToTop.jsx diff --git a/src/App.jsx b/src/App.jsx index ea7d053..7b37f0e 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -6,6 +6,7 @@ import Services from "./pages/Services" import Contact from "./pages/Contact" import About from "./pages/About" import "./App.css" +import BackToTop from "./components/BackToTop" function App() { return ( @@ -20,6 +21,7 @@ function App() { } /> +