@extends('layouts.index') @section('title') Pengaturan Akun @endsection @section('css') @endsection @section('content')

Account Setting

@php $path=isset(Auth::user()->pegawai) ? asset(Auth::user()->pegawai->foto) : 'https://images.unsplash.com/photo-1511367461989-f85a21fda167?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1631&q=80'; if (Storage::exists(Auth::user()->photos)) { $path = Storage::url(Auth::user()->photos); } @endphp

{{ ucwords(Auth::user()->name) }}


Name
{{ Auth::user()->name }}
Email
{{ Auth::user()->email }}
@csrf @method('PUT')
@error('edit_name')
{{ $message }}
@enderror
@error('edit_email')
{{ $message }}
@enderror
@endsection @section('js') @endsection