{{-- Shared social sign-in buttons for the login & register pages. Renders a button per enabled provider (Google / Facebook) and the "or with email" divider. Renders nothing when no provider is enabled, so the email form simply sits at the top. Each button is a plain link to the OAuth redirect route — the actual consent + callback is handled by SocialAuthController. @param bool $compact Tighter padding/sizing for the denser register page. --}} @php /** @var \App\Services\SocialAuthService $__social */ $__social = app(\App\Services\SocialAuthService::class); $__providers = array_values( array_filter(\App\Services\SocialAuthService::PROVIDERS, fn($p) => $__social->enabled($p)), ); $__compact = $compact ?? false; $__pad = $__compact ? 'px-3 py-2 text-[12.5px]' : 'px-3 py-2.5 text-[13px]'; $__icon = $__compact ? 'w-3.5 h-3.5' : 'w-4 h-4'; @endphp @if (count($__providers))