<x-layouts.app title="Admin Dashboard">
    @php
        $adminDashboardData = [
            'endpoint' => url('/api/admin/dashboard'),
            'settingsEndpoint' => url('/api/admin/settings'),
            'settingsTestEndpoint' => url('/api/admin/settings/test'),
            'csrfToken' => csrf_token(),
        ];
    @endphp

    <div id="admin-dashboard-app" data-admin-dashboard='@json($adminDashboardData)'></div>
</x-layouts.app>
