add CssBaseline

This commit is contained in:
desmukh 2023-01-05 16:10:57 +05:00
parent 203b3b755e
commit ab2cd5c5c4

View File

@ -1,6 +1,6 @@
import * as React from "react" import * as React from "react"
import { Link as GatsbyLink } from "gatsby" import { Link as GatsbyLink } from "gatsby"
import { AppBar, Container, Grid, Link, Toolbar } from "@mui/material" import { AppBar, Container, CssBaseline, Grid, Link, Toolbar } from "@mui/material"
import NavMenu from "./nav-menu" import NavMenu from "./nav-menu"
const Layout = ({ location, title, children }) => { const Layout = ({ location, title, children }) => {
@ -24,6 +24,7 @@ const Layout = ({ location, title, children }) => {
return ( return (
<> <>
<CssBaseline />
<AppBar <AppBar
component="header" component="header"
color="transparent" color="transparent"