@extends('layouts.portal') @php $isStudent = $user->isStudent(); $isTrainer = $user->isTrainer(); $isEmployer = $user->isEmployer(); $hasResume = $user->resume_path && \Illuminate\Support\Facades\Storage::disk('local')->exists($user->resume_path); $checks = [$user->phone, $user->headline, $user->location, $user->bio, $user->avatar_path, $user->linkedin_url]; if ($isStudent) { $checks[] = $hasResume; } $done = collect($checks)->filter()->count(); $pct = (int) round($done / count($checks) * 100); @endphp @section('title', 'Profile and account') @section('subtitle', $isStudent ? 'Keep your profile and CV current. Employers on the career portal see the details you choose to share.' : ($isTrainer ? 'Your details appear on your public trainer page.' : 'Your account details and password.')) @section('content')