props.toggleTray(!props.isOpen)}
className={`bg-washedWhite w-screen h-screen ${overlayClasses}`}
/>
{props.children}
);
}
// This is the header for the index page
export default function Header(props) {
const [isOpen, toggleTray] = useState(false);
const mobileSearchButtonClasses = classnames({
visible: isOpen,
invisible: !isOpen,
});
return (
Urbit
{
// Large screen header
}
{
// Small screen header
}
Urbit
Docs
Blog
Events
);
}