From 6b4b8c934bdc773272509b4788cab8768f7c56a3 Mon Sep 17 00:00:00 2001 From: Abhijit Motekar <109235675+AbhijitMotekar99@users.noreply.github.com> Date: Wed, 6 Nov 2024 20:58:21 +0530 Subject: [PATCH] Scroll To Top button added --- frontend/index.html | 1 + frontend/src/App.jsx | 3 +- frontend/src/components/ScrollToTop.jsx | 33 ++++++++++++++++++++ frontend/src/styles/ScrollToTop.css | 41 +++++++++++++++++++++++++ 4 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 frontend/src/components/ScrollToTop.jsx create mode 100644 frontend/src/styles/ScrollToTop.css diff --git a/frontend/index.html b/frontend/index.html index b69909d..2ddd2c0 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -3,6 +3,7 @@ + DecenTrade | NFT Marketplace diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 9848b58..9b9f027 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -14,7 +14,7 @@ import Footer from './components/Footer'; import MyChatbot from './Chatbot'; import CustomCursor from './components/CustomCursor'; import GTranslateLoader from './components/GTranslateLoader' - +import ScrollToTop from './components/ScrollToTop'; function App() { const [wallet, setWallet] = useState(null); @@ -55,6 +55,7 @@ function App() { {/* Chatbot and Footer Components */}