Новые правки в компоенты
This commit is contained in:
parent
e85d1ce668
commit
6f727aae7b
23 changed files with 1483 additions and 37 deletions
|
|
@ -11,6 +11,7 @@ interface Post {
|
|||
categoryColor: string;
|
||||
date: string;
|
||||
readTime: string;
|
||||
readmeTime?: string;
|
||||
image: string;
|
||||
}
|
||||
|
||||
|
|
@ -48,6 +49,7 @@ const filteredPosts = currentSlug
|
|||
categoryColor={post.categoryColor}
|
||||
date={formatDate(post.date)}
|
||||
readTime={post.readTime}
|
||||
readmeTime={post.readmeTime}
|
||||
image={getPostImageUrl(post)}
|
||||
slug={`/blog/${post.slug}`}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue