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