diff --git a/src/components/layout.js b/src/components/layout.js index 9d5ce00..41fd635 100644 --- a/src/components/layout.js +++ b/src/components/layout.js @@ -1,35 +1,54 @@ import * as React from "react" -import { Link } from "gatsby" +import { Link as GatsbyLink } from "gatsby" +import { AppBar, Button, Container, Link, Toolbar } from "@mui/material" const Layout = ({ location, title, children }) => { - const rootPath = `${__PATH_PREFIX__}/` - const isRootPath = location.pathname === rootPath - let header + // const rootPath = `${__PATH_PREFIX__}/` + // const isRootPath = location.pathname === rootPath + // let header - if (isRootPath) { - header = ( -

- {title} -

- ) - } else { - header = ( - - {title} - - ) - } + // if (isRootPath) { + // header = ( + //

+ // {title} + //

+ // ) + // } else { + // header = ( + // + // {title} + // + // ) + // } return ( -
-
{header}
-
{children}
- -
+ <> + + + + {title} + + + + +
{children}
+ +
+ ) }