From 2428822d3a381f417d389df17de7573c4f966ad8 Mon Sep 17 00:00:00 2001 From: Sawan Date: Tue, 8 Oct 2024 15:27:23 +0530 Subject: [PATCH 1/2] Added back to top button --- frontend/src/App.jsx | 24 +++++----- .../src/components/Shared/BackToTopButton.jsx | 47 +++++++++++++++++++ 2 files changed, 60 insertions(+), 11 deletions(-) create mode 100644 frontend/src/components/Shared/BackToTopButton.jsx diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 17de1827..50e46380 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -6,21 +6,23 @@ import Footer from "../src/components/Shared/Footer"; import { Outlet } from "react-router-dom"; import { AuthProvider } from './components/Shared/AuthContext'; import { KindeProvider } from "@kinde-oss/kinde-auth-react"; +import BackToTopButton from "./components/Shared/BackToTopButton"; function App() { return ( - - - -