feat: mobile UX, admin polish, rate limiting, and media assets

- Mobile responsiveness improvements across admin and public sections
- Admin: bookings modal, open-day page, team page, layout polish
- Added rate limiting, CSRF hardening, auth-edge improvements
- Scroll reveal, floating contact, back-to-top, Yandex map fixes
- Schedule filters refactor, team profile/info component updates
- New useTrainerPhotos hook
- Added class, team, master-class, and news images
This commit is contained in:
2026-04-10 18:42:54 +03:00
parent bbe485d8fc
commit a587736dd3
74 changed files with 724 additions and 298 deletions
+2 -2
View File
@@ -91,9 +91,9 @@ export default function AdminDashboard() {
useEffect(() => {
adminFetch("/api/admin/unread-counts")
.then((r) => r.json())
.then((r) => { if (!r.ok) throw new Error(); return r.json(); })
.then((data: UnreadCounts) => setCounts(data))
.catch(() => {});
.catch(() => { /* initial load — non-critical */ });
}, []);
return (