mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
Update pagination container with semantic nav element
This commit is contained in:
@@ -34,7 +34,7 @@ const next = pageNum < totalPages ? "" : "disabled";
|
|||||||
</ul>
|
</ul>
|
||||||
</Main>
|
</Main>
|
||||||
|
|
||||||
<div class="pagination-wrapper">
|
<nav class="pagination-wrapper" aria-label="Pagination Navigation">
|
||||||
<LinkButton
|
<LinkButton
|
||||||
href={`/posts/${pageNum - 1}`}
|
href={`/posts/${pageNum - 1}`}
|
||||||
className={`mr-4 select-none ${prev}`}
|
className={`mr-4 select-none ${prev}`}
|
||||||
@@ -57,7 +57,7 @@ const next = pageNum < totalPages ? "" : "disabled";
|
|||||||
></path>
|
></path>
|
||||||
</svg>
|
</svg>
|
||||||
</LinkButton>
|
</LinkButton>
|
||||||
</div>
|
</nav>
|
||||||
<Footer noMarginTop />
|
<Footer noMarginTop />
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user