{{-- resources/views/pdf/cv-template.blade.php Renderizado pelo DomPDF via PdfController@gerarExemplo Variáveis disponíveis: $template, $name, $jobTitle, $email, $phone, $location, $linkedin, $summary, $experiences[], $education[], $hardSkills, $softSkills, $languages, $certifications --}} CV – {{ $name }} a {{-- ════════════════════════════════════════════════════════════ CLÁSSICO ════════════════════════════════════════════════════════════ --}} @if ($template === 'classic')
{{ $name }}
{{ $jobTitle }}
@if ($email) ✉ {{ $email }} @endif @if ($phone) ✆ {{ $phone }} @endif @if ($location) ⌖ {{ $location }} @endif @if ($linkedin) in {{ $linkedin }} @endif
{{-- Sidebar --}}
@if ($hardSkills)
Competências Técnicas
@foreach (array_filter(array_map('trim', explode(',', $hardSkills))) as $skill)
• {{ $skill }}
@endforeach
@endif @if ($softSkills)
Soft Skills
@foreach (array_filter(array_map('trim', explode(',', $softSkills))) as $skill)
• {{ $skill }}
@endforeach
@endif @if ($languages)
Idiomas
@foreach (array_filter(array_map('trim', explode(',', $languages))) as $lang)
• {{ $lang }}
@endforeach
@endif @if ($certifications)
Certificações
@foreach (array_filter(array_map('trim', explode(',', $certifications))) as $cert)
• {{ $cert }}
@endforeach @endif
{{-- Main --}}
@if ($summary)
Perfil Profissional

{{ $summary }}

@endif @if (! empty($experiences))
Experiência Profissional
@foreach ($experiences as $exp) @if (! empty($exp['company']))
{{ $exp['role'] ?? '' }}
{{ $exp['company'] ?? '' }} @if (! empty($exp['start']))  ·  {{ $exp['start'] }} – {{ ! empty($exp['end']) ? $exp['end'] : 'Atual' }} @endif
@if (! empty($exp['description']))
{{ $exp['description'] }}
@endif
@endif @endforeach @endif @if (! empty($education))
Formação Académica
@foreach ($education as $edu) @if (! empty($edu['institution']))
{{ $edu['degree'] ?? '' }}
{{ $edu['institution'] }}  ·  {{ $edu['start'] ?? '' }} – {{ $edu['end'] ?? '' }}
@endif @endforeach @endif
@endif {{-- ════════════════════════════════════════════════════════════ MODERNO ════════════════════════════════════════════════════════════ --}} @if ($template === 'modern')
{{ $name }}
{{ $jobTitle }}
@if ($email) {{ $email }} @endif @if ($phone) {{ $phone }} @endif @if ($location) {{ $location }} @endif @if ($linkedin) {{ $linkedin }} @endif

@if ($summary)
Sobre Mim

{{ $summary }}


@endif @if (! empty($experiences))
Experiência
@foreach ($experiences as $exp) @if (! empty($exp['company']))
{{ $exp['role'] ?? '' }}
{{ $exp['company'] }}  |  {{ $exp['start'] ?? '' }} – {{ ! empty($exp['end']) ? $exp['end'] : 'Atual' }}
@if (! empty($exp['description']))
{{ $exp['description'] }}
@endif
@endif @endforeach
@endif @if (! empty($education))
Formação
@foreach ($education as $edu) @if (! empty($edu['institution']))
{{ $edu['degree'] ?? '' }}
{{ $edu['institution'] }}  |  {{ $edu['start'] ?? '' }}–{{ $edu['end'] ?? '' }}
@endif @endforeach
@endif @if ($hardSkills) @endif @if ($languages) @endif
Competências
@foreach (array_filter(array_map('trim', explode(',', $hardSkills))) as $s)
▸ {{ $s }}
@endforeach
Idiomas
@foreach (array_filter(array_map('trim', explode(',', $languages))) as $l)
▸ {{ $l }}
@endforeach
@endif {{-- ════════════════════════════════════════════════════════════ MINIMALISTA ════════════════════════════════════════════════════════════ --}} @if ($template === 'minimal')
{{ $name }}
{{ $jobTitle }}
@if ($email) {{ $email }} @endif @if ($phone) {{ $phone }} @endif @if ($location) {{ $location }} @endif @if ($linkedin) {{ $linkedin }} @endif
@if ($summary)
Perfil

{{ $summary }}

