feat: refactor BlogCard, ProjectCard, and ProjectModal components to use new type definitions and improve structure

This commit is contained in:
2025-05-26 18:09:09 +02:00
parent 8e2030b0ab
commit e8a3611dfb
8 changed files with 214 additions and 182 deletions
+15
View File
@@ -0,0 +1,15 @@
export interface BlogPostProps {
id: string;
slug: string;
title: string;
excerpt: string;
image: string;
category: string;
date: string;
author: string;
commentCount: number;
readTime: string;
featured?: boolean;
tags: string[];
content: string;
}