feat: cookie policy & consent banner per Moldova law 195/2024
- Settings page: new "Politica Cookie" section — toggle banner on/off, editable RO/RU policy text (defaults to full 14-section template) - Public route GET /cookie-policy → CookiePolicyController returns locale-aware full policy page with tenant branding - Cookie banner partial (Alpine.js, localStorage) shown on tracking and landing pages; Accept/Reject stores consent, banner dismisses - Translation keys added to lang/ro/portal.php and lang/ru/portal.php - Alpine.js (CDN) added to tracking and landing pages Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -153,4 +153,14 @@ return [
|
||||
'reset_title' => 'Задать новый пароль',
|
||||
'reset_button' => 'Установить пароль',
|
||||
],
|
||||
|
||||
'cookie' => [
|
||||
'policy_title' => 'Политика использования cookie-файлов',
|
||||
'back' => 'Назад',
|
||||
'banner_title' => 'Мы используем cookie',
|
||||
'banner_body' => 'Мы используем cookie-файлы для работы сайта и улучшения вашего опыта. Строго необходимые cookie используются без согласия (Закон № 195/2024).',
|
||||
'read_policy' => 'Политика cookie',
|
||||
'accept' => 'Принять все',
|
||||
'reject' => 'Только необходимые',
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user