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

@@ -0,0 +1,38 @@
"use client";
import { m, useReducedMotion } from "motion/react";
import { PostCard } from "./PostCard";
import type { PostMeta } from "@/lib/posts";
const listVariants = {
hidden: {},
visible: {
transition: {
staggerChildren: 0.07,
delayChildren: 0.15,
},
},
};
interface PostListProps {
posts: PostMeta[];
}
export function PostList({ posts }: PostListProps) {
const shouldReduceMotion = useReducedMotion();
return (
<m.ul
variants={shouldReduceMotion ? undefined : listVariants}
initial={shouldReduceMotion ? false : "hidden"}
animate="visible"
className="space-y-6"
>
{posts.map((post, index) => (
<li key={post.slug}>
<PostCard {...post} index={index} />
</li>
))}
</m.ul>
);
}