Skip to content

Commit

Permalink
I hide employee tab
Browse files Browse the repository at this point in the history
  • Loading branch information
techeng322 committed Aug 5, 2024
1 parent b9eaf05 commit a30077e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import Link from "next/link"
import { usePathname, useRouter } from "next/navigation"
import { usePathname } from "next/navigation"
import { usePopupWidget } from "../../providers/PopupWidgetProvider"
import PopUpWindows from "../PopUpWindows/PopUpWindows"
import { SCREENS } from "../../lib/screens"

const Navbar = () => {
const pathname = usePathname()
const { push } = useRouter()
// const { push } = useRouter()

const { openPopUp } = usePopupWidget() as any

Expand All @@ -20,7 +20,7 @@ const Navbar = () => {
const isWeb3Page = pathname.includes("/web3")
const isPressPage = pathname.includes("/press")
const isContactPage = pathname.includes("/contact")
const isEmployeePage = pathname.includes("/employee")
// const isEmployeePage = pathname.includes("/employee")

return (
<>
Expand Down Expand Up @@ -73,14 +73,14 @@ const Navbar = () => {
>
Contact
</button>
<button
{/* <button
type="button"
onClick={() => push("/employee")}
className={`${navClasses}
${isEmployeePage ? "border-b-[2px] border-b-[#347fdb] md:!bg-[#347fdb]" : ""}`}
>
Employee
</button>
</button> */}
</div>
<PopUpWindows />
</>
Expand Down

0 comments on commit a30077e

Please sign in to comment.