diff --git a/ui/src/components/Header.tsx b/ui/src/components/Header.tsx index 58b70054..569558bb 100644 --- a/ui/src/components/Header.tsx +++ b/ui/src/components/Header.tsx @@ -28,7 +28,11 @@ import wordmark from "@/public/wordmark/wordmark-white.svg"; import { displayDesktopOnly, displayMobileOnly } from "@/styles/responsive"; import { analytics } from "@/utils/analytics"; -export default function Header() { +export default function Header({ + onBrandClick, +}: { + onBrandClick?: () => void; +}) { return ( - + ); } -function Mobile(props: { window?: () => Window }) { - const { window } = props; +function Mobile({ + window, + onBrandClick, +}: { + window?: () => Window; + onBrandClick?: () => void; +}) { const drawerWidth = "100%"; const [menuIsOpen, setMenuOpen] = useState(false); @@ -96,7 +105,7 @@ function Mobile(props: { window?: () => Window }) { > {menuIsOpen ? : } - +