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:
@@ -48,7 +48,9 @@
|
||||
|
||||
footer { background: #1f2937; color: #9ca3af; padding: 24px; text-align: center; font-size: 13px; }
|
||||
footer a { color: #d1d5db; text-decoration: none; }
|
||||
[x-cloak] { display: none !important; }
|
||||
</style>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -116,5 +118,9 @@
|
||||
© {{ date('Y') }} {{ $name }} · powered by AutoCRM
|
||||
</footer>
|
||||
|
||||
@php
|
||||
$tenant = app(\App\Tenancy\TenantManager::class)->current();
|
||||
@endphp
|
||||
@include('partials.cookie-banner')
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user