diff --git a/src/components/navbar/Navbar.tsx b/src/components/navbar/Navbar.tsx index 8a14613..c7d1ca8 100644 --- a/src/components/navbar/Navbar.tsx +++ b/src/components/navbar/Navbar.tsx @@ -1,18 +1,13 @@ -import { Box, Container, Divider, Flex, Text } from "@chakra-ui/react"; +import { Box, Divider, Flex, Text } from "@chakra-ui/react"; import Link from "next/link"; import React from "react"; -import BossBanner from "../banner/BossBanner"; -import { useRouter } from "next/router"; const Navbar = () => { - const router = useRouter(); - const isHomeScreen = Object.keys(router.query).length < 1; return ( { isolation="isolate" zIndex={1} > - {isHomeScreen && } { return ( diff --git a/src/layout/layout.module.css b/src/layout/layout.module.css index 01b0da8..155d340 100644 --- a/src/layout/layout.module.css +++ b/src/layout/layout.module.css @@ -6,7 +6,7 @@ .child_container { height: 100%; - /* padding-top: var(--chakra-sizes-12); /* account for navbar height in chakra units */ + padding-top: var(--chakra-sizes-12); /* account for navbar height in chakra units /* flex-grow: 1; margin-top: var(--chakra-sizes-12); account for navbar height in chakra units */ }