@endif @if (! empty($experiences))
Experiência Profissional
@foreach ($experiences as $exp) @if (! empty($exp['company']))
{{ $exp['role'] ?? '' }}  ·  {{ $exp['company'] }}
{{ $exp['start'] ?? '' }} – {{ ! empty($exp['end']) ? $exp['end'] : 'Atual' }}
@if (! empty($exp['description']))
{{ $exp['description'] }}
@endif
@endif @endforeach @endif @if (! empty($education))
Formação
@foreach ($education as $edu) @if (! empty($edu['institution']))
{{ $edu['degree'] ?? '' }}
{{ $edu['institution'] }}  ·  {{ $edu['start'] ?? '' }}–{{ $edu['end'] ?? '' }}
@endif @endforeach @endif @if ($hardSkills || $languages) @if ($hardSkills) @endif @if ($languages) @endif
Competências
{{ $hardSkills }}
Idiomas
{{ $languages }}
@endif
@endif {{-- ════════════════════════════════════════════════════════════ CRIATIVO ════════════════════════════════════════════════════════════ --}} @if ($template === 'creative')
{{ $name }}
{{ $jobTitle }}
@if ($email || $phone || $location)
Contacto
@if ($email)
{{ $email }}
@endif @if ($phone)
{{ $phone }}
@endif @if ($location)
{{ $location }}
@endif @if ($linkedin)
{{ $linkedin }}
@endif
@endif @if ($hardSkills)
Competências
@foreach (array_filter(array_map('trim', explode(',', $hardSkills))) as $s)
• {{ $s }}
@endforeach
@endif @if ($languages)
Idiomas
@foreach (array_filter(array_map('trim', explode(',', $languages))) as $l)
• {{ $l }}
@endforeach
@endif @if ($certifications)
Certificações
@foreach (array_filter(array_map('trim', explode(',', $certifications))) as $c)
• {{ $c }}
@endforeach @endif
@if ($summary)
Sobre Mim

{{ $summary }}

@endif @if (! empty($experiences))
Experiência Profissional
@foreach ($experiences as $exp) @if (! empty($exp['company']))
{{ $exp['role'] ?? '' }}
{{ $exp['company'] }}  ·  {{ $exp['start'] ?? '' }} – {{ ! empty($exp['end']) ? $exp['end'] : 'Atual' }}
@if (! empty($exp['description']))
{{ $exp['description'] }}
@endif
@endif @endforeach @endif @if (! empty($education))
Formação
@foreach ($education as $edu) @if (! empty($edu['institution']))
{{ $edu['degree'] ?? '' }}
{{ $edu['institution'] }}  ·  {{ $edu['start'] ?? '' }}–{{ $edu['end'] ?? '' }}
@endif @endforeach @endif
@endif {{-- ════════════════════════════════════════════════════════════ EXECUTIVO ════════════════════════════════════════════════════════════ --}} @if ($template === 'executive')
{{ $name }}
{{ $jobTitle }}
@if ($email) {{ $email }} @endif @if ($phone) {{ $phone }} @endif @if ($location) {{ $location }} @endif @if ($linkedin) {{ $linkedin }} @endif
@if ($hardSkills)
Competências
@foreach (array_filter(array_map('trim', explode(',', $hardSkills))) as $s)
• {{ $s }}
@endforeach
@endif @if ($softSkills)
Liderança
@foreach (array_filter(array_map('trim', explode(',', $softSkills))) as $s)
• {{ $s }}
@endforeach
@endif @if ($languages)
Idiomas
@foreach (array_filter(array_map('trim', explode(',', $languages))) as $l)
• {{ $l }}
@endforeach @endif
@if ($summary)
Sumário Executivo

{{ $summary }}

@endif @if (! empty($experiences))
Historial Profissional
@foreach ($experiences as $exp) @if (! empty($exp['company']))
{{ $exp['role'] ?? '' }}
{{ $exp['company'] }}  |  {{ $exp['start'] ?? '' }} – {{ ! empty($exp['end']) ? $exp['end'] : 'Atual' }}
@if (! empty($exp['description']))
{{ $exp['description'] }}
@endif
@endif @endforeach @endif @if (! empty($education))
Formação Académica
@foreach ($education as $edu) @if (! empty($edu['institution']))
{{ $edu['degree'] ?? '' }}
{{ $edu['institution'] }}  |  {{ $edu['start'] ?? '' }}–{{ $edu['end'] ?? '' }}
@endif @endforeach @endif
@endif {{-- ════════════════════════════════════════════════════════════ ATS OPTIMIZADO ════════════════════════════════════════════════════════════ --}} @if ($template === 'ats')
{{ $name }}
{{ $jobTitle }}
@if ($email) {{ $email }} @endif @if ($phone) {{ $phone }} @endif @if ($location) {{ $location }} @endif @if ($linkedin) {{ $linkedin }} @endif

@if ($summary)
RESUMO PROFISSIONAL

{{ $summary }}


@endif @if (! empty($experiences))
EXPERIÊNCIA PROFISSIONAL
@foreach ($experiences as $exp) @if (! empty($exp['company']))
{{ $exp['role'] ?? '' }} — {{ $exp['company'] ?? '' }}
{{ $exp['start'] ?? '' }} – {{ ! empty($exp['end']) ? $exp['end'] : 'Atual' }}
@if (! empty($exp['description']))
{{ $exp['description'] }}
@endif
@endif @endforeach
@endif @if (! empty($education))
FORMAÇÃO ACADÉMICA
@foreach ($education as $edu) @if (! empty($edu['institution']))
{{ $edu['degree'] ?? '' }}
{{ $edu['institution'] }}  |  {{ $edu['start'] ?? '' }}–{{ $edu['end'] ?? '' }}
@endif @endforeach
@endif @if ($hardSkills || $softSkills || $languages || $certifications)
COMPETÊNCIAS
@if ($hardSkills)

Técnicas: {{ $hardSkills }}

@endif @if ($softSkills)

Pessoais: {{ $softSkills }}

@endif @if ($languages)

Idiomas: {{ $languages }}

@endif @if ($certifications)

Certificações: {{ $certifications }}

@endif @endif
@endif