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() { >
- blog + Krishna
{navLinks.map((link) => { diff --git a/components/blog/PostCard.tsx b/components/posts/PostCard.tsx similarity index 100% rename from components/blog/PostCard.tsx rename to components/posts/PostCard.tsx diff --git a/components/blog/PostList.tsx b/components/posts/PostList.tsx similarity index 100% rename from components/blog/PostList.tsx rename to components/posts/PostList.tsx diff --git a/components/blog/PostSearch.tsx b/components/posts/PostSearch.tsx similarity index 100% rename from components/blog/PostSearch.tsx rename to components/posts/PostSearch.tsx diff --git a/components/blog/TableOfContents.tsx b/components/posts/TableOfContents.tsx similarity index 100% rename from components/blog/TableOfContents.tsx rename to components/posts/TableOfContents.tsx diff --git a/components/blog/button-client.tsx b/components/posts/button-client.tsx similarity index 100% rename from components/blog/button-client.tsx rename to components/posts/button-client.tsx diff --git a/content/posts/starter-mdx-showcase.mdx b/content/posts/starter-mdx-showcase.mdx index 4d2a360..99d8262 100644 --- a/content/posts/starter-mdx-showcase.mdx +++ b/content/posts/starter-mdx-showcase.mdx @@ -1,7 +1,7 @@ --- title: "Starter MDX Showcase" date: "2026-06-03" -excerpt: "Sample starter content demonstrating math, local images, links, tables, tasks, and code blocks for validating blog routes." +excerpt: "Sample starter content demonstrating math, local images, links, tables, tasks, and code blocks for validating site routes." tags: - Design - Next.js @@ -12,7 +12,7 @@ author: "Starter Content" coverImage: "/starter-showcase.svg" --- -This is deliberately sample content for a fresh blog. Replace it with your own writing once the routes, tags, and search experience are validated. +This is deliberately sample content for Krishna's journal. Replace it with your own writing once the routes, tags, and search experience are validated. ![Abstract gradient card used as a local starter cover](/starter-showcase.svg) diff --git a/package.json b/package.json index eabeda9..3c7c084 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "new-blog", + "name": "krishna-a", "version": "0.1.0", "private": true, "type": "module",