From fb2727f3649f231154128a5113ba22dcb21c89f7 Mon Sep 17 00:00:00 2001 From: meet Date: Sat, 20 Jul 2024 15:24:39 +0530 Subject: [PATCH] Added progress scroll bar --- frontend/src/App.tsx | 215 +++++++++--------- .../src/components/ProgressScrollDown.tsx | 33 +++ 2 files changed, 142 insertions(+), 106 deletions(-) create mode 100644 frontend/src/components/ProgressScrollDown.tsx diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 82cde962..ce3d02a1 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -30,6 +30,7 @@ import CodeEditor from "./pages/CodeEditor"; import Contributors from "./pages/Contributors"; import userBlock from "./hooks/userBlock"; import Blocked from "./pages/Blocked"; +import ProgressScrollDown from "./components/ProgressScrollDown"; // import axios from "axios"; // axios.defaults.baseURL = "http://localhost:3001/"; @@ -44,116 +45,118 @@ function App() { if (isBlocked) { return ; } + return ( - }> - -
- - -
- - } /> - } /> - } /> - }/> - } /> - - - - } - /> - - - - } - /> - - - - } - /> - - - - } - /> - - - - } - /> - - - - } - /> - - - - } - /> - - } - /> - - - - } - /> - - } - /> - - } - /> - - } - /> - } /> - -
-