@extends('layouts.instructor') @section('breadcrumb')

{{ __('Profile') }}

@endsection @section('content')
@csrf
{{ __('Personal Info') }}
@if (isset(auth()->user()->image)) img @else img @endif

{{ auth()->user()->name }}

{{ __('Phone') }}: {{ auth()->user()->phone_number }}
{{ __('Email') }}: {{ auth()->user()->email }}

@if ($errors->has('image')) {{ $errors->first('image') }} @endif
@if ($errors->has('first_name')) {{ $errors->first('first_name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
{{--
@if ($errors->has('professional_title')) {{ $errors->first('professional_title') }} @endif
--}}
@if ($errors->has('phone_number')) {{ $errors->first('phone_number') }} @endif
@if (auth()->user()->image) img @else @endif

{{ __('Image') }}

{{ __('Accepted Image Files') }}: JPEG, JPG, PNG

@if ($errors->has('address')) {{ $errors->first('address') }} @endif
{{--
@if ($errors->has('state_id')) {{ $errors->first('state_id') }} @endif
@if ($errors->has('city_id')) {{ $errors->first('city_id') }} @endif
@if ($errors->has('postal_code')) {{ $errors->first('postal_code') }} @endif
--}} {{--
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
--}}
{{--
@if ($errors->has('gender')) {{ $errors->first('gender') }} @endif
--}} {{--
{{__('Social Links')}}
@php $social_link = json_decode($instructor->social_link); @endphp
{{__('Certifications')}}
@if ($instructor->certificates) @foreach ($instructor->certificates as $certificate)
@endforeach @else
@endif
{{__('Awards')}}
@if ($instructor->awards) @foreach ($instructor->awards as $award)
@endforeach @else
@endif
--}}
@endsection @push('style') @endpush @push('script') @endpush