import { FC } from 'react'; import { Box, Flex, Link, Stack, Text, useColorMode } from '@chakra-ui/react'; import NextLink from 'next/link'; import { MoonIcon, SunIcon } from '../UI/icons'; import { Search } from './search'; import { HeaderButtons } from './'; import { MobileMenu } from '../layouts'; export const Header: FC = () => { const { colorMode, toggleColorMode } = useColorMode(); const isDark = colorMode === 'dark'; return ( go-ethereum {/* HEADER BUTTONS */} {/* SEARCH */} {/* DARK MODE SWITCH */} {isDark ? : } {/* MOBILE MENU */} ); };