@props(['user']) @php $completion = $user->profileCompletion(); $total = 10; $done = $total - count($completion['missing']); $circumference = 2 * M_PI * 34; @endphp @if ($completion['percent'] < 100)
merge(['class' => 'relative isolate overflow-hidden rounded-2xl bg-white shadow-raised']) }}>
{{ $completion['percent'] }}%

{{ __('Your profile is :percent% complete', ['percent' => $completion['percent']]) }}

{{ __(':done of :total details added. Add the rest so your team can reach you.', ['done' => $done, 'total' => $total]) }}

{{ __('Complete profile') }}
@endif