<x-layouts.app title="Contacts">
    @php
        $user = auth()->user();
        $tenant = $user->tenant;

        $contactsData = [
            'companyName' => $tenant->company_name,
            'contactsEndpoint' => url('/api/contacts'),
        ];
    @endphp

    <div id="contacts-app" data-contacts='@json($contactsData)'></div>
</x-layouts.app>
