Vorher: nur "Zurück / Weiter". Jetzt: [«] [‹] [1] [2] [3] [4] [5*] [6] [7] [8] [9] [10] [›] [»] 10 Seitenzahlen-Buttons, current centered (clamped an Anfang/Ende). Zusätzlich Doppelpfeile für erste/letzte Seite. Kompakt + verständlich auch bei 50+ Seiten. Helper paginationWindow() rechnet das Fenster aus, sodass bei totalPages <= 10 alle gezeigt werden, sonst current ungefähr mittig mit Clamp an die Ränder. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||