{{-- |-------------------------------------------------------------------------- | user-profile is common Component (Can be shown in any screen) |-------------------------------------------------------------------------- | you can show this component in any screen by referring to the following | snippet: |----------- | | @component('components.user-profile', [])| | @endcomponent | |-------------------------------------------------------------------------- | NOTE: This component requires | 1. resources\assets\js\blade-components\user_profile.js |-------------------------------------------------------------------------- --}}
@if (Auth::guard('web')->check())

User Profile

{{ csrf_field() }}
{{ Auth::user()->email }}
{{ Auth::user()->name }}
{{ Auth::user()->email }}
{{ Auth::user()->country_name }}
{{ Auth::user()->phone }}
@else @endif