@php $isRtl = in_array(app()->getLocale(), ['ar', 'he', 'fa', 'ur']); $generalSettings = \App\Models\Central\GeneralSetting::instance(); $appName = $generalSettings->app_name ?: 'Stocky'; $logoUrl = $generalSettings->getLogoUrl(); @endphp {{ __('landing.privacy_policy') }} — {{ $appName }} @php $faviconUrl = ($seo && $seo->favicon) ? asset($seo->favicon) : $generalSettings->getFaviconUrl(); @endphp @if($faviconUrl) @endif

{{ $appName }}

{{ __('landing.privacy_policy') }}

{{ __('landing.privacy_last_updated') }} · {{ $privacy->last_updated ? $privacy->last_updated->format('F j, Y') : now()->format('F j, Y') }}

@php $sections = [ ['id' => 'introduction', 'title' => __('landing.privacy_intro_title'), 'content' => $privacy->introduction], ['id' => 'data-collect', 'title' => __('landing.privacy_collect_title'), 'content' => $privacy->data_collection], ['id' => 'data-use', 'title' => __('landing.privacy_use_title'), 'content' => $privacy->data_usage], ['id' => 'cookies', 'title' => __('landing.privacy_cookies_title'), 'content' => $privacy->cookies_usage], ['id' => 'third-party', 'title' => __('landing.privacy_third_party_title'), 'content' => $privacy->third_party], ['id' => 'protection', 'title' => __('landing.privacy_protection_title'), 'content' => $privacy->data_protection], ['id' => 'rights', 'title' => __('landing.privacy_rights_title'), 'content' => $privacy->user_rights], ['id' => 'contact', 'title' => __('landing.privacy_contact_title'), 'content' => $privacy->contact_info], ]; $activeSections = array_filter($sections, fn($s) => !empty($s['content'])); @endphp
@foreach($activeSections as $section)

{{ $section['title'] }}

{!! nl2br(e($section['content'])) !!}
@if($section['id'] === 'contact' && $footer)
@if($footer->contact_email) {{ $footer->contact_email }} @endif @if($footer->contact_phone) {{ $footer->contact_phone }} @endif @if($footer->address) {{ $footer->address }} @endif
@endif
@endforeach