diff --git a/app/layout.tsx b/app/layout.tsx index 4b557ac..7002795 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -32,8 +32,8 @@ const plexMono = IBM_Plex_Mono({ }) export const metadata: Metadata = { - title: { template: '%s | blog', default: 'blog' }, - description: 'A sleek static blog with code and math.', + title: { template: '%s | Krishna', default: 'Krishna' }, + description: 'A sleek static journal with code and math.', } export default function RootLayout({ children }: { children: React.ReactNode }) { diff --git a/app/page.tsx b/app/page.tsx index a92b5e3..d90a18d 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,5 +1,5 @@ import { getPosts } from '@/lib/posts' -import { PostList } from '@/components/blog/PostList' +import { PostList } from '@/components/posts/PostList' export default async function HomePage() { const posts = await getPosts() diff --git a/app/posts/[slug]/page.tsx b/app/posts/[slug]/page.tsx index b369273..69549ec 100644 --- a/app/posts/[slug]/page.tsx +++ b/app/posts/[slug]/page.tsx @@ -1,7 +1,7 @@ import { notFound } from 'next/navigation' import Link from 'next/link' import { getPosts, getPost, tagToSlug } from '@/lib/posts' -import { TableOfContents } from '@/components/blog/TableOfContents' +import { TableOfContents } from '@/components/posts/TableOfContents' import { ScrollToTop } from '@/components/ui/ScrollToTop' import { ReadingProgress } from '@/components/ui/ReadingProgress' @@ -17,7 +17,7 @@ export async function generateMetadata({ params }: { params: Promise<{ slug: str const slug = (await params).slug const post = await getPost(slug) if (!post) return { title: 'Not Found' } - return { title: `${post.title} | blog` } + return { title: post.title } } export default async function PostPage({ params }: { params: Promise<{ slug: string }> }) { diff --git a/app/posts/page.tsx b/app/posts/page.tsx index 96728b5..fffc707 100644 --- a/app/posts/page.tsx +++ b/app/posts/page.tsx @@ -1,5 +1,5 @@ import { getPosts } from '@/lib/posts' -import { PostSearch } from '@/components/blog/PostSearch' +import { PostSearch } from '@/components/posts/PostSearch' export const metadata = { title: 'Posts' } diff --git a/app/tags/[tag]/page.tsx b/app/tags/[tag]/page.tsx index df934fb..d10475b 100644 --- a/app/tags/[tag]/page.tsx +++ b/app/tags/[tag]/page.tsx @@ -1,6 +1,6 @@ import type { Metadata } from 'next' import { notFound } from 'next/navigation' -import { PostCard } from '@/components/blog/PostCard' +import { PostCard } from '@/components/posts/PostCard' import { getAllTags, getPostsByTag } from '@/lib/posts' type TagPageProps = { diff --git a/bun.lock b/bun.lock index 8d95025..146ba8a 100644 --- a/bun.lock +++ b/bun.lock @@ -3,7 +3,7 @@ "configVersion": 0, "workspaces": { "": { - "name": "new-blog", + "name": "krishna-a", "dependencies": { "@mdx-js/loader": "^3.1.1", "@next/mdx": "^16.2.6", diff --git a/components/layout/Footer.tsx b/components/layout/Footer.tsx index 47770f7..085575d 100644 --- a/components/layout/Footer.tsx +++ b/components/layout/Footer.tsx @@ -2,7 +2,7 @@ export function Footer() { return ( ) diff --git a/components/layout/Header.tsx b/components/layout/Header.tsx index e444917..3abb509 100644 --- a/components/layout/Header.tsx +++ b/components/layout/Header.tsx @@ -23,7 +23,7 @@ export function Header() { >