<?php

namespace App\Livewire;

use Livewire\Component;
use App\Models\Setting;

class Privacy extends Component
{
    public function render()
    {
        $settings = Setting::instance();

        return view('livewire.privacy', [
            'congregazione' => $settings->congregazione_nome ?? 'Congregazione',
            'auditRetention' => $settings->audit_retention_days ?? 365,
        ]);
    }
}
