--- import { site } from '@shared/lib/site' interface Props { href?: string class?: string /** wraps the logo in */ header?: boolean smallLogo?: boolean hideLogo?: boolean showTitle?: boolean /** neutral gray mark + text instead of the live brand color (e.g. screenshot watermarks) */ gray?: boolean } const { href = '.', class: className, header = false, smallLogo = false, hideLogo = false, showTitle = false, gray = false } = Astro.props const brandClasses = ['navbar-brand navbar-brand-autodark', gray && 'navbar-brand-gray', className] const logoClass = `navbar-brand-image${showTitle ? ' me-3' : ''}` const logoMark = '' const logoText = '' const logoSvg = smallLogo ? `${logoMark}` : `${logoMark}${logoText}` --- { header ? ( '} />
{!hideLogo && } {showTitle && 'Dashboard'}
'} /> ) : ( '} /> {!hideLogo && } {showTitle && 'Dashboard'} '} /> ) }