From dad257575a136785c555651bf5ace9672ea05de6 Mon Sep 17 00:00:00 2001 From: UdeeshaPrabhashana Date: Sun, 4 Feb 2024 13:47:28 +0530 Subject: [PATCH] Added Hash link --- Frontend/src/Components/Card/Card.tsx | 2 +- Frontend/src/Components/NavBar/NavBar.tsx | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Frontend/src/Components/Card/Card.tsx b/Frontend/src/Components/Card/Card.tsx index 713ce01..03c0a0f 100644 --- a/Frontend/src/Components/Card/Card.tsx +++ b/Frontend/src/Components/Card/Card.tsx @@ -3,7 +3,7 @@ import './Card.css' // Data import data from './data.json'; -import { WidthFull } from '@mui/icons-material'; +// import { WidthFull } from '@mui/icons-material'; const Carousel: React.FC = (): ReactElement => { const maxScrollWidth = useRef(0); diff --git a/Frontend/src/Components/NavBar/NavBar.tsx b/Frontend/src/Components/NavBar/NavBar.tsx index 6d578da..1a7b0cf 100644 --- a/Frontend/src/Components/NavBar/NavBar.tsx +++ b/Frontend/src/Components/NavBar/NavBar.tsx @@ -67,14 +67,13 @@ const Navbar: React.FC = () => { ) ))} + + {/* Conditionally render Register Now button for non-mobile screens */} {!isOpen && ( - - - Register Now - + + + Register Now + )}