@if($profile->photo)@endif @php $nameParts = preg_split('/\s+/', trim($profile->name)); $topLines = preg_split('/\r\n|\n/', (string) $profile->top_label); $initial = mb_strtoupper(mb_substr($profile->name, 0, 1)); @endphp
{{-- ================= HERO ================= --}}
@foreach($topLines as $i => $line) {{ $line }} @endforeach
@if($profile->availability)
{{ $profile->availability }} ✦
@endif
@if($profile->photo) Foto {{ $profile->name }} @else {{-- Siluet pengganti sampai foto diunggah dari Control Panel --}} @endif

{{ $profile->greeting }}

@foreach($nameParts as $part){{ $part }}@endforeach

@if($profile->headline)

{{ $profile->headline }}

@endif @if($profile->bio)

{{ $profile->bio }}

@endif @if($profile->location_note)

@include('partials.icon', ['name' => 'globe', 'size' => 16]) {{ $profile->location_note }}

@endif @if($profile->show_cv_download) Download CV @endif
@if($profile->hero_caption)
✦

{{ $profile->hero_caption }}

@endif @if(count($profile->stats()))
    @foreach($profile->stats() as $stat)
  • {{ $stat['value'] }}{!! nl2br(e($stat['label'])) !!}
  • @endforeach
@endif
{{-- ================= PROYEK ================= --}} @if($projects->count())

Proyek Pilihan

@if($projects->count() > 3) @endif
@foreach($projects as $i => $project) @php $tag = $project->url ? 'a' : 'div'; @endphp <{{ $tag }} @if($project->url) href="{{ $project->url }}" target="_blank" rel="noopener" @endif class="project reveal {{ $i >= 3 ? 'is-extra' : '' }}">
@if($project->image) {{ $project->title }} @else
{{ \Illuminate\Support\Str::upper(\Illuminate\Support\Str::limit($project->title, 14, '')) }}

{{ $project->title }}

{{ $project->category }}

@if($project->tech)
@foreach(array_slice(array_map('trim', explode(',', $project->tech)), 0, 3) as $t){{ $t }}@endforeach
@endif
{{ \Illuminate\Support\Str::upper(mb_substr($project->title, 0, 1)) }}
@endif
{{ str_pad($i + 1, 2, '0', STR_PAD_LEFT) }}

{{ $project->title }}

{{ $project->category }}

@include('partials.icon', ['name' => 'arrow', 'size' => 24])
@if($project->description)

{{ $project->description }}

@endif @endforeach
@endif {{-- ================= PENDIDIKAN, SKILL, ALUR KERJA, KUTIPAN ================= --}}

Pendidikan & Skill

@if($educations->count())

Pendidikan

    @foreach($educations as $edu)
  • {{ $edu->degree }} {{ $edu->institution }} @if($edu->description){{ $edu->description }}@endif
    {{ $edu->period }}
  • @endforeach
@endif @if($skills->count())

Skill

@foreach($skills as $skill){{ $skill->name }}@endforeach
@endif

Alur Kerja

    @foreach($processes as $i => $step)
  1. {{ str_pad($i + 1, 2, '0', STR_PAD_LEFT) }} @include('partials.icon', ['name' => $step->icon, 'size' => 20])
    {{ $step->title }}

    {{ $step->description }}

  2. @endforeach
{{-- ================= ORGANISASI & PENCAPAIAN ================= --}} @if($organizations->count() || $achievements->count())
@if($organizations->count())

Pengalaman Organisasi

    @foreach($organizations as $org)
  • {{ $org->role }}{{ $org->period }}
    {{ $org->organization }} @if($org->description)

    {{ $org->description }}

    @endif
  • @endforeach
@endif @if($achievements->count())

Pencapaian

    @foreach($achievements as $ach)
  • {{ $ach->title }}{{ $ach->year }}
    @if($ach->issuer){{ $ach->issuer }}@endif @if($ach->description)

    {{ $ach->description }}

    @endif
  • @endforeach
@endif
@endif {{-- ================= KONTAK ================= --}}
@php $ct = preg_split('/\s+/', trim($profile->contact_title ?: 'Hubungi Saya')); $ctLast = count($ct) > 1 ? array_pop($ct) : null; @endphp

{{ implode(' ', $ct) }}@if($ctLast)
{{ $ctLast }}@endif ✦

{{ $profile->contact_text }}

@if($profile->show_cv_download) Download CV (PDF) @endif
{{-- Dialog form kontak --}} any()) data-open @endif>
@csrf

Kirim Pesan

@if($errors->any())

{{ $errors->first() }}

@endif
@if(session('sent'))
{{ session('sent') }}
@endif