#112 現在ページの表示を太く
This commit is contained in:
@@ -68,7 +68,7 @@ export default (({ page, totalPages, siblingCount = 4 }) => {
|
|||||||
(p === '…')
|
(p === '…')
|
||||||
? <span key={`dots-${ idx }`}>…</span>
|
? <span key={`dots-${ idx }`}>…</span>
|
||||||
: ((p === page)
|
: ((p === page)
|
||||||
? <span key={p} aria-current="page">{p}</span>
|
? <span key={p} className="font-bold" aria-current="page">{p}</span>
|
||||||
: <Link key={p} to={buildTo (p)}>{p}</Link>)))}
|
: <Link key={p} to={buildTo (p)}>{p}</Link>)))}
|
||||||
|
|
||||||
{(page < totalPages)
|
{(page < totalPages)
|
||||||
|
|||||||
Reference in New Issue
Block a user