copy: rename site branding to Krishna
This commit is contained in:
@@ -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 }) {
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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 }> }) {
|
||||
|
||||
@@ -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' }
|
||||
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
2
bun.lock
2
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",
|
||||
|
||||
@@ -2,7 +2,7 @@ export function Footer() {
|
||||
return (
|
||||
<footer className="border-t border-border mt-16 py-8 text-center">
|
||||
<p className="font-mono text-sm text-ink-soft">
|
||||
© {new Date().getFullYear()} blog. All rights reserved.
|
||||
© {new Date().getFullYear()} Krishna A. All rights reserved.
|
||||
</p>
|
||||
</footer>
|
||||
)
|
||||
|
||||
@@ -23,7 +23,7 @@ export function Header() {
|
||||
>
|
||||
<div className="max-w-4xl mx-auto px-6 py-4 flex items-center justify-between">
|
||||
<Link href="/" className="heading-sm text-ink hover:text-accent transition-colors">
|
||||
blog
|
||||
Krishna
|
||||
</Link>
|
||||
<div className="flex items-center gap-8">
|
||||
{navLinks.map((link) => {
|
||||
|
||||
@@ -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.
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "new-blog",
|
||||
"name": "krishna-a",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
|
||||
Reference in New Issue
Block a user