feat: centralize popup texts in new admin tab /admin/popups
- New admin page for shared popup texts (success, waiting list, error, Instagram hint) - Removed popup fields from MC and Open Day admin editors - All SignupModals now read from centralized popups config - Stored as "popups" section in DB with fallback defaults
This commit is contained in:
@@ -312,6 +312,12 @@ export const siteContent: SiteContent = {
|
||||
title: "Мастер-классы",
|
||||
items: [],
|
||||
},
|
||||
popups: {
|
||||
successMessage: "Вы записаны!",
|
||||
waitingListText: "Все места заняты, но мы добавили вас в лист ожидания.\nЕсли кто-то откажется — мы предложим место вам.",
|
||||
errorMessage: "Не удалось отправить заявку. Свяжитесь с нами через Instagram — мы запишем вас!",
|
||||
instagramHint: "По вопросам пишите в Instagram",
|
||||
},
|
||||
schedule: {
|
||||
title: "Расписание",
|
||||
locations: [
|
||||
|
||||
Reference in New Issue
Block a user