import { FC } from 'react' import cn from 'clsx' import Link from 'next/link' import s from './Navbar.module.css' import NavbarRoot from './NavbarRoot' import { Logo, Container } from '@components/ui' import { Searchbar, UserNav } from '@components/common' import { Navigation } from '@commerce/types/site' import CustomNavbar from './CustomNavbar' interface Link { href: string label: string } interface NavbarProps { links?: Link[] customNavigation?: Navigation[] } const Navbar: FC = ({ links, customNavigation }) => (
{process.env.COMMERCE_SEARCH_ENABLED && (
)}
{process.env.COMMERCE_SEARCH_ENABLED && (
)}
) export default Navbar