<div class="row h-100">
        <div class="card profile-info">
            <div class="card-body">
                @php($profile_image = auth()->user()->profile_image)
                <div class="d-flex flex-column justify-content-center align-items-center profile-content">
                    <div class="profile-img d-flex justify-content-center align-items-center mb-3">
                        <img src="@if($profile_image == null) {{asset("img/avatar.png") }}  @else {{ asset("storage/$profile_image") }} @endif" id="image_preview_container" alt="profile_image">
                    </div>
                    <div class="d-flex flex-column justify-content-center align-items-center text-center">
                        <h5 class="mb-0">{{$name}}</h5>
                        <p class="text-muted mb-0" >{{$about}}</p>
                        <hr style="height: 1px; color:#a8a8a8; width: 100%">
                        <div class="form-group mb-2 text-center">
                            <label>@lang("Электронная почта")</label>
                            <p class="text-muted m-0">{{$user->email}} @if(is_null($user->email_verified_at)) <a href="#" class="btn btn-outline-primary">@lang("Подтвердить")</a> @endif</p>
                        </div>
                        <div class="form-group mb-2 text-center">
                            <label>@lang("Телефон")</label>
                            <p class="text-muted m-0">{{$user->phone}} @if(is_null($user->phone_verified_at)) <a href="#" class="btn btn-outline-primary">@lang("Подтвердить")</a> @endif</p>
                        </div>
                        <a href="{{lurl('app/user.profile/edit')."?pk=".$user->id}}" class="btn btn-light">@lang("Редактировать")</a>
                    </div>
                </div>
            </div>
        </div>
</div>

