Skip to content

Commit c019894

Browse files
Change naming Head to Meta
1 parent 2a94300 commit c019894

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

components/Layout.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import Nav from "./Nav";
2-
import Head from "./Head";
2+
import Meta from "./Meta";
33
import styles from "../styles/Layout.module.scss";
44
import Footer from "./Footer";
55

66
export default function Layout({ children }) {
77
return (
88
<>
9-
<Head />
9+
<Meta />
1010
<Nav />
1111
<div className={styles.container}>
1212
<main className={styles.main}>{children}</main>

components/Head.js renamed to components/Meta.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Head from "next/head";
2-
import { title, keywords, description } from "../utils/head";
2+
import { title, keywords, description } from "../utils/meta";
33

4-
export default function Head() {
4+
export default function Meta() {
55
return (
66
<Head>
77
<meta name="viewport" content="width=device-width, initial-scale=1" />

utils/head.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const headInformation = {
1+
export const meta = {
22
title: "Web Dev Path",
33
keywords: "web development, mentoring, volunteering, Next.js",
44
description:

0 commit comments

Comments
 (0)