import { FC, ReactNode } from 'react' import { Logo } from './logo' import { Link } from '../link' import { companyName } from '@app/configs' interface NavBarTitleProps { title?: string | string[] children?: ReactNode | string flex?: boolean marketing?: boolean ismobile?: boolean notitle?: boolean href?: string } const NavBarTitle: FC = ({ title, children, flex, marketing, ismobile, notitle, ...props }) => { if (notitle) { return null } if (marketing) { return (
) } return ( {children || title} ) } export { NavBarTitle }