@php $config = [ 'name' => 'consultant-2', 'scheme' => [ 'primary' => '#0891b2', 'secondary' => '#6b7280', 'background' => '#ffffff', 'text' => '#1f2937', 'card' => '#f9fafb', 'accent' => '#06b6d4', ], 'fonts' => [ 'heading' => 'Poppins', 'body' => 'Source Sans Pro', ], ]; $data = $portfolio->data ?? []; $sections = $portfolio->sections?->where('is_visible', true)->sortBy('order') ?? collect(); $hero = $sections->firstWhere('block_type', 'hero')?->content ?? []; $about = $sections->firstWhere('block_type', 'about')?->content ?? []; $experience = $sections->firstWhere('block_type', 'experience')?->content ?? []; $skills = $sections->firstWhere('block_type', 'skills')?->content ?? []; $services = $sections->firstWhere('block_type', 'services')?->content ?? []; $contact = $sections->firstWhere('block_type', 'contact')?->content ?? []; $projects = $sections->firstWhere('block_type', 'projects')?->content ?? []; @endphp
{{ $hero['headline'] ?? 'Professional Portfolio' }}
{{ $about['bio'] }}
{{ $exp['company'] ?? '' }}
{{ $exp['duration'] ?? '' }}
{{ $exp['description'] ?? '' }}
{{ $project['description'] ?? '' }}
@if(!empty($project['url'])) View Project @endif{{ $service['description'] ?? '' }}
Email: {{ $contact['email'] }}
@endif @if(!empty($contact['phone']))Phone: {{ $contact['phone'] }}
@endif @if(!empty($contact['website']))Website: {{ $contact['website'] }}
@endif