I am in the process of trying to incorporate my logo into the top header section of the page, but I am facing some challenges with the code provided.
import React from "react";
import classNames from "classnames";
import PropTypes from "prop-types";
import withStyles from "@material-ui/core/styles/withStyles";
import AppBar from "@material-ui/core/AppBar";
...
When I include the Header component, it looks like this:
<Header
color="transparent"
routes={dashboardRoutes}
brand="my page"
rightLinks={<HeaderLinks />}
fixed
changeColorOnScroll={{
height: 400,
color: "white"
}}
{...rest}
/>
Attempting to add an image as a logo within the header caused issues with sizing and proportions. Do you have any suggestions on how to integrate a logo seamlessly without affecting the dimensions of the header?