mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
Fixed
This commit is contained in:
parent
39c058be6f
commit
e07b2dc550
1 changed files with 2 additions and 5 deletions
|
|
@ -27,7 +27,7 @@ const currentList = pageList[currentListIndex] ?? []
|
|||
<FooterNavItem href='/last-added/1' aria-label='First'>
|
||||
<span aria-hidden='true'>«</span>
|
||||
</FooterNavItem>
|
||||
<FooterNavItem href={`/last-added/${currentList[0] - 1}`} aria-label={(currentList[0] - 1).toString()}>
|
||||
<FooterNavItem href={`/last-added/${page - 1}`} aria-label={(page - 1).toString()}>
|
||||
<span aria-hidden='true'><</span>
|
||||
</FooterNavItem>
|
||||
</>
|
||||
|
|
@ -46,10 +46,7 @@ const currentList = pageList[currentListIndex] ?? []
|
|||
{
|
||||
currentListIndex !== pageList.length - 1 ? (
|
||||
<>
|
||||
<FooterNavItem
|
||||
href={`/last-added/${currentList[currentList.length - 1] + 1}`}
|
||||
aria-label={(currentList[currentList.length - 1] + 1).toString()}
|
||||
>
|
||||
<FooterNavItem href={`/last-added/${page + 1}`} aria-label={(page + 1).toString()}>
|
||||
<span aria-hidden='true'>></span>
|
||||
</FooterNavItem>
|
||||
<FooterNavItem href={`/last-added/${fullPageList[fullPageList.length - 1]}`} aria-label='Last'>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue