Skip to content

Commit 71f37e7

Browse files
committed
Use site variables instead of escaping. #152
1 parent bc1f521 commit 71f37e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

next/components/navbar.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { navItems, site } from "../lib/meta";
22
import Link from "next/link";
33
import { useRouter } from "next/router";
4-
import { Box, Button, Container, Heading, HStack } from "@chakra-ui/react";
4+
import { Box, Button, Heading, HStack } from "@chakra-ui/react";
55
import ContentContainer from "./content-container";
66

77
const NavLink = ({ href, name }) => {
@@ -36,7 +36,7 @@ const Navbar = () => (
3636
<HStack>
3737
<Link href="/">
3838
<a>
39-
<Heading as="h1">Ben's Realm</Heading>
39+
<Heading as="h1">{site.title}</Heading>
4040
</a>
4141
</Link>
4242
<Box flexGrow={1}></Box>

0 commit comments

Comments
 (0)