From 5d8a7b697e085e9a83eddb3b84e83c7f5f06c301 Mon Sep 17 00:00:00 2001 From: Matthew Pereira Date: Wed, 13 Mar 2024 20:11:02 -0700 Subject: [PATCH] improve navbar styles --- packages/nextjs/components/Header.tsx | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/packages/nextjs/components/Header.tsx b/packages/nextjs/components/Header.tsx index 124f8e68..73c4ca63 100644 --- a/packages/nextjs/components/Header.tsx +++ b/packages/nextjs/components/Header.tsx @@ -4,7 +4,7 @@ import React, { useCallback, useRef, useState } from "react"; import Image from "next/image"; import Link from "next/link"; import { usePathname } from "next/navigation"; -import { Bars3Icon, BugAntIcon } from "@heroicons/react/24/outline"; +import { ArrowsRightLeftIcon, Bars3Icon, BugAntIcon, CircleStackIcon, ScaleIcon } from "@heroicons/react/24/outline"; import { FaucetButton, RainbowKitCustomConnectButton } from "~~/components/scaffold-eth"; import { useOutsideClick } from "~~/hooks/scaffold-eth"; @@ -15,26 +15,29 @@ type HeaderMenuLink = { }; export const menuLinks: HeaderMenuLink[] = [ - { - label: "Home", - href: "/", - }, + // { + // label: "Home", + // href: "/", + // }, { label: "Pools", href: "/pools", + icon: , }, { label: "Router", href: "/router", + icon: , }, { label: "Subgraph", href: "/subgraph", + icon: , }, { label: "Debug Contracts", href: "/debug", - icon: , + icon: , }, ]; @@ -52,7 +55,7 @@ export const HeaderMenuLinks = () => { passHref className={`${ isActive ? "bg-secondary shadow-md" : "" - } hover:bg-secondary hover:shadow-md focus:!bg-secondary active:!text-neutral py-1.5 px-3 text-sm rounded-full gap-2 grid grid-flow-col`} + } hover:bg-secondary hover:shadow-md focus:!bg-secondary active:!text-neutral py-1.5 px-3 text-lg rounded-full gap-2 grid grid-flow-col`} > {icon} {label} @@ -76,7 +79,7 @@ export const Header = () => { ); return ( -
+
- Scaffold-Balancer - Guides & Tools + Scaffold-Balancer