@extends('layouts.portal')
@php
$u = auth()->user();
$pub = route('portfolio.show', $p->slug);
$creds = $p->user->credentials->where('revoked_at', null);
$badges = $p->user->badges->where('status', 'issued');
$typeIcon = ['project' => 'git-branch', 'certification' => 'award', 'link' => 'link'];
$showing = $creds->where('visibility', 'public')->count() + $badges->where('visibility', 'public')->count();
@endphp
@section('title', 'My portfolio')
@section('subtitle', 'A public, recruiter-friendly page with your verified credentials and the work you choose to show.')
@section('actions')