fetch real api

This commit is contained in:
rahat0078
2026-04-06 01:05:05 +06:00
parent d856617c51
commit a8b73d81ec
7 changed files with 40 additions and 29 deletions
+4 -1
View File
@@ -56,6 +56,9 @@ export const authors: Record<string, Author> = {
},
};
export const blogPosts: BlogPost[] = [
{
id: 1,
@@ -550,4 +553,4 @@ export const getRelatedPosts = (currentPost: BlogPost, limit: number = 3): BlogP
return blogPosts
.filter(post => post.id !== currentPost.id && post.category === currentPost.category)
.slice(0, limit);
};
};