copy: rename site branding to Krishna

This commit is contained in:
OpenCode Worker
2026-06-03 12:51:00 -05:00
parent 05440d2d5e
commit b28a542a57
15 changed files with 13 additions and 13 deletions

View File

@@ -32,8 +32,8 @@ const plexMono = IBM_Plex_Mono({
}) })
export const metadata: Metadata = { export const metadata: Metadata = {
title: { template: '%s | blog', default: 'blog' }, title: { template: '%s | Krishna', default: 'Krishna' },
description: 'A sleek static blog with code and math.', description: 'A sleek static journal with code and math.',
} }
export default function RootLayout({ children }: { children: React.ReactNode }) { export default function RootLayout({ children }: { children: React.ReactNode }) {

View File

@@ -1,5 +1,5 @@
import { getPosts } from '@/lib/posts' import { getPosts } from '@/lib/posts'
import { PostList } from '@/components/blog/PostList' import { PostList } from '@/components/posts/PostList'
export default async function HomePage() { export default async function HomePage() {
const posts = await getPosts() const posts = await getPosts()

View File

@@ -1,7 +1,7 @@
import { notFound } from 'next/navigation' import { notFound } from 'next/navigation'
import Link from 'next/link' import Link from 'next/link'
import { getPosts, getPost, tagToSlug } from '@/lib/posts' 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 { ScrollToTop } from '@/components/ui/ScrollToTop'
import { ReadingProgress } from '@/components/ui/ReadingProgress' 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 slug = (await params).slug
const post = await getPost(slug) const post = await getPost(slug)
if (!post) return { title: 'Not Found' } 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 }> }) { export default async function PostPage({ params }: { params: Promise<{ slug: string }> }) {

View File

@@ -1,5 +1,5 @@
import { getPosts } from '@/lib/posts' import { getPosts } from '@/lib/posts'
import { PostSearch } from '@/components/blog/PostSearch' import { PostSearch } from '@/components/posts/PostSearch'
export const metadata = { title: 'Posts' } export const metadata = { title: 'Posts' }

View File

@@ -1,6 +1,6 @@
import type { Metadata } from 'next' import type { Metadata } from 'next'
import { notFound } from 'next/navigation' import { notFound } from 'next/navigation'
import { PostCard } from '@/components/blog/PostCard' import { PostCard } from '@/components/posts/PostCard'
import { getAllTags, getPostsByTag } from '@/lib/posts' import { getAllTags, getPostsByTag } from '@/lib/posts'
type TagPageProps = { type TagPageProps = {

View File

@@ -3,7 +3,7 @@
"configVersion": 0, "configVersion": 0,
"workspaces": { "workspaces": {
"": { "": {
"name": "new-blog", "name": "krishna-a",
"dependencies": { "dependencies": {
"@mdx-js/loader": "^3.1.1", "@mdx-js/loader": "^3.1.1",
"@next/mdx": "^16.2.6", "@next/mdx": "^16.2.6",

View File

@@ -2,7 +2,7 @@ export function Footer() {
return ( return (
<footer className="border-t border-border mt-16 py-8 text-center"> <footer className="border-t border-border mt-16 py-8 text-center">
<p className="font-mono text-sm text-ink-soft"> <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> </p>
</footer> </footer>
) )

View File

@@ -23,7 +23,7 @@ export function Header() {
> >
<div className="max-w-4xl mx-auto px-6 py-4 flex items-center justify-between"> <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"> <Link href="/" className="heading-sm text-ink hover:text-accent transition-colors">
blog Krishna
</Link> </Link>
<div className="flex items-center gap-8"> <div className="flex items-center gap-8">
{navLinks.map((link) => { {navLinks.map((link) => {

View File

@@ -1,7 +1,7 @@
--- ---
title: "Starter MDX Showcase" title: "Starter MDX Showcase"
date: "2026-06-03" 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: tags:
- Design - Design
- Next.js - Next.js
@@ -12,7 +12,7 @@ author: "Starter Content"
coverImage: "/starter-showcase.svg" 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) ![Abstract gradient card used as a local starter cover](/starter-showcase.svg)

View File

@@ -1,5 +1,5 @@
{ {
"name": "new-blog", "name": "krishna-a",
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"type": "module", "type": "module",