Skip to content

Commit

Permalink
now uses buttons for previous and next section
Browse files Browse the repository at this point in the history
  • Loading branch information
jackf723 committed Aug 13, 2024
1 parent 48a8bcc commit 469eec7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/ContentLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ if (pageIndex < 0) {
<>
<a
class="path-prev"
href={`/${lang}/${platform}/${pageOrder[pageIndex - 1]}/`}
role="button" href={`/${lang}/${platform}/${pageOrder[pageIndex - 1]}/`}
>
<UIString key="footer.previous" />:{" "}
{
Expand All @@ -108,7 +108,7 @@ if (pageIndex < 0) {
pageIndex === pageOrder.length - 1 ? null : (
<a
class="path-next"
href={`/${lang}/${platform}/${pageOrder[pageIndex + 1]}/`}
role="button" href={`/${lang}/${platform}/${pageOrder[pageIndex + 1]}/`}
>
<UIString key="footer.next" />:{" "}
{pagesByPath[`${lang}/${pageOrder[pageIndex + 1]}`].data.title}
Expand Down

0 comments on commit 469eec7

Please sign in to comment.