diff --git a/components/layout.tsx b/components/layout.tsx index fce7797d..8e084c97 100644 --- a/components/layout.tsx +++ b/components/layout.tsx @@ -5,7 +5,7 @@ import Footer from "./footer"; export const Layout: React.FC<{ children: ReactNode }> = (props) => { return ( -
+
= (props) => { className="absolute left-0 right-0 top-0 h-[100vh] w-[100vw] object-contain object-left-top" /> -
+
{props.children} diff --git a/components/nav/navbar.tsx b/components/nav/navbar.tsx index ac34622b..b81de2a9 100644 --- a/components/nav/navbar.tsx +++ b/components/nav/navbar.tsx @@ -7,9 +7,13 @@ import Link from "next/link"; import { useState } from "react"; import { MobileNavDialog } from "./mobileNavDialog"; import { NavLink, type INavLink } from "./navLink"; +import { useChainId } from "wagmi"; export const Navbar: React.FC = () => { const [open, setOpen] = useState(false); + const chainId = useChainId(); + + console.log("chain id", chainId); const navLinks: INavLink[] = [ // { path: "/", id: "dashboard", name: "Dashboard", icon: IconType.APP_DASHBOARD }, @@ -23,21 +27,24 @@ export const Navbar: React.FC = () => { return ( <> -