Update pagination container with semantic nav element

This commit is contained in:
Sat Naing
2022-09-20 23:46:06 +06:30
parent 6bc75bac9a
commit 7d6b39abc0
+2 -2
View File
@@ -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>