diff --git a/app/blog/[slug]/page.tsx b/app/[slug]/page.tsx similarity index 96% rename from app/blog/[slug]/page.tsx rename to app/[slug]/page.tsx index 32deeb6..4d8a31b 100644 --- a/app/blog/[slug]/page.tsx +++ b/app/[slug]/page.tsx @@ -1,6 +1,6 @@ -import { getPostBySlug } from "../../../lib/api"; -import markdownToHtml from "../../../lib/markdownToHTML"; +import { getPostBySlug } from "../../lib/api"; +import markdownToHtml from "../../lib/markdownToHTML"; import styles from "./styles.module.css"; import Image from "next-image-export-optimizer"; import Link from "next/link"; diff --git a/app/blog/[slug]/styles.module.css b/app/[slug]/styles.module.css similarity index 100% rename from app/blog/[slug]/styles.module.css rename to app/[slug]/styles.module.css diff --git a/components/postPreview.tsx b/components/postPreview.tsx index e294b11..5612e79 100644 --- a/components/postPreview.tsx +++ b/components/postPreview.tsx @@ -15,7 +15,7 @@ export default function PostPreview({ post }: { post: Items }) { return (
- {post.title} + {post.title}
{post.date}