feat: info pages — tab replacement, custom pages on /info, responsive fixes

- Add replaces_tab field to admin editor with conflict detection
- Show custom InfoPages as extra tabs on /info page
- Replace built-in tab content when replacement is configured
- Rich DOMPurify sanitizer for TipTap content (images, video, iframe)
- Fix query race: built-in queries wait for tab-replacements to load
- Horizontal scroll for tabs on mobile, 44px touch targets
- Responsive prose: scrollable tables, h-auto on img/video, light theme borders
- Loyalty tier names truncation, progress bar labels stack on mobile
This commit is contained in:
Fringg
2026-04-24 15:01:11 +03:00
parent c16593aeee
commit 656946952a
9 changed files with 481 additions and 29 deletions

View File

@@ -4369,8 +4369,18 @@
"isActive": "Активна",
"sortOrder": "Порядок сортировки",
"icon": "Иконка (эмодзи)",
"pageType": "Тип страницы"
"pageType": "Тип страницы",
"replacesTab": "Заменяет таб"
},
"replacesTabNone": "Не заменяет",
"replacesTabOptions": {
"faq": "FAQ",
"rules": "Правила",
"privacy": "Конфиденциальность",
"offer": "Оферта"
},
"replacesTabConflict": "уже занят",
"replacesTabWarning": "Другая страница уже заменяет этот таб. При сохранении она будет снята.",
"filter": {
"all": "Все",
"page": "Страницы",