Skip to content

Commit

Permalink
refactor: move <Layout> to subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
rgildiaz committed May 31, 2024
1 parent 868172c commit fa5098f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pages/blog/[id].js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Layout from "../../components/layout";
import Layout from "../../components/layout/layout";
import { getAllPostIds, getPostData } from "../../lib/posts";
import Head from "next/head";
import Date from "../../components/date";
Expand Down
4 changes: 2 additions & 2 deletions pages/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Head from "next/head";
import Layout, { siteTitle } from "../components/layout";
import Layout, { siteTitle } from "../components/layout/layout";
import BlogPostList from "../components/blogPostList";
import utilStyles from "../styles/utils.module.css";
import homeStyles from "../styles/Home.module.css";
Expand All @@ -18,7 +18,7 @@ export async function getStaticProps() {

export default function Home({ allPostsData }) {
return (
<Layout home>
<Layout>
<Head>
<title>{siteTitle}</title>
</Head>
Expand Down
2 changes: 1 addition & 1 deletion pages/projects/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Layout from "../../components/layout";
import Layout from "../../components/layout/layout";

export default function Projects() {
return (
Expand Down

0 comments on commit fa5098f

Please sign in to comment.