From 3a53eb254ee2e2eff7179c2e260151ee0995f898 Mon Sep 17 00:00:00 2001 From: Saksham2k3s Date: Wed, 12 Jun 2024 17:49:20 +0530 Subject: [PATCH] Enhanced Header --- src/App.css | 4 ++++ src/components/Navbar.jsx | 49 +++++++++++++++++++++------------------ src/index.css | 5 ++++ 3 files changed, 35 insertions(+), 23 deletions(-) diff --git a/src/App.css b/src/App.css index d123d60..3464378 100644 --- a/src/App.css +++ b/src/App.css @@ -39,3 +39,7 @@ li:hover span { transform: rotate(360deg); } } + +.nav-item{ + font-size: 52px !important; +} \ No newline at end of file diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index 12dd6ef..13a05fa 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -5,7 +5,6 @@ import { motion, AnimatePresence, useScroll } from "framer-motion"; import { IoClose } from "react-icons/io5"; import { GiHamburgerMenu } from "react-icons/gi"; import { ThemeContext } from '../themeContext'; - const Navbar = () => { const { theme, toggleTheme } = useContext(ThemeContext); const [isOpen, setIsOpen] = useState(false); @@ -16,36 +15,39 @@ const Navbar = () => { }; return ( - + ); }; @@ -128,6 +133,4 @@ const IconAbout = () => ℹī¸; const IconNews = () => 📰; const IconRateUs = () => ⭐; -export default Navbar; - - +export default Navbar; \ No newline at end of file diff --git a/src/index.css b/src/index.css index 4ea23b9..587bb9d 100644 --- a/src/index.css +++ b/src/index.css @@ -23,6 +23,11 @@ code { display: none; } +.nav-item{ + font-size: 12px !important; + font-weight: bolder !important; +} + * { scrollbar-width: none; /* Firefox */ -ms-overflow-style: none; /* IE, Edge */