diff --git a/gatsby-browser.js b/gatsby-browser.js index 0075aef..e13f525 100644 --- a/gatsby-browser.js +++ b/gatsby-browser.js @@ -1,2 +1,3 @@ import "@fontsource/karmilla/400.css" -import "@fontsource/karmilla/700.css" \ No newline at end of file +import "@fontsource/karmilla/700.css" +import "@fontsource/darker-grotesque/600.css" \ No newline at end of file diff --git a/package.json b/package.json index 1cff58e..6ed2d68 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "dependencies": { "@emotion/react": "^11.10.5", "@emotion/styled": "^11.10.5", + "@fontsource/darker-grotesque": "^4.5.9", "@fontsource/karmilla": "^4.5.3", "@mui/icons-material": "^5.11.0", "@mui/material": "^5.11.3", diff --git a/src/components/layout.js b/src/components/layout.js index 799f874..3d54e58 100644 --- a/src/components/layout.js +++ b/src/components/layout.js @@ -46,9 +46,9 @@ const Layout = ({ location, title, children }) => { - + - +
{children}
diff --git a/src/components/nav-menu.js b/src/components/nav-menu.js index 7ca197a..305c580 100644 --- a/src/components/nav-menu.js +++ b/src/components/nav-menu.js @@ -1,31 +1,36 @@ -import { List, ListItem, ListItemButton, ListItemText } from "@mui/material" +import { Box, Link, Stack } from "@mui/material" import { Link as GatsbyLink } from "gatsby" import React from "react" const navMenuItems = [ - {label: "Home", path: "/"}, - {label: "About", path: "/about"}, - {label: "Services", path: "/services"}, - {label: "Our work", path: "/work"}, - {label: "Handbook", path: "/handbook"}, - {label: "Blog", path: "/blog"}, + { label: "Home", path: "/" }, + { label: "About", path: "/about" }, + { label: "Services", path: "/services" }, + { label: "Our work", path: "/work" }, + { label: "Handbook", path: "/handbook" }, + { label: "Blog", path: "/blog" }, ] -const NavMenu = () => { +const NavMenu = ({ location }) => { return ( - - + + ) } -export default NavMenu \ No newline at end of file +export default NavMenu diff --git a/src/pages/index.js b/src/pages/index.js index 0e4919b..943dc84 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -140,7 +140,7 @@ export default BlogIndex * * See: https://www.gatsbyjs.com/docs/reference/built-in-components/gatsby-head/ */ -export const Head = () => +export const Head = () => export const pageQuery = graphql` { diff --git a/yarn.lock b/yarn.lock index 31a4da1..270425c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1183,6 +1183,11 @@ minimatch "^3.0.4" strip-json-comments "^3.1.1" +"@fontsource/darker-grotesque@^4.5.9": + version "4.5.9" + resolved "https://registry.yarnpkg.com/@fontsource/darker-grotesque/-/darker-grotesque-4.5.9.tgz#864cae244d5456537ea1b59bd22a67411139ea24" + integrity sha512-B6XeGf0toFs67eQKyTB12zy+aktfnHDE1UT6nTEDYYl0L/wLhbH/Qh1qHSUUhWHF8kxfq+NycLBTGtmRD8s8Hw== + "@fontsource/karmilla@^4.5.3": version "4.5.3" resolved "https://registry.yarnpkg.com/@fontsource/karmilla/-/karmilla-4.5.3.tgz#80267f8ccc76e841308e52273b2d5007bfc50377"