{{-- 「使用 Google 登入」按鈕(Google Identity Services)。沒設定 GOOGLE_WEB_CLIENT_ID 時整段不輸出。 用法:@include('partials.google-signin', ['action' => route(...), 'divider' => true]) --}} @php $google = app(\App\Services\GoogleWebSignIn::class); @endphp @if($google->enabled()) @if($divider ?? true)
或
@endif
@endif