implement tanstack and fetch all data

This commit is contained in:
rahat0078
2026-04-04 22:49:48 +06:00
parent d71b4ab17e
commit d96ab17169
26 changed files with 394 additions and 107 deletions
+2
View File
@@ -540,6 +540,8 @@ LLMs are powerful tools, but they require thoughtful implementation. Start with
},
];
export const getPostBySlug = (slug: string): BlogPost | undefined => {
return blogPosts.find(post => post.slug === slug);
};