Add a Proxify-style category filter and real client-side pagination to the Events & Projects listing across all three languages (EN/SI/MK). - Filter: a pill nav (All / Events / Student Life / Projects / Webinars) plus a contextual sub-chip row for Events (Sports / Cultural / Entertainment / Educational). Buttons carry stable data-filter / data-subfilter keys and cards carry data-category / data-subcategory, so a single language-agnostic handler drives all three locales. - Pagination: replaces the hardcoded dead 1..10 links with real client-side paging (9 per page). Shows a single page today and grows automatically as content is added, with windowed page numbers, enabled/disabled Prev/Next, and smooth scroll-to-top. Integrates with the filter (resets to page 1, repaginates, hides when no matches). - Show a localized empty-state message when a filter has no results. - Nudge the filter block up and add space below it for even spacing. - Drop the duplicate News pill (News has its own top-nav section) and retag the placeholder card from announcements to projects so it stays reachable. Verified with jsdom across EN/SI/MK: filtering, sub-filtering, empty state, single/multi-page navigation, and filter/pagination interaction. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .gitea/workflows | ||
| css | ||
| en | ||
| images | ||
| mk | ||
| si | ||
| templates | ||
| .gitignore | ||
| .htaccess | ||
| README.md | ||
| apple-touch-icon.png | ||
| code_export.txt | ||
| export_code.sh | ||
| favicon-96x96.png | ||
| favicon.ico | ||
| favicon.svg | ||
| l.php | ||
| main.js | ||
| optimize_images.py | ||
| site.webmanifest | ||
| style.css | ||
| update_html.py | ||
| web-app-manifest-192x192.png | ||
| web-app-manifest-512x512.png | ||
README.md
msos spletna stran