<?php

namespace App\Livewire;

use App\Services\PreferencesStore;
use Livewire\Attributes\Layout;
use Livewire\Component;

#[Layout('layouts.marketing')]
class LandingIndex extends Component
{
    public function mount(): void
    {
        PreferencesStore::markLandingSeen();
    }

    public function render()
    {
        return view('livewire.landing-index')
            ->title((string) __('budgets.landing.document_title'));
    }
}
