feat(pagination): add numbered page-jump buttons to document search
Adds an ellipsis-style numbered page button row (1 … 4 5 6 … 12) to Pagination.svelte. Buttons are hidden on mobile (sm: breakpoint) and fall back to the existing prev/next layout. Active page uses brand-navy background. Client-side clamping via makeHref(entry - 1) satisfies AC3. i18n key pagination_page_button added for de/en/es. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -818,6 +818,7 @@
|
||||
"pagination_next": "Next",
|
||||
"pagination_page_of": "Page {page} of {total}",
|
||||
"pagination_nav_label": "Pagination",
|
||||
"pagination_page_button": "Page {page}",
|
||||
|
||||
"common_opens_new_tab": "(opens in new tab)",
|
||||
|
||||
|
||||
Reference in New Issue
Block a user