From ee689863532da621c267737e3c39cbc1db24b959 Mon Sep 17 00:00:00 2001 From: Sonika Date: Mon, 1 Jan 2024 13:20:53 +0530 Subject: [PATCH] admin,admin, header style changes --- src/App.tsx | 4 ++++ src/components/Header.tsx | 41 ++++++++++++++++++++++++++++---- src/components/admin/Admin.tsx | 12 ++++++++++ src/components/search/Search.tsx | 12 ++++++++++ 4 files changed, 64 insertions(+), 5 deletions(-) create mode 100644 src/components/admin/Admin.tsx create mode 100644 src/components/search/Search.tsx diff --git a/src/App.tsx b/src/App.tsx index 3689aa3..281f84f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -9,6 +9,8 @@ import Projects from './components/projects/Projects'; import { ReactQueryDevtools} from 'react-query/devtools' import ManageUsers from './components/manage_users/ManageUsers'; import IntranetUsers from './components/intranet_users/IntranetUsers'; +import Search from './components/search/Search'; +import Admin from './components/admin/Admin'; function App() { const queryClient = new QueryClient(); @@ -22,6 +24,8 @@ function App() { } /> } /> } /> + } /> + } /> diff --git a/src/components/Header.tsx b/src/components/Header.tsx index dc77612..a7748b6 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -25,7 +25,7 @@ function Header() { }; return ( - + @@ -84,7 +84,7 @@ function Header() { key="home" onClick={handleCloseNavMenu} sx={{ - mx: 2, + mx: 1, color: 'white', borderRadius:0, borderBottom: location.pathname === '/' ? '2px solid red' : 'none', @@ -98,7 +98,7 @@ function Header() { key="projects" onClick={handleCloseNavMenu} sx={{ - mx: 2, + mx: 1, color: 'white', borderRadius:0, borderBottom: location.pathname === '/projects' ? '2px solid red' : 'none', @@ -108,11 +108,42 @@ function Header() { > PROJECTS + + + + +