@extends('layouts.account') @section('title', __('Profile')) @section('account') @php $u = auth()->user(); $avatar = $u->avatar_url ?? null; $initial = mb_strtoupper(mb_substr((string) $u->name, 0, 1)); @endphp

{{ __('Profile') }}

@csrf @method('PATCH')
{{-- ... : more options (only when there is a photo), top-right of the card --}}
{{-- Profile photo: camera = choose a new photo, ... = more options (view / remove) --}}
{{-- Camera: opens the file chooser --}}

{{ __('Profile photo') }}

{{ __('JPG, PNG or WebP, up to 2 MB. Press Save changes to apply.') }}

@error('avatar')@enderror
{{ __('Save changes') }} {{-- Bigger view of the photo --}}
@push('scripts') @endpush @endsection