@extends('layouts.app') @php $fmt = fn ($n) => number_format($n, 0, ',', '.'); $sum = collect($series)->sum('total'); $upcoming = collect($series)->sum('upcoming'); $desc = 'Jelajahi '.count($series).' training series Value Consult Training dengan '.$fmt($sum).' topik pelatihan: HR, managerial, finance, operation, IT, legal, HSE, dan lainnya. Tersedia online, inclass, dan in-house.'; $heroImg = file_exists(public_path('images/assets/'.$hero)) ? asset('images/assets/'.$hero) : null; $stats = array_filter([ ['grid-1x2-fill', count($series), 'Training series'], ['journal-bookmark-fill', $sum, 'Topik pelatihan'], $upcoming ? ['calendar-check-fill', $upcoming, 'Jadwal mendatang'] : null, ]); // pintasan: series dengan topik terbanyak $popular = collect($series)->sortByDesc('total')->take(4); @endphp @section('title', 'Training Series: '.count($series).' Kategori Pelatihan Profesional | Value Consult Training') @section('description', $desc) @if ($heroImg)@section('og_image', $heroImg)@endif @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' => 'Training Series', 'item' => route('series.index')], ]], ['@type' => 'CollectionPage', '@id' => route('series.index'), 'name' => 'Training Series', 'description' => $desc, 'url' => route('series.index'), 'inLanguage' => 'id-ID', 'isPartOf' => ['@id' => url('/').'#website'], 'publisher' => ['@id' => url('/').'#organization'], 'mainEntity' => ['@type' => 'ItemList', 'numberOfItems' => count($series), 'itemListElement' => collect($series)->values() ->map(fn ($s, $i) => ['@type' => 'ListItem', 'position' => $i + 1, 'name' => $s['name'], 'url' => route('series.show', $s['slug'])])->all()]], ]]; @endphp @endpush @section('content') {{-- HERO --}}
@if ($heroImg)Pelatihan profesional Value Consult Training@endif
Program Pelatihan Profesional

Training Series

{{ count($series) }} series dengan {{ $fmt($sum) }} topik pelatihan profesional dari Value Consult Training, tersedia online, inclass, dan in-house training.

@foreach ($stats as [$icon, $value, $text])
{{ $text }}
{{ $fmt($value) }}
@endforeach
{{-- PENCARIAN & URUTAN --}}
Topik terbanyak: @foreach ($popular as $p){{ $p['name'] }}@endforeach

Daftar Training Series

@include('partials.inquiry') @endsection