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

17
frontend/types/index.ts Normal file
View File

@ -0,0 +1,17 @@
export type Post = {
post_id: number;
author_id: number;
first_name: string;
last_name: string;
title: string;
body: string;
created_at: string;
};
export type Author = {
author_id: number;
first_name: string;
last_name: string;
bio: string;
image?: string;
};