@extends('layouts.app') @php $fmt = fn ($n) => number_format($n, 0, ',', '.'); $label = $group['label']; $pageUrl = route('certification.show', $group['slug']); $base = request()->getBaseUrl(); $hero = asset('images/assets/'.$group['hero']); $desc = \Illuminate\Support\Str::limit($group['desc'].' '.$fmt($group['total']).' topik pelatihan dari Value Consult Training.', 160); $inquiryUrl = route('inquiry.create', ['topic' => $label]); $hasOnline = collect($group['topics'])->contains('online', true); $hasInclass = collect($group['topics'])->contains('inclass', true); $faq = [ ["Apa saja topik pada {$label}?", 'Terdapat '.$fmt($group['total']).' topik, antara lain '.collect($group['topics'])->take(4)->pluck('title')->implode('; ').'.'], ['Apa syarat peserta dan siapa penerbit sertifikatnya?', 'Persyaratan peserta, proses ujian, dan penerbit sertifikat berbeda untuk tiap program. Silakan hubungi tim kami untuk informasi program yang Anda minati sebelum mendaftar.'], ['Apakah bisa diselenggarakan secara in-house?', 'Permintaan in-house training dapat diajukan melalui form inquiry. Tim kami akan menindaklanjuti sesuai program yang dibutuhkan.'], ]; @endphp @section('title', "{$label} | Value Consult Training") @section('description', $desc) @section('og_image', $hero) @push('head') @php $graph = ['@context' => 'https://schema.org', '@graph' => [ ['@type' => 'BreadcrumbList', 'itemListElement' => [ ['@type' => 'ListItem', 'position' => 1, 'name' => 'Beranda', 'item' => url('/')], ['@type' => 'ListItem', 'position' => 2, 'name' => 'Certification', 'item' => route('certification.index')], ['@type' => 'ListItem', 'position' => 3, 'name' => $label, 'item' => $pageUrl], ]], ['@type' => 'CollectionPage', '@id' => $pageUrl, 'name' => $label, 'description' => $desc, 'url' => $pageUrl, 'inLanguage' => 'id-ID', 'isPartOf' => ['@id' => url('/').'#website'], 'publisher' => ['@id' => url('/').'#organization'], 'mainEntity' => ['@type' => 'ItemList', 'numberOfItems' => $group['total'], 'itemListElement' => collect($group['topics'])->take(50)->values() ->map(fn ($t, $i) => ['@type' => 'ListItem', 'position' => $i + 1, 'name' => $t['title'], 'url' => url($t['href'])])->all()]], ['@type' => 'FAQPage', 'mainEntity' => collect($faq)->map(fn ($f) => ['@type' => 'Question', 'name' => $f[0], 'acceptedAnswer' => ['@type' => 'Answer', 'text' => $f[1]]])->all()], ]]; @endphp @endpush @section('content') {{-- HERO --}}
Pelatihan {{ $label }}
Certification

{{ $label }}

{{ $group['desc'] }}

{{-- TAB: jadwal, topik, pertanyaan umum --}}
@foreach ([ ['jadwal', 'calendar-event-fill', 'Jadwal Terdekat', $schedule ? count($schedule).' jadwal' : 'Jadwal & request'], ['topik', 'grid-fill', 'Daftar Topik', $fmt($group['total']).' topik'], ['faq', 'question-circle-fill', 'Pertanyaan Umum', count($faq).' pertanyaan'], ] as [$id, $icon, $tabTitle, $sub]) @endforeach
{{-- JADWAL TERDEKAT --}}

Jadwal Terdekat

Jadwal dapat berubah. Tanda Confirm Running menunjukkan kelas yang sudah dipastikan berjalan.

@if ($schedule)
    @foreach ($schedule as $r)
  • index >= 6) data-extra hidden @endif> {{ $r['date'] }} @if (!empty($r['href'])){{ $r['title'] }} @else{{ $r['title'] }}@endif @if ($r['run']) Confirm Running@endif {{ $r['online'] ? 'Online' : ($r['city'] ?: 'Inclass') }} ยท {{ $r['days'] }} hari @include('partials.event-cta', ['links' => $r['links']])
  • @endforeach
@if (count($schedule) > 6)@endif @else

Belum ada jadwal terbuka untuk kategori ini. Ajukan jadwal atau in-house training.

@endif
{{-- DAFTAR TOPIK --}}
@if ($others)

Sertifikasi Lainnya

@foreach ($others as $o){{ $o['label'] }}@endforeach
@endif
@include('partials.inquiry') @endsection