From f8210882717610dda37a975897669dc973290094 Mon Sep 17 00:00:00 2001 From: Dex404 Date: Tue, 16 Apr 2024 04:43:43 +0000 Subject: [PATCH] minor achanges --- components/Navbar/Navbar.tsx | 21 ++++++++------------- components/aboutUs/AboutUs.tsx | 8 ++++---- 2 files changed, 12 insertions(+), 17 deletions(-) diff --git a/components/Navbar/Navbar.tsx b/components/Navbar/Navbar.tsx index 7f8653e..ae6732a 100644 --- a/components/Navbar/Navbar.tsx +++ b/components/Navbar/Navbar.tsx @@ -1,12 +1,12 @@ "use client" -import { useState, useEffect } from "react" -import { Button } from "components/Button/Button" -import { FaArrowRight } from "react-icons/fa" - interface NavbarProps { logoSrc: string // Path to your logo image } +import { useState, useEffect } from "react" +import { Button } from "components/Button/Button" +import { FaArrowRight } from "react-icons/fa" + const Navbar: React.FC = ({ logoSrc }) => { const [showBackground, setShowBackground] = useState(false) const TOP_OFFSET = 50 @@ -36,18 +36,13 @@ const Navbar: React.FC = ({ logoSrc }) => { return (