@extends('views.layouts.master')
<link rel="stylesheet" href="{{ csset('/themes/kbgolf/pro/resources/css/user-auth.css') }}">
@section('content')

<!--=====================================
                    USER FORM PART START
        =======================================-->
        <section class="user-form-part login">
            <div class="container">
                <div class="row justify-content-center">
                    <div class="col-12 col-sm-10 col-md-12 col-lg-12 col-xl-5">
                        <!--
						<div class="user-form-logo">
                            <a href="index.html"><img src="images/logo.png" alt="logo"></a>
                        </div>
						-->
                        <div class="user-form-card">
                            <div class="user-form-title">
                                <h2>로그인</h2>
                                <p>구글 로그인해 주세요.</p>
                            </div>

                            <div class="user-form-group login_sns d-flex align-items-center justify-content-center">
                                @foreach ($oauth2InfoList as $provider => $oauth2)
                                    <button type="button" class="login_naver"
                                            onclick="window.location.href = '{{ route('social.redirectToProvider', [ 'oauth2Info' => $oauth2, 'provider' => $provider, 'target' => 'member' ]) }}'">
                                        <img src="{{ asset('themes/pro/kakemall/resources/images/login_' . $provider . '.svg') }}">
                                        {{ $oauth2['LoginButtonString'] }}
                                    </button>
                                @endforeach
                            </div>
                        </div>
                        <!--
						<div class="user-form-footer">
                            <p>Greeny | &COPY; Copyright by <a href="#">Mironcoder</a></p>
                        </div>
						-->
                    </div>
                </div>
            </div>
        </section>
        <!--=====================================
                    USER FORM PART END
        =======================================-->
@endsection
