分页适配example主题

This commit is contained in:
tangly
2022-11-13 11:01:02 +08:00
parent c6b0926ff7
commit 4e9ddde728
8 changed files with 78 additions and 126 deletions

View File

@@ -5,7 +5,6 @@ export const LayoutCategoryIndex = (props) => {
const { categories } = props
return <LayoutBase {...props}>
<div >
<div id='category-list' className='duration-200 flex flex-wrap'>
{categories && categories.map(category => {
return <Link key={category.name} href={`/category/${category.name}`} passHref>
@@ -16,6 +15,5 @@ export const LayoutCategoryIndex = (props) => {
</Link>
})}
</div>
</div>
</LayoutBase>
}