added blog post page, reverted back to flex blog landing, added types

This commit is contained in:
2025-02-25 13:22:45 -05:00
parent addb2e55d9
commit c4e11c2e02
11 changed files with 75 additions and 34 deletions

View File

@ -0,0 +1,11 @@
import { Post } from "../types/index.ts";
export const PostBody = function PostBody({ post }: PostBodyOpts) {
return (
<div class="p-6 bg-[#313244] shadow-md text-[#f5e0dc]">{post.body}</div>
);
};
export type PostBodyOpts = {
post: Post;
};