feat: implement newsletter subscription feature with new forms and database structure

- Added new newsletter subscription functionality to the participation page.
- Created a new `NewsletterForm` component to handle user subscriptions.
- Introduced `NewsletterSubscriptions` collection to manage subscriptions in the database.
- Developed migration script to set up necessary database tables and fields for the newsletter feature.
- Refactored participation content to remove deprecated newsletter phase data and integrate new structure.
- Updated the `Participation` page to utilize the new newsletter form and handle different application phases.
This commit is contained in:
syntaxbullet
2026-07-13 13:37:03 +02:00
parent 64049baef0
commit bd2e99ca91
20 changed files with 1033 additions and 566 deletions

View File

@@ -14,7 +14,7 @@ const orderedScripts = [
path: 'src/scripts/migrate-spa-pages.ts',
},
{
label: 'Store header, footer, site settings, and application phase defaults',
label: 'Store header, footer, site settings, application phase, and newsletter form defaults',
path: 'src/scripts/preload-globals-cms.ts',
},
{