import * as React from "react" import { Link as GatsbyLink } from "gatsby" import { AppBar, Container, Grid, Link, Toolbar } from "@mui/material" import NavMenu from "./nav-menu" const Layout = ({ location, title, children }) => { // const rootPath = `${__PATH_PREFIX__}/` // const isRootPath = location.pathname === rootPath // let header // if (isRootPath) { // header = ( //