import { Fragment } from 'react' import { strings } from '@app-strings' import { NavBarTitle, MarketingNavMenu } from '../navigation' import { SearchBar } from '../searchbar' import { NavBar } from '../navigation/navbar' import { Footer } from '../footer' import { MarketingAlternatives } from '@app/components/stateless/marketing/alternative' // main marketing pages drawer export function MarketingDrawer({ children, initClosed, renderCtaSearch, title, navPosition, footerSpacing, emptyFooter, emptyNav, authenticated, loading, }: any) { return ( {emptyNav ? null : ( } >
{renderCtaSearch ? (
) : null}
)}
{initClosed ? ( children ) : (
{children}
)}
{initClosed || emptyFooter ? null : ( <>