mirror of
https://github.com/sergeyyarkov/devthread.ru.git
synced 2026-10-11 02:09:04 +03:00
key
This commit is contained in:
parent
d6e8559122
commit
cb0d8f9072
@ -10,7 +10,7 @@ const Categories = () => {
|
||||
<div className="tag-item">
|
||||
<Link to='/articles'>Все</Link>
|
||||
</div>
|
||||
{edges.map(({ node }) => <div className="tag-item">
|
||||
{edges.map(({ node }, i) => <div key={i} className="tag-item">
|
||||
<Link to={`/category/${slugify(node.frontmatter.title)}`}>{node.frontmatter.title}</Link>
|
||||
</div>)}
|
||||
</div>
|
||||
|
||||
@ -22,7 +22,7 @@ const CategoryPage = ({ data: { allMarkdownRemark: edges } }) => {
|
||||
<Categories />
|
||||
<div className="articles-search">
|
||||
<input placeholder="Напишите сюда чтобы отфильтровать статьи" type="text" />
|
||||
<span>278</span>
|
||||
<span>{edges.edges.length}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user